1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-10-18 05:14:23 +00:00
S3 based file sharing as a replacement for CloudApp / Droplr / ...
Find a file
2018-04-23 23:35:21 +02:00
docs Add docs 2017-12-02 19:53:35 +01:00
frontend Fix: Without file hash the index was shown 2018-04-23 23:34:59 +02:00
vendor Update vendored dependencies 2017-12-29 23:41:14 +01:00
.eslintrc.json Renew technologies used 2018-04-22 20:14:49 +02:00
.gitignore Move CLI util 2017-12-02 19:12:46 +01:00
.repo-runner.yaml Add Github publishing 2017-12-02 19:43:46 +01:00
bindata.go Fix: Without file hash the index was shown 2018-04-23 23:34:59 +02:00
CONTRIBUTING.md Add meta-files 2017-12-02 19:48:18 +01:00
Dockerfile Add dockerized version 2017-12-29 23:48:36 +01:00
Gopkg.lock Update vendored dependencies 2017-12-29 23:41:14 +01:00
Gopkg.toml Move CLI util 2017-12-02 19:12:46 +01:00
History.md prepare release v0.4.2 2018-04-23 23:35:21 +02:00
http.go Add HTTP server mode 2017-12-29 23:35:57 +01:00
LICENSE Add meta-files 2017-12-02 19:48:18 +01:00
main.go Add dockerized version 2017-12-29 23:48:36 +01:00
Makefile Fix handling of hash changes 2018-04-22 20:20:45 +02:00
README.md Add hint for updates 2018-04-22 21:27:05 +02:00
upload.go Add HTTP server mode 2017-12-29 23:35:57 +01: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.

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.