#bot #tweet #twitter #blog #blog-post #automatic #rss

app twitter-bot

A good bot that tweets automatically for every new blog post

3 releases (breaking)

0.3.1 Nov 15, 2020
0.3.0 Nov 15, 2020
0.2.0 Nov 2, 2020
0.1.0 Aug 5, 2020

#16 in #blog-post

MIT license

15KB
132 lines

Twitter-bot

Simple bot that keeps synchronized a blog wiht rss feed and a twitter account.

All twitter-developer credentials are enviroment variables stored in .env file.

RSS=
USER_ID=
CONSUMER_KEY=
CONSUMER_SECRET=
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=

or via cli

twitter-bot 
    --access-token <access-token> \
    --access-token-secret <access-token-secret> \
    --bearer-token <bearer-token> \
    --consumer-key <consumer-key> \
    --consumer-secret <consumer-secret> \
    --rss <rss> \
    --user-id <user-id>

RSS is the url of the blog feed

Author

twitter-bot © gabelluardo
Released under the MIT License.

Dependencies

~28–42MB
~809K SLoC