Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

d6y/telepost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telepost

No longer maintained, in favour of https://github.com/d6y/dogpost

Reads an IMAP email account and writes JPEG attachments to the file system and creates a Markdown file for Telegr.am or Jekyll.

How use use

The main method expects the following arguments:

  • path to write the markdown blog post to
  • Google email adrress
  • Address password
  • S3 bucket name
  • S3 key
  • S3 secret

For example:

sbt "runMain Main blog/_posts me@example.org mypassw0rd images.bucket xxx yyy"

or:

$ sbt assembly
$ java -jar target/scala-2.11/telepost-assembly-1.0.1.jar blog/_post email pass bucket key secret

The subject is used as the title of the blog post and the filename.

It will then delete the email (archive it).

Serving suggestion

Run via cron, and wrapper in a script that either commits and pushes to your GitHub hosted telegr.am blog, or move to a Dropbox folder.

License

Apache 2.0

Contains code from https://github.com/hoisted/hoisted

About

IMAP email to Telegr.am format blog post files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages