|
2 months ago | |
---|---|---|
public | 2 years ago | |
spec | 3 years ago | |
src | 2 months ago | |
.gitignore | 4 years ago | |
.travis.yml | 4 years ago | |
Dockerfile | 1 year ago | |
LICENSE | 3 years ago | |
Makefile | 1 year ago | |
README.md | 2 months ago | |
docker-compose.yml | 4 years ago | |
sample.png | 2 years ago | |
shard.lock | 2 months ago | |
shard.yml | 2 months ago |
Migrated to https://git.sceptique.eu/Sceptique/transfer_more
Fast and lite file upload server (transfer.sh clone).
Compatible crystal v0.35.1
make # build the app / deps
make test # run unit test
make doc # build the documentation
yaourt -S transfer-more
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_STORAGE_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)
curl --progress-bar --upload-file file.mp4 http://domain/name.mp4
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
{
"Name": "Sceptique",
"DestinationType": "ImageUploader, TextUploader, FileUploader, URLShortener",
"RequestURL": "https://up.sceptique.eu/",
"FileFormName": "file",
"Headers": {
"User-Agent": "curl"
}
}
TODO: Write development instructions here