mirror of
https://github.com/Luzifer/share.git
synced 2024-12-29 23:11:18 +00:00
S3 based file sharing as a replacement for CloudApp / Droplr / ...
e979980905
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8) Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
docs | ||
frontend | ||
src | ||
vendor | ||
.eslintrc.json | ||
.gitignore | ||
.repo-runner.yaml | ||
bindata.go | ||
CONTRIBUTING.md | ||
Dockerfile | ||
Gopkg.lock | ||
Gopkg.toml | ||
History.md | ||
http.go | ||
LICENSE | ||
main.go | ||
Makefile | ||
progress.go | ||
README.md | ||
upload.go |
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.
Browser Support
The web frontend uses babel to ensure the JavaScript is supported by browsers with more than 0.25% market share excluding Internet Explorer 11 and Opera Mini.
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
After you've updated the binary you need to run the --bootstrap
command once more to have the latest interface changes uploaded to your bucket.