https://github.com/andefined/botoftheday
https://github.com/andefined/botoftheday
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/andefined/botoftheday
- Owner: andefined
- License: mit
- Created: 2017-09-19T10:35:10.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T15:39:35.000Z (over 8 years ago)
- Last Synced: 2025-02-05T09:17:36.221Z (over 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/andefined/botoftheday)
[](https://goreportcard.com/report/github.com/andefined/botoftheday)
[](https://goreportcard.com/report/github.com/plagiari-sm/andefined/botoftheday/latest)
[](https://codecov.io/gh/andefined/botoftheday/releases/latest)
##### botoftheday
> Just a Bot that monitors other Bots ++
## Bot of the Day
The source code of [@BotOfTheDay_](https://twitter.com/BotOfTheDay_).
Twitter **Bots** are a major issue nowadays. **Trump** won the elections because of Bots. This CLI simple streams data for a given **User** and generates a couple of basic charts (Activity, Mentions) regarding the User and his/her Bot.
#### Config Template
I am using 2 Twitter application because the one that **posts** the tweets, might get blocked.
```yaml
stream:
consumer-key: xxx
consumer-secret: xxx
access-token: xxx-xxx
access-token-secret: xxx
list:
consumer-key: xxx
consumer-secret: xxx
access-token: xxx-xxx
access-token-secret: xxx
```
#### Pipeline
```bash
# Stream Data
botoftheday -conf conf/bot.yaml -path path/to/folder/ -user username stream
# Create the daily output
botoftheday -conf conf/bot.yaml -path path/to/folder/ -user username list
# Generate the charts (.png)
botoftheday -conf conf/bot.yaml -path path/to/folder/ -user username generate
# Post on twitter
botoftheday -conf conf/bot.yaml -path path/to/folder/ -user username post
```