Skip to content

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

License

Notifications You must be signed in to change notification settings

Wirezat/fileshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published