mira

EPUB media server written in Crystal

mira

EPUB server and reader written in Crystal

NOTE: Mira is currently in development, but is close to being done! Contributions are very appreciated!

Installation (Backend)

  1. Clone the repositry and cd into it git clone https://github.com/pinnoto/mira && cd mira
  2. Create a PostgreSQL database
  3. 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
  1. Run shards install
  2. Build it with release optimizations crystal build --release ./src/mira.cr

Installation (Frontend)

  1. Go into the ui folder
  2. Run yarn install and yarn build
  3. This will create a dist folder that contains the built static files, which you can serve using NGINX.

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it (https://github.com/pinnoto/mira/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • 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
Repository

mira

Owner
Statistic
  • 9
  • 1
  • 2
  • 0
  • 5
  • almost 2 years ago
  • June 21, 2021
License

GNU General Public License v3.0

Links
Synced at

Fri, 22 Nov 2024 04:10:00 GMT

Languages