snowforecast-twitter-bot

command module
v0.0.0-...-3d1b5a8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 14 Imported by: 0

README

SnowforecastTwitterBot

Go

Twitter

  • @snowfall_bot

    • 毎日主要スキー場の降雪予報をツイートする

    • リプライに反応して対応したスキー場の降雪予報をリプライする(漢字でもひらがなでもローマ字でも対応)

Setup

// Install git
$ apt-get update
$ apt-get install git-all

// Install docker-compose
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose

// Clone this repository
$ git clone https://github.com/kotaroooo0/snowforecast-twitter-bot.git
$ cd snowforecast-twitter-bot

// Set .env
$ vi app/.env

// Boot!
$ docker-compose up -d

A example of .env

CONSUMER_KEY=<your twitter app's consumer key>
CONSUMER_SECRET=<your twitter app's consumer secret>
ACCESS_TOKEN_KEY=<your account's access token>
ACCESS_TOKEN_SECRET=<your account's access secret>

Command for Develop

You can use Makefile.

WIP

Author

kotaroooo0

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apiclient
docker-compose
es

Jump to

Keyboard shortcuts

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