M
MercyNews
Home
Back
Pipenet: A Modern Open-Source Alternative to Localtunnel
Technology

Pipenet: A Modern Open-Source Alternative to Localtunnel

Hacker News3h ago
3 min read
📋

Key Facts

  • ✓ Pipenet is a new open-source tunneling tool written in TypeScript that serves as a modern alternative to localtunnel.
  • ✓ The tool solves a critical port allocation issue where localtunnel requires random ports per client, which fails on platforms like Fly.io or behind strict firewalls.
  • ✓ Pipenet features multiplexing over a single port, allowing it to function in restrictive network environments that block arbitrary port access.
  • ✓ The project is fully self-hostable and also offers a public instance at *.pipenet.dev for developers who prefer not to manage their own server.
  • ✓ Originally built at Glama to support their MCP Inspector, Pipenet is a generic tunneling solution with no dependencies on its creator's infrastructure.
  • ✓ The software is available as open-source on GitHub under the punkpeye organization, allowing for community contributions and customization.

In This Article

  1. Quick Summary
  2. The Port Allocation Problem
  3. A TypeScript Solution
  4. Deployment Flexibility
  5. Availability & Access
  6. Looking Ahead

Quick Summary#

A new open-source tunneling solution has emerged to address specific compatibility issues with modern deployment platforms. The tool, named Pipenet, was developed as a TypeScript rewrite of existing tunneling software to overcome port allocation limitations.

Traditional tunneling tools often require random ports per client, a requirement that conflicts with the architecture of platforms like Fly.io and networks with strict firewall policies. Pipenet solves this by implementing multiplexing over a single port, ensuring functionality across diverse hosting environments.

While originally built to support the MCP Inspector at Glama, the project is a generic tunneling solution with no dependencies on its creator's infrastructure. It offers developers full control through self-hosting or the convenience of a public instance.

The Port Allocation Problem#

Many developers rely on tunneling services to expose local development servers to the public internet for testing and sharing. However, a fundamental architectural choice in some popular tools creates significant barriers in modern cloud environments.

The core issue lies in how the server handles client connections. Localtunnel, a widely used tool, requires its server to allocate a random port for each connecting client. While this works in open network environments, it becomes problematic when deployed on platforms with restricted networking capabilities.

Platforms like Fly.io and networks behind strict firewalls often do not support arbitrary port allocation. This limitation prevents the tunneling server from functioning correctly, blocking developers from using these essential tools in their preferred hosting environments.

The constraints created by this port requirement led to the search for a more flexible alternative that could operate within the networking boundaries of contemporary cloud infrastructure.

A TypeScript Solution#

To address these networking challenges, the development team at Glama created Pipenet from the ground up. The project was rewritten in TypeScript, bringing modern language features and type safety to the tunneling infrastructure.

The defining technical feature of Pipenet is its ability to perform multiplexing over a single port. Instead of requiring a range of random ports for different clients, all connections are funneled through one port. This approach maintains full functionality while remaining compatible with restrictive network configurations.

Key architectural decisions include:

  • Single-port multiplexing for all client connections
  • TypeScript implementation for robust codebase
  • Generic design with no vendor lock-in
  • Open-source availability under a permissive license

Despite its origin as a tool to support the MCP Inspector, Pipenet was designed as a standalone, generic tunneling solution. It operates independently of Glama's infrastructure, making it suitable for any development workflow.

Deployment Flexibility#

Pipenet offers two distinct deployment paths to accommodate different user needs and technical requirements. The first option is self-hosting, which provides complete control over the tunneling infrastructure.

For developers who prefer not to manage their own server, a public instance is available at *.pipenet.dev. This hosted option allows immediate use without setup, though self-hosting remains the recommended path for production environments or those with specific security requirements.

The open-source nature of the project ensures transparency and allows for customization. Developers can inspect the codebase, contribute improvements, or modify the software to fit specialized use cases.

By being fully self-hostable, Pipenet empowers organizations to maintain their own tunneling infrastructure, keeping data and traffic within their controlled environments while avoiding the port allocation limitations of other services.

Availability & Access#

The Pipenet project is publicly available on GitHub, hosted under the punkpeye organization. The repository contains the complete source code, documentation, and setup instructions for both self-hosting and using the public instance.

Developers interested in exploring the codebase or contributing to the project can access it directly through the GitHub repository. The project welcomes community engagement and contributions to enhance its functionality and reach.

