MCPcopy
hub / github.com/progrium/localtunnel

github.com/progrium/localtunnel @main sqlite

repository ↗ · DeepWiki ↗
3 symbols 8 edges 3 files 0 documented · 0%
README

localtunnel

What happened to localtunnel? After pioneering instant public tunnels to localhost, many people copied the project and started businesses around the idea. Localtunnel fell into obscurity. Today, Alan Shreve's Ngrok rightly dominates mindshare on the idea.

This repo now contains localtunnel v3, a very minimal implementation (under 200 lines) written in Go using my new project Duplex. Duplex lets you make stuff like localtunnel very easily. Although usable, there is no public server and the scope of the project is pretty fixed where it is.

This repo also continues to exist to archive the history of the project. You'll find several interesting branches here:

  • v2 (2011-2013) - Attempt to revitalize the project and service, v2 was written end-to-end in Python gevent and resolved many issues and requests from v1.
  • v1 (mid 2010) - The original implementation that became popular. It worked quite well, but was a dirty hack. It wrapped OpenSSH, with a client in Ruby and a control server in Python Twisted.
  • prototype (early 2010) - When I first had the idea, I tried using Python Twisted to implement the whole system. I didn't have the experience to get stream multiplexing to work, so this version is pretty broken.

Using localtunnel v3

Binary releases have not been set up yet, so you'll need Go to get started:

$ go install github.com/progrium/localtunnel

License

BSD

Core symbols most depended-on inside this repo

server
called by 1
server.go
client
called by 1
client.go
main
called by 0
localtunnel.go

Shape

Function 3

Languages

Go100%

Modules by API surface

server.go1 symbols
localtunnel.go1 symbols
client.go1 symbols

For agents

$ claude mcp add localtunnel \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact