Converts email newsletters to static HTML pages and an Atom feed.
Go to file
Jacob Kiers abf4c787ab Manually remove images instead of parsing
Instead of using all kinds of difficult libraries, just replace the
string "src" with "data-source". This covers most cases of removing
images.

This also removes the previously inlined kuchiki and sanitize-html-rs
libraries.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-08-02 23:19:24 +02:00
bin Manually remove images instead of parsing 2022-08-02 23:19:24 +02:00
.gitignore Add writing of HTML file 2022-06-10 13:46:07 +02:00
Cargo.lock Manually remove images instead of parsing 2022-08-02 23:19:24 +02:00
Cargo.toml Manually remove images instead of parsing 2022-08-02 23:19:24 +02:00
README.md Small code improvements 2022-06-12 20:39:35 +02:00

README.md

Newsletter to HTML

Converts a newsletter to static HTML files.

Features

Receive email

  • IMAP integration
  • Direct feeding of email message
  • Read from Maildir
  • Read from MBOX

Convert email to HTML

  • Generate static HTML files
  • Parse and add unsubscribe link
  • Where possible: remove tracking pixels / images
  • Prevent loading of scripts / images without user interaction

Create ATOM feed

  • One feed per newsletter
  • Index feed (containing all newsletters)?