Gokapi
Lightweight server to share files, which expire after a set amount of downloads or days. Similar to the discontinued Firefox Send, with the difference that only the admin is allowed to upload files.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Gokapi is a modern, self-hosted file sharing tool positioned as a replacement for Firefox Send, putting file sharing back in your own hands. Written in Go, it has a clean interface and a solid feature set, including automatic file expiration, end-to-end encryption, and multiple cloud storage options. Unlike public file hosts, Gokapi does not allow public uploads: only registered users can upload files, which makes it a good fit for individuals or teams who want to run a private file distribution service on their own server.
Key Features
- Expiring file shares: files are deleted automatically once they reach the set number of downloads or days
- User management and role-based permissions: fine-grained permission control, and only registered users can upload
- File requests: generate a shareable URL that outside parties can use to upload files, and only the creator of that URL can see the uploaded files
- File deduplication: identical files don't take up extra storage space
- Cloud storage support: optionally connect to AWS S3 or S3-compatible services (such as Backblaze B2)
- Built-in encryption: supports end-to-end encrypted uploads
- OpenID Connect support: integrates with identity providers such as Authelia and Keycloak for single sign-on
- REST API: makes automation easy, or lets you integrate with other systems
- Customizable interface: adjust the look and behavior with custom CSS and JavaScript
Target Users and Use Cases
- Individuals and self-hosting enthusiasts who want a private file sharing service and don't want to rely on third-party file hosts
- Teams and businesses that need to send temporary files to clients or partners
- Situations where you need to collect files from outside people, using the "file requests" feature
- Developers and operations staff who want to integrate file distribution into automated workflows through the API
Core Strengths
- Lightweight with low resource usage: it runs on a single CPU core and 256 MB of RAM
- Links expire automatically, reducing the risk of files being exposed for long periods
- Supports end-to-end encryption and OIDC single sign-on, with good security and integration capabilities
- Works with both local storage and S3-compatible storage, so deployment is flexible
- Open source, licensed under AGPL-3.0
Installation and Deployment
It can run directly on Linux, macOS, and Windows, and can also be deployed with Docker.
Quick trial with Docker:
docker run --rm \
--name gokapi \
-v gokapi-data:/app/data \
-v gokapi-config:/app/config \
-p 127.0.0.1:53842:53842 \
-e TZ=UTC \
docker.io/f0rc3/gokapi:latest
After it starts, go to http://localhost:53842/setup and follow the setup wizard to finish the configuration.
Build from source:
git clone https://github.com/Forceu/gokapi.git
cd gokapi
make build
For detailed installation and usage instructions, see the official documentation: gokapi.readthedocs.io.
System Requirements
| Item | Minimum | Recommended |
|---|---|---|
| CPU | 1 core | 2 cores or more |
| RAM | 256 MB | 512 MB or more |
| Storage | 100 MB + space for stored files | SSD strongly recommended |
| Operating system | Linux / macOS / Windows | — |
Notable Points
- No public uploads, which sets it apart from public services like Firefox Send and helps prevent abuse
- The "file requests" feature means Gokapi can receive files as well as send them
- An official Docker image (f0rc3/gokapi) is available, so deployment is quick
Discover more
Files Sharing
File sharing application based on unique and temporary links.
GoSƐ
Modern file-uploader focusing on scalability and simplicity. It only depends on a S3 storage backend and hence scales horizontally without the need for additional databases or caches.
GoSƐ
Modern file-uploader focusing on scalability and simplicity. It only depends on a S3 storage backend and hence scales horizontally without the need for additional databases or caches.
OpenCloud
🌤️ OpenCloud is the open source platform for file management, sharing and collaboration. Simple and sovereign.
Pairdrop
Local file sharing in your browser, inspired by Apple's AirDrop (fork of Snapdrop).
PicoShare
A minimalist, easy-to-host service for sharing images and other files.