Run a Calibre e-book server on a balena device!
- Create an application for your chosen device type
- Deploy the code to the device using the balenaCLI (
balena push AppName
) or follow the docs on how to deploy code - Add a new device to that application
- Once the device shows up online, it should download the application images
- Add a new user to a device using the information below (either by the relevant environnment variables or command line helper tools)
- You can access your library at the device's IP address (over the
http
interface, on port 80) on the local network. - If you enable the Public Device URL of the device, you will be able access your library remotely
On the local network, you can also use the Calibre Companion Android app to automatically discover and connect to the server.
- To add a user to the server (which is required before the server is first run), set a
USERNAME
andPASSWORD
environment or service variable. If you change the value ofPASSWORD
, the service will restart and the given user's password will be changed. If you change the username, a new user will be created with that name and password. - To add more users or change permissions, etc, you can use the shipped
users.sh
convenience script which will stop the server, and run the Calibre user modification menu with the right settings. Once finished with that, just restart the service.