Skip to content

kpcyrd/brchd

Repository files navigation

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.