An easy to set up cli tool to share files
First we'll take you through the process of downloading and setting up the CLI tool
- Download the fdrop-setup.sh file on the releases tab and run it as sudo (
sudo ./fdrop-setup.sh
) - run
fdrop -r
to create a new configuration file - run
fdrop -d <https://your.domain>
to add your domain to the config file - (optionally) modify the configuration file at $HOME/.config/fdrop/fdrop.conf
- Your client installation was succesful!
The server part is a bit more complicated, but not impossible. Now, I used sveltekit to manage routing and other stuff, so these steps will focus on sveltekit if you want to help and add specific steps or modify the code to allow more framework compatibility, go ahead Assumptions: you have a server and access to its command line (e.g through ssh) you have git, nodejs, and npm installed on it
- run
git clone https://github.com/ravengalqueen/fdrop.git
- move into the fdrop-server directory
- run
npm install
- run
npm run build
- start node (e.g running
node .
on the build directory) - set up your preferred webserver software (e.g caddy, nginx, apache)
- You're all done! You now have an easy way of sharing files