mirror of
https://github.com/Luzifer/share.git
synced 2024-12-20 10:31:16 +00:00
S3 based file sharing as a replacement for CloudApp / Droplr / ...
|
||
---|---|---|
docs | ||
frontend | ||
vendor | ||
.gitignore | ||
.repo-runner.yaml | ||
bindata.go | ||
CONTRIBUTING.md | ||
Gopkg.lock | ||
Gopkg.toml | ||
History.md | ||
LICENSE | ||
main.go | ||
Makefile | ||
README.md |
Luzifer / share
share
is a small replacement I wrote for sharing my files through external services like CloudApp using Amazon S3. Files are uploaded using this utility into S3 and previewed (if supported) using the included frontend.
Setup / usage
- Create a S3 bucket and CloudFront distribution
(See docs/cloudformation.yml for an example stack) - Run bootstrap to initialize frontend files:
./share --bucket=<bucket from step 1> --bootstrap
- Upload files to your sharing bucket:
./share --bucket=<bucket from step 1> --base-url='https://your.site.com/#' <yourfile>
- Share the URL you received from last step