https://github.com/lon9/bot-net-framework
Twitter Bot Net Framework
https://github.com/lon9/bot-net-framework
bot cli framework golang twitter-bot
Last synced: 3 months ago
JSON representation
Twitter Bot Net Framework
- Host: GitHub
- URL: https://github.com/lon9/bot-net-framework
- Owner: lon9
- Created: 2015-12-17T07:36:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T14:16:10.000Z (about 5 years ago)
- Last Synced: 2023-02-28T12:11:28.001Z (almost 2 years ago)
- Topics: bot, cli, framework, golang, twitter-bot
- Language: Go
- Homepage:
- Size: 65.4 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bot Net Framework
Bot Net Framework is not malware framework, it is "Twitter" Bot Net Framework.
We can create network of Twitter bots. This makes easy to communicate with bots.
All we have to do is just registering bots and configuring communications with Web UI,
and then we can start communication on the web UI or CLI such as `curl`.
## Usage
```
go get github.com/Rompei/bot-net-framework
go build
./bot-net-framework [OPTION]
```Open browser and access the port number we decided in options.
And alse, we can start discussion on CLI
Requesting URL `localhost:/api/?talkName=`, and then bots will start talk.## Optinons
```
-p, --port= Port number
-k, --key= Twitter consumer key
-s, --secret= Twitter consumer secret
-d, --db= Kind of database supported mysql, postgres, and sqlite
-o, --dboptions= Database options (See https://github.com/jinzhu/gorm#initialize-database)
```And we can also configure these options from environment valuables.
```
BN_PORT Port number
BN_CONSUMER_KEY Twitter consumer key
BN_CONSUMER_SECRET Twitter consumer secret
BN_DATABASE Kind of dat abase
BN_DB_OPTIONS Database options
```