botoftheday

command module
v0.0.0-...-bb1226f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2017 License: MIT Imports: 18 Imported by: 0

README

Build Status Go Report Card Go Releaser Code Coverage

botoftheday

Just a Bot that monitors other Bots ++

Bot of the Day

The source code of @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.

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

# 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL