- 新型コロナウイルス感染症対策に関するオープンデータ項目定義書フォーマットで提供されている(またはプログラムにとって可読性の高いファイルが提供されている)都道府県のデータを10分に1回クロールして新規感染者がでた場合はTweetし、Blogにも投稿します。
- 運用しているTwitter Botは神奈川県のみになります。その他の都道府県のアカウントはBanされてしまいました。
- pull-requestやissueの内容の解決はウェルカムです。
- This program tweets once a day to report the number of positiver person of COVID-19. Some government of prefectures provide with COVID-19 report open deta definitions format this program check the file update and tweet if there are new records.
- pull-request and resolving issues are welcomed.
- List of operating twitter bot.
% cp twitter.yaml.template twitter.yaml
% vi twitter.yaml
% cp wordpress.yaml.template wordpress.yaml
% vi wordpress.yaml
% docker-compose run --rm app bundle
Manually
% docker-compose run app bundle exec ruby main.rb
Daemon in background
% docker-compose up -d
15,30,45,59 9-14 * * * cd /home/matsu/ghq/github.com/matsubo/covid19-daily-tweet && docker-compose run --rm app bundle exec ruby today.rb > /tmp/covid19.log 2>&1
% docker-compose run -e TEST=true app bundle exec rspec
- By code, pull requests are welcomed.
- By supplying caffein.