Skip to content
/ gouplo Public

A simple & easy-to-use fileserver, written in Go (golang.org), that features a basic login system and a multiple-file upload form.

License

Notifications You must be signed in to change notification settings

lee8oi/gouplo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gouplo is a simple & easy-to-use Go based fileserver with multi-file upload capability.

Features

  • jQuery/Ajax for dynamic form submissions without page reload.
  • Automatically uses HTTPS for better security.
  • HTTP Basic Authentication for simple login capability.
  • Multiple file handling for batch upload jobs (no progress bar).
  • Easily configurable via json config file.

NOTE: "This serves only as a demonstration. One can simply bypass the login if he directly accesses the subdomains."

Usage

Generate SSL certificates.

On Linux/Unix systems the simplest way to obtain your SSL certificate & key file is by using Certbot https://certbot.eff.org/. You'll need the fullchain.pem and the privkey.pem files.

Build the server binary.
$ go build
Edit server configuration.

Rename config.json.example file to config.json and edit the configuration values to suit your needs.

Start the server.

Note: If -config is omitted gouplo assumes config.json is in current directory.

$ gouplo -config "path/to/config.json"
Test the server.

Visit your web address in a web browser to test the server and verify your site is using a secure connection.

Modify the code.

Once you have successfully tested the server you are ready to edit the code to better suit your needs. Good luck and have fun!

About

A simple & easy-to-use fileserver, written in Go (golang.org), that features a basic login system and a multiple-file upload form.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published