Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gromnitsky/podgraph

Post to Blogger or Wordpress via email; inline local images
https://github.com/gromnitsky/podgraph

blogger

Last synced: about 6 hours ago
JSON representation

Post to Blogger or Wordpress via email; inline local images

Awesome Lists containing this project

README

        

# Podgraph

Post to Blogger or Wordpress via email; inline local images.

Creates a special 'Multipart/Related' email from an html input.

## Installation

Ruby 2.7+

$ gem install podgraph

## Usage

Blogger:

$ pandoc post.md | podgraph | sendmail -i [email protected]

Wordpress:

$ pandoc post.md | podgraph [email protected] | sendmail -it

## Bugs

* WP strips out inlined svgs

## History

Once upon a time there was a blogging platform called Posterous. Its
main selling point was a 'post by email' feature. You could even email
images & they would appear neatly inlined within paragraphs (if your
email client supported composing such an email; many did).

Podgraph was initially written as a 'client' for Posterous: you wrote
your blog post in reStructuredText, converted it to html, piped the
result to 'podgraph' cmd, which grabbed all local images mentioned in
the html, made a 'Multipart/Related' email from them & delivered it to
sendmail.

Posterous has long been dead & gone. The 'post by email' feature was
copied by Blogger & Wordpress.

Recently I've tried to reuse podgraph for Blogger, but that endeavour
miscarried, for the script appeared to be hopelessly broken. Version
1.0.0 is a total rewrite.

## License

MIT