2 unstable releases

0.1.0 Nov 13, 2020
0.0.0 Apr 3, 2020

#3 in #uploader

GPL-3.0 license

125KB
3.5K SLoC

brchd

Starting the receiver somewhere

 brchd -Hd drop/

Run the background uploader

brchd -vDd http://127.0.0.1:7070

Manage uploads

brchd passwords.txt
brchd imgs/
brchd /var/log/*.log
brchd # attaches status monitor
brchd --wait # blocks until all pending uploads are done

Run as standalone spider

brchd -d ./download/ https://ftp.example.com/some/folder/

Install dependencies

apt install pkg-config libsodium-dev
pacman -S pkg-config libsodium
brew install pkg-config libsodium

Windows

There's basic windows support. You need to force a statically linked libsodium with:

cargo build --release --no-default-features --features=crypto,httpd,spider,native-tls

Running the receiver (-H) on windows is considered insecure and highly discouraged.

Dependencies

~10–28MB
~416K SLoC