A lightweight file hosting server that can host your file.
$ curl -F "data=@yourfilename"
this will respond with the unique url.
$ curl -JO "url"
- if you are on linux machine just run
setup.sh
. - setup will create a database directory at
$HOME/.config/filehost/database.db
. - and add alias to your default shell.
- or you can build using below commands
$ go build -o filehost main.go
run command filehost
in your shell or filehost &
for running in background.
- URL Shortner.
- Once file retrived it should be delete.
- Set Download count limit.
- Making it more structured.