Skip to content

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

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages