Gokapi

Run Gokapi's setup wizard on Cottage, share files with expiring links, collect uploads from other people and add users.

Updated November 24, 2026

$2.50 a month on CottageStart GokapiAbout Gokapi
On this page

Gokapi is a lightweight file sharing server. You upload a file, choose how many downloads or days it lasts, and send the link. When the limit is reached, the file is deleted.

Getting started

Gokapi starts with a setup wizard, so until you've done it only you can open the app.

  1. Open the wizard. Open the app from its page in Cottage and go to /setup on your app's address, for example https://two-words.cottagehost.com/setup.
  2. Database. Keep SQLite.
  3. Webserver. Leave SSL off, because Cottage already serves the app over HTTPS. Change Public facing URL to your app's full address, starting with https:// and ending with /. Gokapi builds every download link from this, so get it exactly right.
  4. Authentication. Keep Username / password and choose your admin username and password.
  5. Storage. Keep Local storage. You can turn on encryption here if you want files stored encrypted. Read the encryption note in the FAQ first, because it can't be changed later without losing files already encrypted.
  6. Finish. When the wizard finishes it takes you to the admin page.
  7. Finish on Cottage. Choose Open it to everyone on the app's page in Cottage, so the people you send links to can download.
  8. Share your first file. On the admin page, set Allowed downloads, Expiry in days and, if you like, a Password, then drag a file onto the upload area. Set these before uploading. Choose Copy URL for the download page link and send it.

Frequently asked questions

How do I let someone send me files?

Open File Requests and create a request with a title, an optional limit on number and total size of files, an expiry date and notes for the sender. Send them the request's link. They don't need an account. Deleting a request also deletes the files it received.

Can I add other people?

Yes. Open the Users page and add a username, then set a password for the person using the key icon (you can generate a temporary one). You can toggle what each person may do, such as creating file requests or seeing other people's uploads, and promote people to admin.

Can I use Gokapi from scripts?

Yes. The API page creates API keys with their own permissions, for example upload or list. The full key is shown only once, so copy it when you create it. The Gokapi documentation lists the API endpoints.

What does encryption do?

The wizard offers encryption levels. For local storage, one level encrypts files at rest and another, end-to-end, encrypts them in the browser before upload. Upstream notes that end-to-end encrypted downloads can be slow or fail on mobile browsers, that file requests bypass end-to-end encryption, and that the implementation hasn't been independently audited. Passwords on a file only gate the download page and don't encrypt the file on disk.

Where are my files kept, and how much room do I have?

Files are kept in the app's own storage on Cottage. Grow it with Change size on the app's page in Cottage. Gokapi refuses uploads when little free space is left.

How do I move my data out?

Download any file from its link while it's still active. Cottage also backs up the whole app every night, including every stored file, keeps 14 days, and lets you download one from Backups on the app's page in Cottage (how).

Is it updated automatically?

Yes. Cottage installs new versions for you, and Updates on the app's page in Cottage shows what changed.

Troubleshooting

Links use the Public facing URL you entered in the wizard. If you made a mistake, or you added a custom domain and want links on it, the setting can't be changed from the admin page. Contact Cottage support at support@cottage.host.

Uploads fail with a "not enough free space" message

Gokapi wants some free disk space before it accepts an upload. Use Change size on the app's page in Cottage to add disk, or delete files you no longer need on the admin page. Deleted and expired files are removed from disk by an hourly cleanup.

A large upload fails partway through

Check your connection first, and try again. If it fails repeatedly on large files, check the Technical log for errors and contact support.

A file disappeared

Files are deleted when they reach their download limit or expiry date. A hotlink view counts as a download. To keep a file longer, edit it from the admin page and raise its limits before it runs out.

Make sure you chose Open it to everyone on the app's page in Cottage. Until then the app is private to you.

Encrypted files won't download on a phone

End-to-end decryption happens in the browser and can fail on mobile, especially in Firefox. Upstream suggests using a lower encryption level for files that need to download reliably on phones.

Still stuck?

Email support@cottage.host. A person reads every message. If something seems down, check Cottage's status page.