curl -L -o locally https://github.com/Superm4n97/locally/releases/download/v0.0.2/locally-linux-amd64
chmod +x locally
sudo rm -rf /home/$USER/bin/locally
sudo mv ./locally /home/$USER/bincurl -L -o locally https://github.com/Superm4n97/locally/releases/download/v0.0.2/locally-darwin-amd64
chmod +x locallycurl -L -o locally https://github.com/Superm4n97/locally/releases/download/v0.0.2/locally-windows-amd64
chmod +x locallylocally listList the currently running servers on your machine.
| Netid | State | Recv-Q | Send-Q | Local Address:Port | Peer Address:Port | Process (PID) |
|---|---|---|---|---|---|---|
| tcp | LISTEN | 0 | 5 | 0.0.0.0:8000 | 0.0.0.0:* | users:(("python3",pid=142218,fd=3)) |
locally exposeExposes the current directory. You can access your computer from any device within your network.
portis anoptionalflag to specify the server port. Default serving port is8000.
- A QR code to scan from mobile
- IP address to access from other computer
locally proxyCreates a proxy server to which will be expose to your local network and proxy traffics to some other server.
proxy-portis arequiredport number. It specifies the port number where the proxy server will be run.target-portis arequiredport number. It specifies the target server port where this proxy server will route the traffic.
- A QR code to scan from mobile
- IP address to access from other computer
