Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/john-bokma/md2tweets

Create tweets from a tumblelog Markdown file
https://github.com/john-bokma/md2tweets

markdown perl tumblelog twitter

Last synced: 3 days ago
JSON representation

Create tweets from a tumblelog Markdown file

Awesome Lists containing this project

README

        

# md2tweets.pl

The Perl program `md2tweets.pl` is a companion to [`tumblelog`](https://github.com/john-bokma/tumblelog); it reads the input file of `tumbelog` and outputs tweets separated by '%', a format used by [`tweetfile`](https://github.com/john-bokma/tweetfile).

For example:

```
md2tweets --template-filename tweet.txt --blog-url https://plurrrr.com/ \
plurrrr.md > tweets.txt
```

Docker example:

```
docker run --rm --volume "`pwd`:/data:ro" --user `id -u`:`id -g` \
md2tweets --template-filename tweet.txt --blog-url https://plurrrr.com/ \
plurrrr.md > tweets.txt
```