a koreader plugin to send metadata about my library to my personal site
in your terminal, export the following variables:
export BOOKGETTR_SERVER_URL=""
export BOOKGETTR_API_KEY=""
then run koreader using
./kodev run
the api key will have to be configured on your server. it is what's used for authentication requests between bookgettr. if you're a crazy person that doesn't have auth, then this is unnecessary. we assume that the token you give us is a bearer token, and we will be sending it as a header
this has only been tested with a kindle, so your mileage may vary on other ereaders. HOWEVER, to get this installed on your kindle:
-
plug in your kindle to your pc
-
find your kindle's storage using
lsblk -
mount your kindle onto your machine:
mkdir /mnt/kindle
sudo mount /dev/sda1 <-- (example only) /mnt/kindle
-
cp -r ~/koreader/plugins/bookgettr.koplugin /mnt/kindleto copy over the contents of this plugin -
modify your
platform/kindle/koreader.sh, at the very top of the file, add the following lines
export BOOKGETTR_SERVER_URL="your_servers_url"
export BOOKGETTR_API_KEY="that_api_key_we_talked_about"