
Gokapi
Self-hosted expiring file sharing with optional S3 storage

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 Services

Syncthing
Open-source, peer-to-peer file synchronization tool.
Open-source peer-to-peer file synchronization with TLS encryption, no central server, and a browser-based UI.

LocalSend
Open-source cross-platform local network file sharing app
LocalSend is a free, open-source app for fast, encrypted file and text sharing between nearby devices over a local network, available on desktop and mobile.
AList
Multi-storage file listing server with WebDAV and previews
AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

copyparty
Portable file server with fast resumable uploads and many protocols
Copyparty is a portable file server with a web UI, accelerated resumable uploads, deduplication, indexing, and support for WebDAV, SFTP, FTP and more.

qBittorrent
Cross-platform BitTorrent client built with Qt and libtorrent
qBittorrent is a fast, free, cross-platform BitTorrent client with a desktop UI and optional Web UI, built on libtorrent for efficient torrent downloading and seeding.

Nextcloud
Open-source collaboration platform for file sync and groupware
Nextcloud is an open-source content collaboration platform providing file sync & share, groupware (calendar, contacts, mail), real-time office editing, chat and video con...





