EPUB server and reader written in Crystal
NOTE: Mira is currently in development, but is close to being done! Contributions are very appreciated!
- Clone the repositry and cd into it
git clone https://github.com/pinnoto/mira && cd mira - Create a PostgreSQL database
- Set the
MIRA_CONFIGenvironment variable:export MIRA_CONFIG=/etc/mira/config.ymland configure it
port: 11880
library: /home/user/library
covers: /home/user/covers
open_registrations: true
db_name: mira
db_user: mira
db_password: replaceme123- Run
shards install - Build it with release optimizations
crystal build --release ./src/mira.cr
- Go into the
uifolder - Run
yarn installandyarn build - This will create a
distfolder that contains the built static files, which you can serve using NGINX.
TODO: Write usage instructions here
- Fork it (https://github.com/pinnoto/mira/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
- Troplo - creator and maintainer
- straw - creator and maintainer
- Giorgi Kavrelishvili - creator of Grip Framework, helped immensely with this project, and is a very kind person