Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/claudyus/share
A dockerize file sharing app similar to WeTransfer on-prem
https://github.com/claudyus/share
buckets collaboration corporate docker dropzone file-manager file-sharing file-upload
Last synced: about 2 months ago
JSON representation
A dockerize file sharing app similar to WeTransfer on-prem
- Host: GitHub
- URL: https://github.com/claudyus/share
- Owner: claudyus
- License: unlicense
- Created: 2015-02-15T16:13:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T15:17:55.000Z (about 2 years ago)
- Last Synced: 2024-04-14T15:01:23.550Z (9 months ago)
- Topics: buckets, collaboration, corporate, docker, dropzone, file-manager, file-sharing, file-upload
- Language: JavaScript
- Homepage: https://hub.docker.com/r/claudyus/share/
- Size: 1.75 MB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
share
========[![dependencies Status](https://david-dm.org/claudyus/share/status.svg)](https://david-dm.org/claudyus/share)
[![Build Status](https://travis-ci.org/claudyus/share.svg?branch=master)](https://travis-ci.org/claudyus/share)
[![Coverage Status](https://coveralls.io/repos/github/claudyus/share/badge.svg?branch=master)](https://coveralls.io/github/claudyus/share?branch=master)An express.js web app for sharing files using [dropzone.js](http://www.dropzonejs.com/).
There are no limits on file size and by default no user authentication. Files are never cleaned up.![screenshot](https://raw.githubusercontent.com/claudyus/share/master/images/screenshot.png)
## Access Control List of bucket
Each ACL bucket is configurable using uploadind a files.
You can upload a file called '.deny_list' to a given bucket to avoid to expose uploaded files.
Another operation that can be disable is the bucket deletion, in this case you should upload a '.deny_delete' file.
The '.token_upload' file can be used to set a bearer authorization token following [RFC6750](https://tools.ietf.org/html/rfc6750) standard.
## Configuration
The following enviroment variables can be used to change default behaviour of share:
* PORT - define server listen port, default ```5000```
* TMP_DIR - define the temp dir for upload, default ```tmp/```
* UPLOAD_DIR - define the final upload dir, default ```upload/``` (when using Docker the default path is /app/upload)
* BRAND - define a custom brand, default ```File```
* SENTRY_DSN - if set, the exception are collected and sent to your sentry project## Running
$ yarn
$ node .## Updating client dependencies
$ grunt
# Dokku configuration
$ git push deploy
# dokku storage:mount share /var/lib/dokku/data/storage/share:/app/upload
# dokku ps:restart share