A simple zero-configuration command-line HTTP files server. Like Python's SimpleHTTPServer
but scalable. Сan easily handle thousands of simultaneous connections.
Implemented in Clojure
with Aleph
and Netty
. Mostly as an example. It's still skillful and handy tho'. There's even nothing wrong with putting it to production.
Run in the directory you want to serve:
$ clj -Sdeps '{:deps {nasus {:mvn/version "0.1.1"}}}' -m http.server
Or specify custom port:
$ clj -Sdeps '{:deps {nasus {:mvn/version "0.1.1"}}}' -m http.server 8001
In development:
TBD
Copyright © 2019 Nasus
Nasus is licensed under the MIT license, available at MIT and also in the LICENSE file.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close