frislit

frislit is a self-hosted alternative to ngrok.
Expose a local port to the internet on your own server, and share it with whoever needs it.

> **frislit is an unofficial fork of [tunlit](https://github.com/gnmyt/tunlit).** > It is not affiliated with, endorsed by, or supported by the upstream project or its author. > See [License](#license) for attribution. ## What it does - **HTTP tunnels** with a public URL, either `https://.example.com` or `https://example.com/@` - **TCP and UDP tunnels** for anything that is not HTTP, like a database or a game server - **Share a port** with someone who has no account: they get a link, the port appears on their machine - **Live traffic** per tunnel, with request and response bodies you can read, edit and replay in the browser - **Breakpoints** that hold a request or response until you continue, edit or drop it - **Visitors** grouped by address with country, network, request and blocked counts - **IP intelligence** for every visitor: country, network, Tor, VPN and datacenter flags, all looked up offline - **Bad network on demand**: add latency, jitter, a bandwidth cap or packet loss to any tunnel to see how your app copes - **Persistent names** that stay yours, with your own domains on top - **Route by path**: `/api` to one port, `/docs` to a folder, the rest to your app, all on one tunnel - **Protect a tunnel** with a password, a frislit account, or allow and block rules by address, country, Tor, VPN and datacenter - **Accounts** for your team, with TOTP, passkeys and OIDC single sign-on - **HTTPS** either behind your own proxy or with certificates frislit gets from Let's Encrypt itself ## Build the server ```sh git clone https://git.fristy.net/fristy/frislit.git cd frislit docker build -t fristy/frislit:latest . docker run -d \ --name frislit \ --restart always \ -p 127.0.0.1:8080:8080 \ -v frislit-data:/app/data \ -e FRISLIT_BASE_DOMAIN=frislit.example.com \ -e FRISLIT_PUBLIC_URL=https://frislit.example.com \ -e FRISLIT_TRUST_PROXY=true \ fristy/frislit:latest ``` Open `https://frislit.example.com/@frislit` and the setup wizard takes it from there. ## Build the CLI ```sh cargo build --release --manifest-path cli/Cargo.toml # binary: cli/target/release/frislit ``` Platform packages are built on release: `deb`, `rpm` and the Windows `MSI`, plus a static headless build for linux-arm64. The container image is `fristy/frislit` (`linux/amd64`, `linux/arm64`). ## Use it ```sh frislit login # link this machine to your server, once frislit http 3000 # share a local port frislit http ./dist # or a folder, with a built-in file server frislit tcp 5432 # share a database, or anything else that is not HTTP ``` Each tunnel has its access rules and live throughput on one page. A `frislit tcp` tunnel gets a share code; whoever you send it to opens the link and gets the port on their own machine, without an account. ## Documentation - [Installation](docs/installation.md) - [Configuration](docs/configuration.md) - [HTTPS](docs/https.md) - [Reverse proxy](docs/reverse-proxy.md) - [CLI](docs/cli.md) - [Running as a service](docs/service.md) ## Changelog See [CHANGELOG.md](CHANGELOG.md). This project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## License MIT — see [LICENSE](LICENSE). frislit is derived from tunlit, © 2026 Mathias Wagner (MIT); modifications and new code are © 2026 the frislit contributors.