Skip to content

Gokapi

Self-hosted file sharing with expiring links, S3 storage and a REST API

Copyleft (OSI) · AGPL-3.0
  • Self-hosted

Listed by , founder & editor

73

Health

Active

Overview

Stars

3,031

Last commit

today

Nov 2026

Repository age

5 years

since Mar 2021

Latest version

v2.2.4

Mar 2026

Contributors

–

6 active in 90 days

Releases

5

last 12 months

Language

Go

Gokapi is a lightweight, self-hosted tool for sharing files through links that expire. A share is removed after a set number of downloads or days. It is written in Go and runs on Linux, macOS and Windows, or in Docker.

Only registered users can upload, and roles control what each user may do. External people can send you files through a file request, a URL whose uploads only its creator sees. Identical files are deduplicated, and uploads can be end-to-end encrypted. Files can stay on local disk or go to AWS S3 or S3-compatible storage such as Backblaze B2. Sign-in works with OpenID Connect providers like Authelia and Keycloak, and a REST API supports automation. You can change the look with custom CSS and JavaScript.

It is a self-hosted alternative to WeTransfer, and a paid hosted plan exists too. It does not send email itself, does not track recipient downloads, and has no anonymous public upload. It is licensed under AGPL-3.0.

Who it's for

Self-hosters sharing large files with clients

Links expire by date or download count, and storage can be local or S3.

Skip if: You need email delivery or download tracking for recipients.

Small teams with an identity provider

OpenID Connect and user roles let you control who can upload.

Skip if: You want anyone to upload without an account.

Developers automating file hand-offs

The REST API lets other systems create shares.

Skip if: You only need a one-off transfer service with no setup.

The problem it solves

Sending large files usually means a third-party service that keeps copies and limits sizes. Gokapi lets you run your own link-based sharing where files vanish after a set time or number of downloads.

Strengths

  • Shares expire after a set number of downloads or days
  • Supports AWS S3 and S3-compatible storage such as Backblaze B2
  • Runs in about 256 MB of RAM on Linux, macOS or Windows
  • OpenID Connect sign-in and role-based users
  • Deduplicates identical files and supports end-to-end encrypted uploads

Trade-offs

  • No email delivery from the tool
  • No download tracking for recipients
  • No public upload by anonymous senders
  • AGPL-3.0 license carries copyleft obligations

Gokapi replaces

Self-host Gokapi

Self-hostable
Yes
Minimum RAM
256 MB
Docker Compose
The repository ships a Compose file
Hosted plan
From $4/month · pricing

Quick start

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

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Gokapi free?

Yes, the self-hosted software is free under AGPL-3.0. A paid hosted plan is also available.

Which platforms does it run on?

Linux, macOS and Windows, and there is a Docker image.

Can I store files on S3?

Yes. AWS S3 and S3-compatible services such as Backblaze B2 are supported as optional storage.

How much RAM does it need?

The minimum is 256 MB, and 512 MB or more is recommended.

Other WeTransfer alternatives

Compare all 3 WeTransfer alternatives →

Similar tools in File sharing and transfer tools

Send

File sharing and transfer tools

Self-hosted encrypted file sharing with expiring links, in the spirit of Firefox Send

307 170 21 days ago Slowing mpl-2.0

Replaces WeTransfer

tessera

File sharing and transfer tools

Self-hosted file, folder and note sharing with expiring links, for teams and home servers

84 2 5 days ago Active AGPL-3.0

Replaces WeTransfer

Croc

File sharing and transfer tools

Command-line tool for sending files between two computers with a short code phrase

41k 1.7k 2 days ago Thriving MIT

kubo

File sharing and transfer tools

17k 3.2k today Thriving Unknown

sftpgo Community Edition

File sharing and transfer tools

File transfer server for SFTP, FTP/S, WebDAV and HTTP backed by local or cloud storage

13k 991 3 days ago Active AGPL-3.0

LocalSend

File sharing and transfer tools

Cross-platform app for sending files and messages to nearby devices on your network

101k 5.8k today Active Apache-2.0