Skip to content

Quickly download files and folders from computers on the local network

Notifications You must be signed in to change notification settings

evan-buss/go-serve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoServe - HTTP File Server

Quickly download files and folders from computers on the local network

Why

I found Python's quick local network file server to be useful for transferring files in a pinch. The only problem is you cannot download folders. GoServe quickly zips folders before sending them. It also looks a bit nicer than the default Python file server.

Installation

go get github.com/evan-buss/go-serve

Usage

Usage of go-serve:
  -home
        Sets the base file server directory to your home directory
  -port string
        Change the server's port (default "8080")
  -showDots
        Enable to make dotfiles visible
  -unsafe
        Sets the base file server directory to the root '/' directory. Use with caution.

Screenshot

screenshot

Development

In order to package go-serve as a single executable, it makes use of the go-bindata utility. This transforms the HTML template into a plain *.go file. If you make changes to the HTML template, you must recompile it.

  1. go get -u github.com/go-bindata/go-bindata/...
  2. Run go-bindata data/
  3. bindata.go is generated.

About

Quickly download files and folders from computers on the local network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published