
Gokapi
Self-hosted expiring file sharing with optional S3 storage
2.8k stars 138 forks last commit first released AGPL-3.0
Actively maintained
Last commit 21 Aug 2026.

Gokapi is a lightweight, self-hosted file sharing server designed for sharing files via expiring download links. It focuses on controlled uploads (no public upload) and supports encryption and optional S3-compatible storage for flexible deployments.
Key Features
- Expiring file shares based on time and/or number of downloads
- User management with role-based permissions; only registered users can upload
- Built-in encryption support, including end-to-end encrypted uploads
- File deduplication to reduce storage usage for identical uploads
- Optional storage backend support for AWS S3 and S3-compatible providers
- OpenID Connect (OIDC) authentication integration for SSO
- REST API for automation and integration
- Customizable web UI via custom CSS and JavaScript
Use Cases
- Secure one-off file delivery with automatic link and file expiration
- Internal team file drop for controlled sharing without public uploads
- Automated file distribution workflows using the REST API
Limitations and Considerations
- Designed for simple file sharing rather than full sync/collaboration (not a cloud drive)
- Some advanced features (S3 backends, SSO) require additional configuration
Gokapi is a strong choice when you need an easy-to-run, privacy-focused file sharing service with expiring links and modern authentication options. Its lightweight Go-based implementation and optional S3 storage make it suitable for both homelabs and small teams.
Categories:
Tags:
Tech Stack:
Similar to Gokapi
Plik
Temporary file upload and sharing service with web UI and CLI
Plik is a WeTransfer-like temporary file upload and sharing service with a web UI, CLI client, REST API, expiration (TTL), and multiple storage backends.

Hoodik
Self-hosted end-to-end encrypted cloud storage drive
Lightweight self-hosted cloud storage with end-to-end encryption, chunked file transfer, private search, and secure share links via a web UI.

Filestash
Web-based file manager and sharing portal for many storage backends
Self-hosted Dropbox-like web file manager that connects to SFTP, S3, WebDAV, SMB/NFS, Git and more, with sharing links, plugins, and SSO integration.

SFTPGo
Managed file transfer server for SFTP, FTPS, HTTPS and WebDAV
Self-hostable managed file transfer server supporting SFTP, FTPS, HTTPS and WebDAV with per-user storage backends (local, encrypted, S3-compatible, GCS, Azure Blob) and web UI.

FileBrowser Quantum
Web-based file manager with sharing, access control, and search
Self-hosted web file browser to manage files, users, access control, sharing links, previews, and fast indexed search with real-time UI updates.

OnionShare
Secure, anonymous file sharing and hosting over the Tor network
Open-source tool to share files, host websites, and chat privately over the Tor network; available as desktop GUI, CLI, and mobile apps.





