You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 months ago | |
---|---|---|
.github/workflows | 1 year ago | |
deployments | 2 years ago | |
web | 2 months ago | |
.dockerignore | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
assets.go | 2 years ago | |
credential.go | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
handlers-s3.go | 1 year ago | |
handlers.go | 2 years ago | |
helpers.go | 2 years ago | |
logger.go | 2 years ago | |
main.go | 1 year ago | |
readyz.go | 2 years ago | |
s3.go | 1 year ago | |
store.go | 2 years ago |
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.