Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/d6y/dogpost
- Owner: d6y
- License: apache-2.0
- Created: 2020-12-01T19:17:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T06:53:36.000Z (8 months ago)
- Last Synced: 2024-04-20T07:34:26.133Z (8 months ago)
- Language: Rust
- Homepage:
- Size: 6.11 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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