Skip to content

Takes messy Livescribe input, cleans it up, treats it as Markdown, and emails or POSTs it as HTML.

License

Notifications You must be signed in to change notification settings

Arthaey/livescribe

Repository files navigation

livescribe

The Livescribe smartpen in a pretty cool tech toy, but it's not perfect, especially not for formatted output. This script treats Livescribe's OCR output as messy almost-Markdown, then emails or POSTs its cleaned up HTML to the destination of your choice.

Note: use at your own risk. I'm the only user of this script so far, so it's not entirely generic.

Installation

  • git clone
  • bundle install
  • copy .forward to the home directory of the server that will receive emails

Usage

Usage: mail_livescribe.rb [options]
    -d, --[no-]dry-run               Do not really send email
    -v, --[no-]verbose               Show verbose information
    -p, --[no-]print                 Print converted input
    -e, --[no-]email-input           Input is a forwarded email
    -t, --[no-]to EMAIL              To: email address
    -c, --[no-]cc EMAIL              Cc: email address
    -f, --[no-]from EMAIL            From: email address
    -u, --url URL                    Url to POST data to

See settings.yml.template for an example of the settings that are available.

If the file dictionary.yml exists, words will be searched and replaced based on it.

POST to a url

If using the "POST to a url" option, it can expect snippet to contain the HTML output and is_html to be 1.

There can only be one occurrence of "CONTINUE HERE" in the doc. In particular, it cannot appear in both a table of contents and the document body itself.

About

Takes messy Livescribe input, cleans it up, treats it as Markdown, and emails or POSTs it as HTML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages