Some scripts found and thrown together to easily download a working instapaper epub with the kobo browser. The scripts were edited and Dropbox and a bookmark trick were added to be able to load the epub without using a cable.
I want to read Instapaper articles with as few steps as possible on my Kobo Touch. For now there are two options to my knowledge:
- Use Calibre to automatically download your Instapaper feed. (Easy process, but you need to use a cable connection)
- Use this (no cable, but with an extra step required)
(Hopefully the folks at Kobo solve this with their sync application making this 'hack' obsolete)
- Have a shell script to download the Instapaper epub.
- Save it to Dropbox Public folder
- Make a bookmark in the Kobo browser to that public Dropbox file
In order to get a new epub you have to:
- Run the shell script on your computer
- Load the bookmark on your Kobo
Setting up a cron job may cut the first step if you wish.
- bash
- perl
- dropbox
-
clone from github
-
create file ~/.instapaper2koborc with contents:
INSTAPAPER_USERNAME=".@." INSTAPAPER_PASSWORD="..." DROPBOX_PATH="/absolute/path"
-
install some cpan modules:
- run
sudo cpan
(you may have to configure cpan then (just press yes)) - run
install Mozilla::CA
- run
-
you may want to alias the script in your .bashrc or .zshrc or maybe even alter your $PATH to be able to call instapaper2kobo directly
- After you have run the script for the first time go to dropbox and copy the link to the created file at Dropbox/Public/instapaper.epub
- Make a bookmark in the kobo browser (whatever)
- Connect the kobo to your computer
- Edit the bookmark in your favorite editor at /kobo-path/.kobo/Kobo/Kobo eReader.conf (escape it like the saved bookmark)
You can now download the instapaper ebook by only opening the browser and clicking the bookmark.
- Open Nomad: http://opennomad.com/content/instapaper-epub-issues
- throughnothing: https://gist.github.com/941581