renovate Bot 0fd78463eb
CI / CLI (pull_request) Successful in 17s
CI / Server (pull_request) Successful in 29s
CI / Docker image (pull_request) Successful in 39s
CI / CLI (linux-arm64, static) (pull_request) Successful in 51s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 1m2s
CI / CLI (windows) (pull_request) Successful in 2m44s
chore(deps): update dependency ws to v8.23.1
2026-11-27 18:42:07 +00:00
2026-11-25 16:44:24 +03:00
2026-11-25 16:44:24 +03:00

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. It is not affiliated with, endorsed by, or supported by the upstream project or its author. See License for attribution.

What it does

  • HTTP tunnels with a public URL, either https://<id>.example.com or https://example.com/@<id>
  • 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

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

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

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

Changelog

See CHANGELOG.md. This project follows Semantic Versioning and Keep a Changelog.

License

MIT — see LICENSE. frislit is derived from tunlit, © 2026 Mathias Wagner (MIT); modifications and new code are © 2026 the frislit contributors.

S
Description
The self-hosted alternative to ngrok, supporting seamless tunneling for HTTP, TCP and UDP.
Readme MIT
4.6 MiB
1 Stars 1 Watchers 0 Forks
frislit 0.3.5
Latest
2026-11-25 17:00:04 +03:00
Languages
JavaScript 61.1%
Rust 28.9%
Sass 8.9%
Shell 0.7%
PowerShell 0.2%
Other 0.2%