Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 1.62 KB

README.md

File metadata and controls

77 lines (50 loc) · 1.62 KB

ShellGeiBot

Go Report Card

Twitter

Specification

Official Docker Image

Development

  • go version go1.12.7

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