Crates.io | twitter-bot |
lib.rs | twitter-bot |
version | 0.3.1 |
source | src |
created_at | 2020-08-05 10:21:17.450346 |
updated_at | 2020-11-15 16:29:39.489814 |
description | A good bot that tweets automatically for every new blog post |
homepage | https://github.com/gabelluardo/twitter-bot |
repository | https://github.com/gabelluardo/twitter-bot |
max_upload_size | |
id | 273146 |
size | 52,199 |
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
twitter-bot © gabelluardo
Released under the MIT License.