/goshare

file share // server written in golang

Primary LanguageGoMIT LicenseMIT

GoShare

is a file server or sharer over the local network.

I have made this tool for sharing files from my computer (or home server) to my phone and other devices within the local network.

It consumes minimal resources, making it the perfect choice for running on a home server 24/7.

About

  • Only standard library used
  • Upload files to the server.
  • Password protection
  • Zip directories
  • Super-fast transfers
  • Stylish UI (Tailwind CSS)
  • Cross-platform compatible
  • Simultaneous multi-file sharing
  • Lightweight & efficient.

Perks

  • for streaming or downlading files form cli $ mpv http://example.com/link/to/vid?cli=pass
  • Zip files for batch download

Install

go install github.com/wizsk/goshare@latest
goshare -h

Or get binnary from releases

wget 'https://github.com/wizsk/goshare/releases/latest/download/goshare_Linux_static.tar.gz'
# see realse page for windows
tar xvf 'goshare_Linux_static.tar.gz'
sudo mv goshare /usr/local/bin/ # or mv goshare ~/.local/bin/

usages

Usage of goshare:
  -d string
        direcotry name (default ".")
  -p string
        password
  -port string
        port number (default "8001")
  -s    silence print informating about requests
  -u string
        upload directory (default "uploads")
  -v    prints current version

Screenshots

auth

auth

Light

light

Dark

dark

Mobile

1 2