Skip to main content

Generate EPUB from Instapaper

Project description

Portable Wisdom

Build Status

Portable Wisdom is a command-line tool to generate EPUB files from your recent unread articles in Instapaper. You can then copy these files to your ereader.

Technologies

  • Python 3

Features

  • Retrieves unread articles from Instapaper
  • Finds and downloads images from the web, downsizes them, converts them to greyscale, and embeds them into the file
  • Caches articles and images, runs fast for heavy users
  • Creates well-formatted EPUB files tailored for your ereader

Quick Start

  1. Download and install Portable Wisdom from PyPI:

     $ pip install portable-wisdom
    
  2. Request an Instapaper API key. (Or copy one from a friend.)

  3. Run Portable Wisdom from the command line:

     $ portable-wisdom --instapaper-key KEY \
     	--instapaper-secret SECRET \
     	--instapaper-login USER \
     	--instapaper-password PASS
    

On success, the script will print the output filename. To view all of the options, run $ portable-wisdom -h.

Compatibility

Portable Wisdom uses EbookLib to create EPUB files. These files are compatible with most ereaders—including Nook, Kobo, and Sony—as well as most ebook software. Kindle owners can use Pandoc or a similar tool to convert from EPUB to MOBI.

Styles

Portable Wisdom supports styles (--style) to create EPUB files optimized for your ereader's rendering engine. These styles are regular CSS files. They specify header sizes, image layout, quote formatting, etc. Use the default style or create your own.

Contributing

To report a bug or request a feaure, create an issue on GitHub. Developers are welcome and encouraged to submit pull requests, but contributors should strongly consider creating an issue and requesting comments before starting work.

Guidelines

  • Comply with PEP 8 (use Flake8 to confirm)
  • Run and pass all tests
    • Create new tests or refine existing ones, if necessary

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portable_wisdom-0.1.2.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file portable_wisdom-0.1.2.tar.gz.

File metadata

  • Download URL: portable_wisdom-0.1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for portable_wisdom-0.1.2.tar.gz
Algorithm Hash digest
SHA256 998e16daa54a0d1a850e0ac07bc3652efe460759de235bed4654294d99a8c182
MD5 583df041dcf2eebfb5d795045b05df14
BLAKE2b-256 153f0089be9837ceccf661620721b2bd7d974ee91b4aac192415ce2b8442e81f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page