barachy
Barachy
Barachy is a backend Static File Loader, Handler and Backuper, written in Crystal, For MASSIVE Idea
😄 : Hi Barachy, I need your static file
:shipit: : Ok,, loading first file ,,,, ummm, i think it's has been down, Change to second file. . . .,, Loaded
😄 : WHoaaaaa, thanks Barachy
Installation
to use barachy, make sure you have Crystal installed in your machine, How to Install it ?
git clone https://github.com/codenoid/barachy
cd barachy
shards install
crystal build src/barachy.cr
Usage
- You must have db file (text plain) for barachy app, the db looks like
http://localhost/tentor.js,http://localhost/jquery.js 500 maxspeed.js text/javascript
http://localhost/cmn/bootstrap.css,http://localhost/bootstrap.css 500 style.css text/css
http://localhost/tentor.js,http://localhost/jquery.js
is list of your static file who will be loaded for /maxspeed.js url500
is your timeout for loading static file, ex, if first file use more than 500ms, then next to second file.maxspeed.js
is your Barachy urltext/javascript
is your content type
- Run the Barachy Server
$ ./barachy --path static.txt --port 3000
Development
- Logo
- Detect file format / mime
- Contributors
- non text plain DB
Contributing
- Fork it ( https://github.com/codenoid/barachy/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
Repository
barachy
Owner
Statistic
- 2
- 0
- 0
- 0
- 1
- over 7 years ago
- July 25, 2017
License
MIT License
Links
Synced at
Wed, 25 Dec 2024 20:41:34 GMT
Languages