1
0
Fork 0
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 / ...
Find a file
Knut Ahlers d2f832af08
Update browser support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-26 15:33:55 +02:00
ci Move to simpler plain-js frontend with bundled assets 2021-08-26 15:29:25 +02:00
docs Add docs 2017-12-02 19:53:35 +01:00
frontend Move to simpler plain-js frontend with bundled assets 2021-08-26 15:29:25 +02:00
.eslintrc.js Move to simpler plain-js frontend with bundled assets 2021-08-26 15:29:25 +02:00
.gitignore Broaden compatibility by using babel on JavaScript 2018-07-26 23:05:46 +02:00
.repo-runner.yaml Update repo-runner image 2018-07-26 23:06:40 +02:00
CONTRIBUTING.md Add meta-files 2017-12-02 19:48:18 +01:00
Dockerfile Improve Dockerfile 2021-01-27 21:13:02 +01:00
go.mod Update dependencies, switch to embed instead of bindata, improve error handling 2021-08-26 01:32:20 +02:00
go.sum Update dependencies, switch to embed instead of bindata, improve error handling 2021-08-26 01:32:20 +02:00
History.md prepare release v0.10.1 2021-01-27 21:13:34 +01:00
http.go Force bootstrap to apply gzip encoding 2019-05-13 00:05:06 +02:00
LICENSE Add meta-files 2017-12-02 19:48:18 +01:00
main.go Move to simpler plain-js frontend with bundled assets 2021-08-26 15:29:25 +02:00
Makefile Move to simpler plain-js frontend with bundled assets 2021-08-26 15:29:25 +02:00
progress.go Add progress output to CLI upload 2018-10-11 20:15:12 +02:00
README.md Update browser support 2021-08-26 15:33:55 +02:00
upload.go Update dependencies, switch to embed instead of bindata, improve error handling 2021-08-26 01:32:20 +02:00

Go Report Card

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 frontend can be used in all modern browsers. Internet Explorer is not supported.

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.