upgopher

command module
v1.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 14 Imported by: 0

README

Upgopher

Logo

Go

This is a simple Go web server that allows users to upload files and view a list of the uploaded files. The server can be run locally or deployed to a remote server.

This project tries to replace all file servers that use python, since there are always problems with libraries. Sometimes we want it to be on a remote pc and go gives you the possibility of cross-platform compilation and to work anywhere...

Exmaple Photo

Features

  • Users can upload files by selecting a file and clicking the "Upload" button
  • Uploaded files are stored in the "uploads" directory by default, but the directory can be changed using the -dir flag
  • Users can view a list of the uploaded files by visiting the root URL
  • Basic authentication is available to restrict access to the server. To use it, set the -user and -pass flags with the desired username and password.
  • Traffic via HTTPS.
  • Possibility to browse through folders and upload files...

Usage

To run the server locally:

git clone https://github.com/wanetty/upgopher.git
cd upgopher
go build 
Help Output:
./upgopher -h
Usage of ./upgopher:
  -cert string
        certificado para HTTPS
  -dir string
        directory path (default "./uploads")
  -key string
        clave privada para HTTPS
  -pass string
        password for authentication
  -port int
        port number (default 9090)
  -tls
        utilizar HTTPS
  -user string
        username for authentication

License

This project is licensed under the MIT License. See the LICENSE file for details.

## Info For more information, you can find me on Twitter as @gm_eduard.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL