1
0
Fork 0
 
 
 
 
Go to file
Ambrose Chua 8b15de10b0 Add deployments quickstart 2021-05-24 08:56:22 +08:00
.github/workflows Fix Dockerfile, clean up *ignore 2021-05-24 01:21:52 +08:00
deployments Add deployments quickstart 2021-05-24 08:56:22 +08:00
web Improve link colors, add lifecycle notice 2021-05-24 00:42:01 +08:00
.dockerignore Fix Dockerfile, clean up *ignore 2021-05-24 01:21:52 +08:00
.gitignore Fix Dockerfile, clean up *ignore 2021-05-24 01:21:52 +08:00
Dockerfile Fix Dockerfile, clean up *ignore 2021-05-24 01:21:52 +08:00
Makefile Fix Dockerfile, clean up *ignore 2021-05-24 01:21:52 +08:00
README.md Add deployments quickstart 2021-05-24 08:56:22 +08:00
assets.go Initial create dialogue, switch to tailwindcss 2021-05-23 15:36:41 +08:00
credential.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00
go.mod Handle create, fix upload UI 2021-05-23 18:10:08 +08:00
go.sum Handle create, fix upload UI 2021-05-23 18:10:08 +08:00
handlers-s3.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00
handlers.go Drop ID length to 12 2021-05-24 02:28:50 +08:00
helpers.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00
logger.go Split out templates, add readiness endpoints 2021-05-23 12:02:02 +08:00
main.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00
readyz.go Split out templates, add readiness endpoints 2021-05-23 12:02:02 +08:00
s3.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00
store.go Form handler, saver and style timprovements 2021-05-23 23:32:44 +08:00

README.md

upl

A dropbox backed by any S3 bucket

Features

  • User interface to create new dropboxes
  • Store bucket credentials and settings in a Redis KV store
  • Drop stored credentials when the dropbox link expires
  • Upload files using S3 multipart uploads, powered by Uppy
  • Remembers previously created dropboxes and uploaded files
  • Single fat binary

Deploying

To deploy as a single binary, build it from source and run:

export REDIS_CONNECTION=simple:redis-hostname:6379
export LISTEN=:8080
./upl

For example Kubernetes manifests or Docker Compose files, see the deployments folder.