Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 903 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 903 Bytes

FILESHARE

A simple go program that reads files from a json and hosts them under a link


Installation:

To install fileshare, just use the installer by downloading the release folder and executing it with: sudo bash install

To uninstall fileshare, you can use the uninstaller with: sudo bash uninstall


Usage:

use the program as fileshare <functionality> <subdomain> <filepath> although not all parameters are needed all the time

functions:

  • list
  • del
    • deletes a given path from the list
  • add <path/to/file>
    • adds a new file under a given subdomain
  • addrandom <path/to/file>
    • adds a file under a random subdomain for more private data

For example "sharefile add path/to/file example"
will host the file under http://localhost:port/example

this link will just lead directly to the file so any device can easily download your files.