Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

mini-file-server

A simple file server written in Clojure and ClojureScript.

Build

lein bin

Run

# Using executable
target/mini-file-server ~/data-dir 3000

# Using Uberjar (optionally with extra system properties)
java -Djava.io.tmpdir=/tmp -jar target/mini-file-server-0.1.2-standalone.jar ~/data-dir 3000

API

curl -XPOST -F file=@fairy-tale.pdf -F group=books/2014 localhost:3000
  # {"url":"http://localhost:3000/books/2014/fairy-tale.pdf"}

TODO

  • Tests
  • Authentication and authorization

License

MIT

About

A simple, insecure file server

Resources

Packages

No packages published

Languages