Grimmory is a self-hosted app that brings your entire book collection under one roof. Organise, read, annotate, sync, and share.
This is an unofficial snap. After installing, and waiting for the the various services to start, your instance will be accessible at http://localhost:41935
You'll probably want to connect the snap as follows to allow access your books which should be in /mnt/somewhere or /media/somewhere so that the snap can access them:
sudo snap connect grimmory:removable-media
sudo snap connect grimmory:mount-observe
There are three services, nginx (the web server), grimmory-api (the backend API server), and mariadb (the database server). The database files and logs are stored in the snap's data directory, which is preserved across snap updates.
Ports
You can change the port that each service uses with the following commands:
For the port that nginx listens on (default 41935):
sudo snap set grimmory port=<desired-port>
For the port that MariaDB listens on (default 41936):
sudo snap set grimmory database-port=<desired-port>
For the port that grimmory-api listens on (default 41937):
sudo snap set grimmory api-port=<desired-port>
After changing the ports, you will need to restart the snap for the changes to take effect:
sudo snap restart grimmory
Database
If you need to connect to the MariaDB database from outside the snap, the username is grimmory and you can use the following command to get the password:
snap get grimmory database-password
You can also connect with the following command as root:
sudo mariadb --socket=/var/snap/grimmory/common/run/mysql/mysqld.sock -u root --skip-ssl
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
If you’re running Kubuntu 16.04 LTS (Xenial Xerus) or later, including Kubuntu 18.04 LTS (Bionic Beaver) and Kubuntu 18.10 (Cosmic Cuttlefish), you don’t need to do anything. Snap is already installed and ready to go.
Versions of Kubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf) don’t include snap by default, but snap can be installed from the command line as follows:
sudo apt update
sudo apt install snapd
To install Grimmory, simply use the following command:
sudo snap install grimmory --beta
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.