OpenSource-Hub
G

Gokapi

SHA-256
2.7k stars·File Management·SHA-256 checksum verified

A lightweight, self-hosted alternative to Firefox Send with expiry, encryption, and user management.

Smart Download

Download Download Version

v2.2.4 · 15.6 MB

Self-host secure file sharing with expiry, encryption, and granular user control.

Core Features

  • Automatic file expiry based on downloads or days
  • End-to-end encryption for uploads (browser-based)
  • User management with roles (admin, uploader, etc.)
  • File requests: external upload links visible only to creator
  • File deduplication saves storage space

What It Can't Do

  • Default uses SQLite; for high concurrency consider MySQL/PostgreSQL (manual config). 2. End-to-end encryption must be enabled per upload from the browser. 3. File request links are only visible to the creator but can still be leaked. 4. S3 credentials need to be set via environment variables. 5. Change the default admin password after first setup.

Use Cases

  • Teams sharing confidential documents with automatic cleanup
  • Individuals hosting a private replace for WeChat/email large attachments
  • Receiving files from clients via a secure upload link

Gokapi is a modern open-source file sharing platform built in Go. It lets you host your own secure file transfer service, similar to Firefox Send, but with more control. Files automatically expire after a set number of downloads or days. End-to-end encryption ensures only the intended recipient can read your files. You can manage users with different roles, create file requests (upload links for external parties), and store files locally or on S3-compatible cloud storage. It includes a REST API for automation, OpenID Connect integration for enterprise SSO, and a customizable UI. Designed for simplicity and performance, Gokapi runs on bare metal (Linux, macOS, Windows) or Docker, requiring only 256 MB RAM to start.

Tags

self-hostedfile-sharingencryptiongodockerexpiring-linksopenid-connect

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Step 1: Run with Docker: `docker run --rm -p 127.0.0.1:53842:53842 -v gokapi-data:/app/data -v gokapi-config:/app/config docker.io/f0rc3/gokapi:latest`

4

Step 2: Visit http://localhost:53842/setup and follow the wizard to create an admin account

5

Step 3: Start sharing files or generate a file request URL for others to upload

Install Guide
  1. Step 1: Run with Docker: `docker run --rm -p 127.0.0.1:53842:53842 -v gokapi-data:/app/data -v gokapi-config:/app/config docker.io/f0rc3/gokapi:latest`
  2. Step 2: Visit http://localhost:53842/setup and follow the wizard to create an admin account
  3. Step 3: Start sharing files or generate a file request URL for others to upload
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

bcdf00dbe2f18b37341c659a8be3622529c8f88b43781e233d1fa4366647d76b

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Remove Docker container and image (if using Docker), or delete the program directory. Back up /app/data and /app/config if you want to preserve files and settings.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseAGPL-3.0
Last Updated2026-06-26 03:15:11
GitHub Repository

Having issues? Check the FAQ below

4 FAQs

Similar Projects