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_CONFIG
environment variable:export MIRA_CONFIG=/etc/mira/config.yml
and 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
ui
folder - Run
yarn install
andyarn build
- This will create a
dist
folder 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