Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/john-bokma/md2tweets
- Owner: john-bokma
- License: mit
- Created: 2021-06-15T09:03:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-06T14:01:50.000Z (over 3 years ago)
- Last Synced: 2024-12-02T14:29:14.771Z (2 months ago)
- Topics: markdown, perl, tumblelog, twitter
- Language: Perl
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```