Files
frislit/README.md
T
fristy 650807c1fb
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
chore: restart the repository with a clean history
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
2026-11-10 11:31:13 +03:00

87 lines
3.5 KiB
Markdown

<h1 align="center">frislit</h1>
<p align="center">
frislit is a self-hosted alternative to ngrok.<br />
Expose a local port to the internet on your own server, and share it with whoever needs it.
</p>
> **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://<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
```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.