RelayKit
A tiny, dependency-free toolkit for running a self-hosted file relay on a single small server.
RelayKit accepts uploads over HTTPS, stores them in a local content-addressed pool, and hands out short-lived download links. It is designed for people who occasionally need to move files between their own machines without signing up for a third-party service.
Features
- Single static binary, no database, no external dependencies
- Content-addressed storage with automatic deduplication
- Expiring share links (1 hour to 30 days)
- Optional per-link password and download limits
- Runs comfortably in 64 MB of RAM
Quick start
$ relaykit serve --listen 127.0.0.1:7310 --data /var/lib/relaykit $ relaykit push ./report.pdf https://files.example.org/d/9f2c1a
See the deployment guide for putting RelayKit behind a reverse proxy with TLS, and the changelog for release notes.
License
RelayKit is released under the MIT license. Contributions are welcome; please open an issue before large changes.