Giter Site home page Giter Site logo

gohfs's Introduction

GoHFS

Feature-rich HTTP File Server

Features and roadmap

  • UI
    • Show QR Link
    • SHA1 checksum
    • Command line cheatsheet (curl, wget, PS)
    • Relative timestamp
    • Hot reload
    • Regex filtering
  • Functionality
    • Web shell
    • Global search using fzf
  • Upload
    • Single file upload
    • Limit upload size
    • Multi file upload
    • Folder upload
  • Download
    • as ZIP
    • as Base64
    • Multi file download
  • Security
    • HTTPS
    • Basic Auth
      • Can store as hashed password
    • Regex listing
  • Options
    • Disable directory listing
    • Disable upload
    • Disable zip
    • Specify temporary zip folder
  • Others

Getting started

# running in current directory
./gohfs

# specifying parameters
./gohfs -host 127.0.0.1 -port 8081 -dir /tmp 

# https
./gohfs -tls -cert selfsigned.cert -key selfsigned.key

# disable directory listing
./gohfs -dl

# authentication
./gohfs -user gopher -pass gopher # raw password
./gohfs -user gopher -hpass 9cc1ee455a3363ffc504f40006f70d0c8276648a5d3eb3f9524e94d1b7a83aef # sha256 hashed

# getting help
./gohfs -h

Full Usage

$ ./gohfs -h
Usage of ./gohfs:
  -cert string
        Public certificate
  -dir string
        Directory to serve (default ".")
  -dl
        Disable listing
  -du
        Disable upload
  -dz
        Disable zip
  -host string
        Host (default "0.0.0.0")
  -hpass string
        Hashed password (sha-256)
  -key string
        Private certificate
  -maxup int
        Maximum upload size in Bytes (default -1)
  -pass string
        Password
  -port string
        Port (default "8080")
  -sha1path string
        SHA1 API (default "/gohfs-sha1")
  -tls
        Enable HTTPS
  -user string
        Username (default "admin")
  -webpath string
        UI API (default "/gohfs-web")
  -zippath string
        Zip API (default "/gohfs-zip")
  -ziptemp string
        Temporary zip folder (default ".")

Contribution

Like this project? Want to contribute? Awesome! Feel free to open some pull requests or just open an issue.

Changelog

Detailed changes for each release are documented in the release notes.

gohfs's People

Contributors

finzzz avatar olofvndrhr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.