7 unstable releases (3 breaking)

Uses new Rust 2024

0.4.1 May 22, 2025
0.4.0 May 22, 2025
0.3.1 May 19, 2025
0.2.0 May 16, 2025
0.1.1 May 13, 2025

#592 in HTTP server

Download history 1/week @ 2025-06-02

284 downloads per month

MIT license

31KB
451 lines

port.pub

Share your local http server with public internet.

port.pub demo

How to use

  1. Install rust

  2. Install portpub CLI: cargo install portpub

  3. Run: portpub http --port {PORT} (replate {PORT} with your local http server port).

    e.g. portpub -- http --port 8081

  4. You'll see something like following:

port: 8081
port published at: {uuid}.port.pub
  1. You can access your local project at: {uuid}.port.pub

Dependencies

~18–35MB
~495K SLoC