Apple added international high quality voices to OS X Lion. This script pulls your latest articles from Instapaper converts them to aac
using OS X's say
and afconvert
commands. It uses Dropbox to host our audio files and the generated podcast feed.
- node.js, ImageMagick and MP4v2 --
brew install node imagemagick mp4v2
- paid 1$ per month Instapaper subscription for full api access
- OS X Lion for international language support
- create your config file --
cp config-sample.coffee config.coffee
- enter your Instapaper credentials
- adjust the Dropbox path
You can add voices for the languages you need.
How to for installing new voices on OS X Lion: instructions
Language detection is done by node-language-detect
If you don't want all articles in your podcast you can change the folder_id
to starred
or specify the id of a folder - more
node run.js
cp instapaper2podcast.plist ~/Library/LaunchAgents/instapaper2podcast.plist
- adjust the path in
~/Library/LaunchAgents/instapaper2podcast.plist
launchctl load ~/Library/LaunchAgents/instapaper2podcast.plist
The program will be executed every 20 minutes and check for new Instapaper articles.
Logging goes to system.log
you can monitor using Console.app
add http://dl.dropbox.com/u/DROPBOX-ID/instapaper-podcast/podcast.xml
to your favorite podcast client
- enjoy your podcast