An HTTP server which caches a directory in memory and serves the file contents.
MIT License
Given a directory, this application reads all file contents into memory and then serves them up over HTTP when requested.
This application reads all the files in the directory into memory, so if you're serving a lot of large files, it will use a large amount of memory.
Download the static binary, or install crystal, download the source code, and run crystal build src/run.cr
Usage advice is offered by the --help
command-line option.
Improvements and advice are greatly welcome. Please open a pull request or issue with any way to make this application more effective and fast!
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)