Skip to content

Simple file server with basic authentication, single page Directory tree view and much more.

Notifications You must be signed in to change notification settings

Boot-Error/coolhttpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

❄️ coolhttpd 📁

Simple HTTP file browser
A HTTP server with basic authentication, Directory tree view and much more.

demo

coolhttpd is my attempt to solve a part of my workflow

Everytime I need to copy X thing from one computer to another, I need to do either of these python -m http.server -p 8080 or cat file > nc -l 8080

🎨 Features

  • Simple HTTP File server
  • Supports basic authentication
  • Directory tree view showing every file/folder

And more, see ToDo

🔨 Usage

  • Want to serve current working directoy straight away?
$ coolhttpd
  • Serve from a specific host addr and port
 $ coolhttpd --host <IP-ADDRESS> --port <PORT>
  • Enable Authentication? coolhttpd support basic authentication scheme defined in RFC 2617
$ coolhttpd --username <USERNAME> --passwd <PASSWD>
  • Serve a specific directory?
$ coolhttpd --dir <DIRECTORY TO SERVE>

💾 Install

  • Install from source, requires golang toolchain installed on your system.
# download the source using go get
$ go get -v github.com/Boot-Error/coolhttpd

# compile the source
$ go install github.com/Boot-Error/coolhttpd

# the compiled binary can be found in $GOPATH/bin, refer Usage
$ $GOPATH/bin/coolhttpd <ARGS>

📋 To-Do

  • Download whole directory as a zip archive
  • Fuzzy Search the serving directory
  • Support for wget's recursive download (still contemplating..)

About

Simple file server with basic authentication, single page Directory tree view and much more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages