route/vendor/github.com/Xe/x/mastodon/furrybb
Cadey Ratio 50c1deaa7d
change from vendor to dep
2017-10-06 08:29:20 -07:00
..
.gitignore change from vendor to dep 2017-10-06 08:29:20 -07:00
README.md change from vendor to dep 2017-10-06 08:29:20 -07:00
gopreload.go change from vendor to dep 2017-10-06 08:29:20 -07:00
gops.go change from vendor to dep 2017-10-06 08:29:20 -07:00
main.go change from vendor to dep 2017-10-06 08:29:20 -07:00
vendor-log change from vendor to dep 2017-10-06 08:29:20 -07:00

README.md

furrybb

This boosts any toots with the tag #furry, but this can be used for other hashtags too. Usage is simple:

$ go get github.com/Xe/x/mastodon/furrybb
$ cd $GOPATH/src/github.com/Xe/x/mastodon/furrybb
$ go get github.com/Xe/x/mastodon/mkapp
$ mkapp
Usage of [mkapp]:
  -app-name string
    	app name for mastodon (default "Xe/x bot")
  -instance string
    	mastodon instance
  -password string
    	password to generate token
  -redirect-uri string
    	redirect URI for app users (default "urn:ietf:wg:oauth:2.0:oob")
  -username string
    	username to generate token
  -website string
    	website for users that click the app name (default "https://github.com/Xe/x")
exit status 2
$ mkapp [your options here] > .env
$ echo "HASHTAG=furry" >> .env
$ go build && ./furrybb

once you see:

time="2017-04-22T19:25:28-07:00" action=streaming.toots

you're all good fam.