Skip to content

Instantly share code, notes, and snippets.

@sillygwailo
Created February 12, 2014 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sillygwailo/8950520 to your computer and use it in GitHub Desktop.
Save sillygwailo/8950520 to your computer and use it in GitHub Desktop.
Open a Random Safari Reading List Item in Your Default Browser from the Command Line

Requirements:

  1. git clone https://github.com/anoved/ReadingListReader.git
  2. brew install coreutuils
  3. sudo brew link coreutils
  4. cd ReadingListReader
  5. chmod +x readinglistreader.py

Command to run:

  • ./readinglistreader.py --fields url | gsort -R | head -n 1 | xargs open

This will not, unfortunately, remove it from your Reading List.

For more information on ReadingListReader, a Python library and tools for working with Safari's Reading List, visit the project's README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment