Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/d6y/dogpost

Formats a blog from email, uploading images to Github
https://github.com/d6y/dogpost

Last synced: about 1 month ago
JSON representation

Formats a blog from email, uploading images to Github

Awesome Lists containing this project

README

        

# Dogpost

Converts an email into a blog post.

Reads an IMAP email account, and commits a Hugo-style markdown post and images files to Github.

## How use use

```
dogpost [OPTIONS] --imap-user --imap-password --github-token --github-repo
```

NB:

- `--expurge` will archive/delete the email after processing.
- `--dry-run` will not commit files to Git, but will print information about file locations.

Requires https://imagemagick.org to be installed.

# Docker build

```
docker build -t dogpost .
docker run -it --rm --name running-dogpost dogpost
```

# License

Apache 2.0