Go to file
Arthur POULET bf82c1b95e
Upgrade some doc and version
2018-11-06 00:24:02 +01:00
spec Add auto-detect host and port of the server (by request) 2017-10-27 00:48:29 +02:00
src Update to compile with crystal v0.27.0 2018-11-06 00:22:51 +01:00
.gitignore Update to crystal v0.20, big file work 2016-11-29 12:30:02 +00:00
.travis.yml Initialize project (deps are broken yet) 2016-05-19 23:12:12 +02:00
Dockerfile Udate Dockerfile and relative readme 2016-10-11 17:25:05 +01:00
LICENSE Change LICENSE to GPL-3.0 2017-04-13 13:51:27 +01:00
Makefile Update kemalcr and crystal 2018-10-28 22:40:08 +01:00
README.md Upgrade some doc and version 2018-11-06 00:24:02 +01:00
docker-compose.yml add Dockerfile and docker-compose config 2016-07-03 14:35:05 +02:00
shard.lock Upgrade some doc and version 2018-11-06 00:24:02 +01:00
shard.yml Upgrade some doc and version 2018-11-06 00:24:02 +01:00

README.md

transfer_more

Fast and lite file upload server (transfer.sh clone).

screenshot

  • It's a simple online file sharing.
  • Files older than 7 days are destroyed (configurable).
  • Recognize shebangs, magic numbers, ...

Installation travis

Compatible crystal v0.27.0

From source

make        # build the app / deps
make test   # run unit test
make doc    # build the documentation

From AUR with yaourt

yaourt -S transfer-more

Usage

Run the Server

export TRANSFER_SSL_ENABLED=true    # true if the ssl is enabled, any other string is false
export TRANSFER_BASE_STORAGE="/tmp" # where the files will be kept
export TRANSFER_SECURE_SIZE=4       # how much characters to identify a file
export TRANSFER_STORRAGE_DAYS=7     # how much time the files are kept
export TRANSFER_TIME_FORMAT="%y%m%d%H"
./transfer_more
./transfer_more --help
    -b HOST, --bind HOST             Host to bind (defaults to 0.0.0.0)
    -p PORT, --port PORT             Port to listen for connections (defaults to 3000)

Command line client

curl --progress-bar --upload-file file.mp4  http://domain/name.mp4

Inside a docker

If you are using docker-compose:

docker-compose build && docker-compose up

Else, you can do:

docker build -t transfer_more . && docker run transfer_more

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/Nephos/transfer_more/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Nephos Arthur Poulet - creator, maintainer