Ambrose Chua b5dacbc9bf | ||
---|---|---|
.github/workflows | ||
deployments | ||
web | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
assets.go | ||
credential.go | ||
go.mod | ||
go.sum | ||
handlers-s3.go | ||
handlers.go | ||
helpers.go | ||
logger.go | ||
main.go | ||
readyz.go | ||
s3.go | ||
store.go |
README.md
upl
A dropbox backed by any S3 bucket.
upl
allows you to create dropboxes by providing the credentials for any S3-compatible bucket. A link will be generated that can be visited in a web browser to upload files. Links expire after a configurable amount of time.
- Simple web interface
- Works with large files by using S3 multipart uploads, powered by Uppy
- Remembers previously created dropboxes and uploaded files
- Single fat binary
Building
You'll need:
- Node.js
- Go
make
make TAGS=production
Alternatively, docker build .
this project.
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.