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

#1697 in HTTP server

Download history 3/week @ 2025-07-05 1/week @ 2025-08-16

291 downloads per month
Used in portpub

MIT license

9KB

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

~7–12MB
~199K SLoC