Go

Gokapi on Ubuntu 24.04 LTS

Azure Storage

Gokapi, the lightweight open source self hosted file sharing server: upload files and share download links with optional expiry, download limits and passwords.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

Gokapi is an open source self hosted file sharing server from Forceu. You sign in to an admin panel, upload files, and Gokapi gives you a shareable download link for each one, with per file controls for expiry time, number of downloads, an optional password and image hotlinking. It is a lean, privacy respecting alternative to third party file transfer services: your files stay on your own server and never touch a third party.

The backend is a local SQLite database with files stored on the server's own disk, so nothing external is required to start sharing. When you are ready to scale, Gokapi can be repointed at an S3 compatible object store or Redis, and it ships an API and a CLI uploader for automation.

Why the cloudimg image

cloudimg ships Gokapi hardened, fully patched and secure by default. The first run setup is completed at build time so no unauthenticated setup wizard is ever exposed, and on first boot every instance generates its own Gokapi admin password AND its own HTTP Basic Auth password for the admin surface, stored in a root only file. The server binds to loopback only behind an nginx reverse proxy, the management endpoints get defence in depth from Basic Auth layered over Gokapi's own login, and public download links stay open so recipients can fetch shared files. No shared or default credential survives into the image, and 24/7 cloudimg support backs it.

Common uses

  • Self hosted file sharing and secure file transfer on your own server
  • Handing out download links with expiry, download limits and passwords
  • A private alternative to third party file transfer services, with an API and CLI uploader

See it running

Real screenshots taken while testing this image against its deployment guide.

Gokapi on Ubuntu 24.04 LTS screenshot 1 Gokapi on Ubuntu 24.04 LTS screenshot 2 Gokapi on Ubuntu 24.04 LTS screenshot 3