theoremoon / ShellgeiBot

シェル芸を実行しちゃう危険なbot
Apache License 2.0
170 stars 15 forks source link

ShellGeiBot

Go Report Card

Twitter

Specification

Official Docker Image

Development

Build shellgei bot.

make build

Testing.

make test

Run

An example of TwitterConfig.json

{
    "ConsumerKey": "<your twitter app's consumer key>",
    "ConsumerSecret": "<your twitter app's consumer secret>",
    "AccessToken": "<your account's access token>",
    "AccessSecret": "<your account's access secret>"
}

An example of ShellgeiConfig.json

{
    "dockerimage": "theoldmoon0602/shellgeibot:master",
    "timeout": "20s",  // timeout
    "workdir": ".",    // where to make temporary directories
    "memory": "100M",  // max memory size of docker container
    "mediasize": 250,  // max media size to be able to creaate
    "tags": ["シェル芸", "危険シェル芸", "ゆるシェル"]  // trigger tags
}
<Usage>./ShellgeiBot: TwitterConfig.json ShellgeiConfig.json | -test ShellgeiConfig.json script

3rd parties

Author

theoldmooon0602

LICENSE

Apache License