Send To Kindle

gRPC microservices to convert and send webpages to a Kindle

Simple Flask REST API with beautifully crafted gRPC microservice architecture that takes the URL of a web page, finds the main article text, converts it to an ebook, and emails to a Kindle email address. I created endpoints to accept a URL or the actual HTML to send to the Kindle. The later endpoint supports sites with logins, popups or attempts to catch scraping tools and integrates Readability JS to identify main page content.

Features

  • Microservice architecture built with gRPC
  • Built with Docker
  • Kubernetes ready
  • Uses PyTest monkeypatch to prevent email sending in test
  • Generates a bookmarklet during the registration process which includes a token for API authentification
  • Well commented and conforming to PEP8 and detailed docstrings

Links