Artwork

Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

HPR2209: Calibre eBook Server

 
Share
 

Archived series ("Inactive feed" status)

When? This feed was archived on February 10, 2021 18:12 (3y ago). Last successful fetch was on February 26, 2021 20:39 (3y ago)

Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 170460755 series 49648
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

You can share your Calibre ebook library by running the calibre-server daemon, either from your desktop machine or on a server that is available on your local network. (Or, if you have it set up that way, it can be outward-facing to the wide world.)

To share your library from the desktop Calibre application, choose Connect/share from the menu at the top of the window, then choose Start Content Server. Make a note of the IP address and port, and then you can use other devices on your network to access the library at that address. Normally I use the "Get Books" function of the Marvin ebook app on my iPad, or else the "Experimental Browser" on my Kindle and download the books directly to the devices. On my Android phone, I use the Chrome browser and then long press on the link to an Epub file, choose to save to device, and then open it using FBreader.

To share the library from your GNU/Linux server, you'll have to install Calibre on the server and then put a copy of your ebook Library on the server as well. To start and stop the server daemon, you need to put a service startup script in the /etc/init.d directory with all of the other system startup scripts. An example is given below—fill in with the appropriate paths and user data for your setup. (See the calibre-server user manual for a full list of options and their descriptions.) When the script is in place and has executable permissions, you start and stop the service as follows (as root):

service calibre-server start|stop|restart 

Service Startup Script

#!/bin/bash CALIBRE_LIBRARY_PATH="/path/to/CalibreLibrary" PIDFILE=/tmp/calibre-server.pid USER= # run daemon as this user LOGIN= # to log into library (optional) PW= # to log into library (optional) PORT=3456 start() { echo "Starting Calibre server..." su -c "calibre-server --with-library=\"$CALIBRE_LIBRARY_PATH\" --username=$LOGIN --password=$PW -p $PORT --pidfile=$PIDFILE --daemonize" & if [ $? -ne 0 ]; then echo "Could not start calibre-server." fi } stop() { echo "Stopping Calibre server..." if [ -e $PIDFILE ]; then read PID < $PIDFILE ps aux | grep "$PID" | grep 'calibre-server' > /dev/null RUNNING=$? if [ $RUNNING -eq 0 ]; then kill $PID if [ $? -eq 0 ]; then rm $PIDFILE fi else echo "Could not find a calibre-server process with PID $PID." fi else echo "Could not find pidfile: $PIDFILE" fi } restart() { stop start } status() { if [ -e $PIDFILE ]; then read PID < $PIDFILE echo "calibre-server is running with PID $PID." else echo "calibre-server is not running." fi } unknown() { echo "Unrecognized command: $1" echo "Try one of the following: (start|stop|restart|status)" } case $1 in start ) start ;; stop ) stop ;; restart ) restart ;; status ) status ;; * ) unknown ;; esac 

Links

  • Calibre ebook Management Software
  • Marvin ebook app for iOS
  • FBreader open-source multi-platform ebook reader.
  continue reading

3280 episodes

Artwork

HPR2209: Calibre eBook Server

Hacker Public Radio

74 subscribers

published

iconShare
 

Archived series ("Inactive feed" status)

When? This feed was archived on February 10, 2021 18:12 (3y ago). Last successful fetch was on February 26, 2021 20:39 (3y ago)

Why? Inactive feed status. Our servers were unable to retrieve a valid podcast feed for a sustained period.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 170460755 series 49648
Content provided by HPR Volunteer and Hacker Public Radio. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by HPR Volunteer and Hacker Public Radio or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

You can share your Calibre ebook library by running the calibre-server daemon, either from your desktop machine or on a server that is available on your local network. (Or, if you have it set up that way, it can be outward-facing to the wide world.)

To share your library from the desktop Calibre application, choose Connect/share from the menu at the top of the window, then choose Start Content Server. Make a note of the IP address and port, and then you can use other devices on your network to access the library at that address. Normally I use the "Get Books" function of the Marvin ebook app on my iPad, or else the "Experimental Browser" on my Kindle and download the books directly to the devices. On my Android phone, I use the Chrome browser and then long press on the link to an Epub file, choose to save to device, and then open it using FBreader.

To share the library from your GNU/Linux server, you'll have to install Calibre on the server and then put a copy of your ebook Library on the server as well. To start and stop the server daemon, you need to put a service startup script in the /etc/init.d directory with all of the other system startup scripts. An example is given below—fill in with the appropriate paths and user data for your setup. (See the calibre-server user manual for a full list of options and their descriptions.) When the script is in place and has executable permissions, you start and stop the service as follows (as root):

service calibre-server start|stop|restart 

Service Startup Script

#!/bin/bash CALIBRE_LIBRARY_PATH="/path/to/CalibreLibrary" PIDFILE=/tmp/calibre-server.pid USER= # run daemon as this user LOGIN= # to log into library (optional) PW= # to log into library (optional) PORT=3456 start() { echo "Starting Calibre server..." su -c "calibre-server --with-library=\"$CALIBRE_LIBRARY_PATH\" --username=$LOGIN --password=$PW -p $PORT --pidfile=$PIDFILE --daemonize" & if [ $? -ne 0 ]; then echo "Could not start calibre-server." fi } stop() { echo "Stopping Calibre server..." if [ -e $PIDFILE ]; then read PID < $PIDFILE ps aux | grep "$PID" | grep 'calibre-server' > /dev/null RUNNING=$? if [ $RUNNING -eq 0 ]; then kill $PID if [ $? -eq 0 ]; then rm $PIDFILE fi else echo "Could not find a calibre-server process with PID $PID." fi else echo "Could not find pidfile: $PIDFILE" fi } restart() { stop start } status() { if [ -e $PIDFILE ]; then read PID < $PIDFILE echo "calibre-server is running with PID $PID." else echo "calibre-server is not running." fi } unknown() { echo "Unrecognized command: $1" echo "Try one of the following: (start|stop|restart|status)" } case $1 in start ) start ;; stop ) stop ;; restart ) restart ;; status ) status ;; * ) unknown ;; esac 

Links

  • Calibre ebook Management Software
  • Marvin ebook app for iOS
  • FBreader open-source multi-platform ebook reader.
  continue reading

3280 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide