About Gokapi
Gokapi is an AGPL-3.0 file sharing server written in Go, built as a lightweight alternative to Firefox Send without public uploads. Each share expires after a download count or a number of days and is then deleted, and identical files are stored only once.
Hosting it yourself keeps shared files on your own disk or your own S3-compatible bucket instead of a third-party service. The Go binary is light, so plan the server around storage and pick a region near the people downloading.
After deploy, Gokapi listens on port 53842 and opens with a setup wizard at /setup.
What you get with Gokapi
- Links that expire by download count or days
- End-to-end encrypted uploads
- Local storage or S3-compatible object storage
- File requests so outsiders can upload to you
- REST API, OpenID Connect sign-in and user roles
Gokapi use cases
- Sending client deliverables that should not live forever
- Collecting files from people without accounts
- Internal sharing with SSO through Keycloak or Authelia
After you deploy Gokapi
- When the server reports Running, open
http://<server IP>:53842/setupand follow the wizard. - Choose authentication there: a local admin login or OpenID Connect through your identity provider.
- Decide on storage: keep files on the server's NVMe disk or point Gokapi at an S3-compatible bucket.
- Serve it on a domain with HTTPS so download links look trustworthy and travel encrypted.
Gokapi ports
Open these in your firewall if you use one: 53842/tcp Gokapi.
Gokapi FAQ
Can anyone upload files to my Gokapi server?
No. Uploads are limited to registered users, while recipients only download. To receive files from outsiders, create a file request and send them its link.
What happens when a share expires?
Once the download limit or the expiry date is reached, Gokapi removes the file automatically, so the link stops working and the space is freed.
Disclaimer. The Gokapi project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.