Gokapi

Gokapi

Self-hosted expiring file sharing with optional S3 storage

2.6kstars
123forks
Last commit: 6d ago
Repo age: 5y old
Gokapi screenshot

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:

Share:

Similar Services

Syncthing

Syncthing

Open-source, peer-to-peer file synchronization tool.

80.3k
4.9k
Last commit: 2d ago

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

Alternative to:
Resilio Sync
Resilio Sync
+6
LocalSend

LocalSend

Open-source cross-platform local network file sharing app

75.5k
4k
Last commit: 1d ago

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.

Alternative to:
Apple AirDrop
Apple AirDrop
+6
AList

AList

Multi-storage file listing server with WebDAV and previews

49.1k
8k
Last commit: 15d ago

AList is a multi-storage file listing and sharing server with WebDAV access, file previews, protected routes, uploads, and cross-storage file operations.

Alternative to:
Dropbox
Dropbox
+19
copyparty

copyparty

Portable file server with fast resumable uploads and many protocols

42.7k
1.7k
Last commit: 8h ago

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

Alternative to:
WeTransfer
WeTransfer
+19
qBittorrent

qBittorrent

Cross-platform BitTorrent client built with Qt and libtorrent

35.7k
4.6k
Last commit: 1d ago

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.

Alternative to:
BitTorrent
BitTorrent
+2
Nextcloud

Nextcloud

Open-source collaboration platform for file sync and groupware

34.2k
4.7k
Last commit: 7h ago

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

Alternative to:
Google Drive
Google Drive
+19