A gate to your files that only opens when you need it.
A single-binary Rust tool that opens a gate to your files, secures the crossing with encryption, and closes it the moment you're done—leaving nothing open behind.
Zero dependencies • No Redis/SQLite • Single standalone binary
| Name | Size | Actions |
|---|---|---|
backups | - | |
photos | - | |
app-release-v1.4.0.zip | 14.2 MB | |
architecture-diagram.png | 2.3 MB | |
production-config.yml | 3.3 KB | |
quarterly-report.pdf | 4.7 MB |
Built for the terminal, ready for the web.
One static binary turns any folder into a secure, shareable workspace — with encrypted links and public tunneling built right in.
Single Binary & Zero Config
Ship with a single self-contained executable. Embedded web assets, zero dependencies, no Node.js, PHP, Redis, or external SQL database required.
Stateless & Secure by Default
Zero server-side session stores. Cryptographically signed HMAC tokens and AES-256-GCM encrypted link generation ensure pristine security without persistence overhead.
Built-in Public Tunneling
Expose local files to anyone on the internet with a single `--tunnel` flag powered by automated ngrok integration. No port-forwarding or router tweaks needed.
No Database Required
Zero SQLite or hidden database files generated in your directory. When the process shuts down, nothing is left behind to silently bloat your disk.
Auto-Shutdown Timer
Spin up an ephemeral transfer server that gracefully shuts itself down after a defined duration (e.g. `--shutdown 10`) to prevent orphaned ports.
Chunked Streaming I/O
Upload and download gigabyte-scale datasets smoothly without RAM spikes. Axum tokio async byte streaming maintains sub-15MB memory footprint.
Your directory, served in one keystroke.
Run filegate . and your working folder is live on the network — with self-terminating timers and public tunnels just one flag away.
Why choose filegate?
Engineered to bridge the gap between primitive command-line tools and overweight enterprise cloud drives.
| Capabilities | | python -m http.server | Nextcloud / Filebrowser |
|---|---|---|---|
| Binary & Deployment | Single static binary (zero deps) | Requires Python 3 runtime | Complex Docker / PHP / DB stack |
| RAM Consumption | < 15 MB (Rust Axum) | ~25 MB | 400 MB – 1.5 GB+ |
| File Upload & Drag-Drop | | | Yes |
| Encrypted Share Links (AES-256) | | | Requires DB table / plugins |
| Stateless Session (Zero Database) | | Yes | |
| Built-in Public Tunnel (`--tunnel`) | | | |
| Auto-Shutdown Timer (`--shutdown`) | | | |
| Curl & Script Friendly (Basic Auth) | | Partial (No Auth by default) | Complex OAuth/CSRF tokens |
Install and start sharing now.
Available as a direct curl one-liner, Cargo crate, Homebrew formula, Docker container, or standalone binary.
Auto-detects your OS architecture and installs the latest release into ~/.local/bin (or /usr/local/bin when run as root).
Share your files without leaving the door open.
Fast, encrypted, and completely self-terminating. Run filegate on demand with a single lightweight binary.