Marc Bulling d88f649209 Add support for multiple different users, rewrote API, breaking API changes, UI changes
* Require 1.9.6 for upgrade, add function to get userID from request

* Automatically add user when successfully authenticated with headers / oauth, disallow modifing own user permissions

* Dont show user/pw page when using header authentication

* Only display redacted versions of API keys #228, fixed deployment password

* Added animation for deleting API key

* Only create salt once

* Disable elements on upload UI if insufficient permissions

* BREAKING: User field must be email for OAUTH2, added warning in setup when changing database

* BREAKING: Added option to restrict to only registered users

* Fixed crash due to concurrent map iteration

* Replace /uploadComplete with API call, BREAKING API is now in headers

* BREAKING: require true|false instead of only checking for true

* BREAKING API: Renamed apiKeyToModify parameter to targetKey
2025-02-04 09:22:55 +01:00
2022-08-11 12:34:24 +02:00
2024-12-12 10:22:14 +01:00
2024-12-12 10:22:14 +01:00
2021-08-16 18:08:32 +02:00
2023-12-09 13:31:33 +01:00

Gokapi

Documentation Status Go Report Card gopherbadger-tag-do-not-edit Docker Pulls

Available for:

About

Gokapi is a lightweight server to share files, which expire after a set amount of downloads or days. It is similar to the discontinued Firefox Send, with the difference that only the admin is allowed to upload files.

This enables companies or individuals to share their files very easily and having them removed afterwards, therefore saving disk space and having control over who downloads the file from the server.

Identical files will be deduplicated. An API is available to interact with Gokapi. AWS S3 and Backblaze B2 can be used instead of local storage. Customization is very easy with HTML/CSS knowledge. Encryption including end-to-end encryption is available.

Screenshots

Admin Menu image

Download Link image

Installation

Can be deployed in only a few seconds. Please refer to the documentation

Usage

Please refer to the documentation

Contributors

License

This project is licensed under the AGPL3 - see the LICENSE.md file for details

Donations

As with all Free software, the power is less in the finances and more in the collective efforts. I really appreciate every pull request and bug report offered up by our users! If however, you're not one for coding/design/documentation, and would like to contribute financially, you can do so with the link below. Every help is very much appreciated!

paypal LiberaPay

Description
Lightweight selfhosted Firefox Send alternative without public upload. AWS S3 supported.
Readme 12 MiB
Languages
Go 77%
JavaScript 18.7%
CSS 2.3%
HTML 1.1%
Makefile 0.4%
Other 0.5%