yaitaimo / pystickies

Print OS X stickies to the terminal, even from another OS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#pystickies

Converts the database from the Mac's "Stickies" program into RTF files, one per sticky. This is platform-independent, it doesn't use Cocoa to do the conversion, but rather uses heuristics to find the RTF data within the Stickies database.

##Requirements

pyth

termcolor (optional, for printing to the terminal)

##Examples

###Print your stickies to the terminal

./pystickies.py ~/Library/StickiesDatabase

###Output RTF files to a directory

 ./pystickies.py --rtf ~/path/to/dir ~/Library/StickiesDatabase

#htmlsync

One-directionally syncs the Stickies database to a directory of HTML files. Only works on OS X, thanks to the lovely 'textutil' text conversion tool.

#launchdgen

A launchd agent that watches the Stickies database for changes, and keeps it always in sync with a directory of HTML files.

###Put your Stickies on Dropbox

./launchdgen.py --launchAgent ~/Dropbox/Stickies

About

Print OS X stickies to the terminal, even from another OS

License:Other


Languages

Language:Python 100.0%