For those looking to implement a tunneling solution in their development workflow, Pipenet represents a modern alternative specifically engineered for the constraints of today's cloud hosting platforms.

Looking Ahead#

Pipenet addresses a specific but critical gap in the developer tooling landscape. By solving the port allocation problem that plagues traditional tunneling services on platforms like Fly.io, it enables smoother development workflows in modern cloud environments.

The combination of single-port multiplexing, TypeScript implementation, and open-source availability positions Pipenet as a valuable tool for developers facing strict network policies. Its generic design ensures it can serve a wide range of use cases beyond its original purpose at Glama.

As cloud platforms continue to evolve with stricter networking rules, tools like Pipenet that adapt to these constraints will become increasingly essential for development teams seeking reliable local-to-public tunneling capabilities.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
285
Read Article
Environment

Coal use dropped in China and India in 2025. It rose in USA, hiking energy costs.

Coal experienced a historic decline in China and India, the world’s two most populous countries, in 2025, marking the first time in 52 years that both countries have seen a decline in coal generation at the same time. Meanwhile, the world’s largest historical polluter, the US, ticked up its use of the worst method of power generation, which helped to drive energy costs higher amid an affordability crisis. more…

44m
3 min
0
Read Article
Iran warns protesters who joined ‘riots’ to surrender within three days
Politics

Iran warns protesters who joined ‘riots’ to surrender within three days

National police chief urges young people 'deceived' into participating in unrest to turn themselves in, assures 'leniency' for those who do The post Iran warns protesters who joined ‘riots’ to surrender within three days appeared first on The Times of Israel.

48m
3 min
0
Read Article
Bermuda teams up with Coinbase and Circle, aiming to build a ‘fully onchain’ economy
Cryptocurrency

Bermuda teams up with Coinbase and Circle, aiming to build a ‘fully onchain’ economy

The initiative aims to pilot stablecoin payments across government agencies, expand USDC adoption among local businesses, and more.

56m
3 min
0
Read Article
OpenAI Shifts Focus to 'Practical Adoption' for 2026
Technology

OpenAI Shifts Focus to 'Practical Adoption' for 2026

OpenAI's finance chief Sarah Friar has declared 2026 as the year of 'practical adoption' for the artificial intelligence startup, signaling a strategic pivot toward real-world implementation.

59m
5 min
6
Read Article
Patrick Balkany renvoyé devant le tribunal correctionnel le 20 février pour détournement de fonds publics
Politics

Patrick Balkany renvoyé devant le tribunal correctionnel le 20 février pour détournement de fonds publics

L’audience aura pour but de fixer la date du jugement au fond de cette affaire concernant des faits qui s’étaient déroulés de janvier 2010 à mai 2015, à l’époque où Patrick Balkany était encore maire de Levallois-Perret.

1h
3 min
0
Read Article
Google Pixel 10's Magic Cue Expands to Tasks & Wallet
Technology

Google Pixel 10's Magic Cue Expands to Tasks & Wallet

Months after the Pixel 10's debut, signs point to Google enhancing its Magic Cue feature with deeper integration for Google Tasks and Wallet, potentially transforming the device's contextual assistance capabilities.

1h
5 min
6
Read Article
Samsung's Foldable Display Breakthrough: The Ultra-Thin Glass Solution
Technology

Samsung's Foldable Display Breakthrough: The Ultra-Thin Glass Solution

The display crease has been a sticking point on Samsung’s folding Galaxy phones for years, but the company recently showed off a new tech that seems to fix it. According to a new report, a key part of that is a second layer of ultra-thin glass.

1h
5 min
6
Read Article
Katie Ledecky's Daily Diet: Fueling an Olympic Champion
Sports

Katie Ledecky's Daily Diet: Fueling an Olympic Champion

Olympic gold medallist Katie Ledecky fuels for 4-hour training days with veggie omelets and protein-packed dinners. Her nutrition philosophy is surprisingly relaxed.

1h
5 min
12
Read Article
55 AI Startups Hit $100M+ Funding in 2025
Technology

55 AI Startups Hit $100M+ Funding in 2025

The U.S. artificial intelligence sector experienced a monumental year in 2025, with 55 startups securing funding rounds of $100 million or more, highlighting robust investor confidence and rapid industry expansion.

1h
5 min
12
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home