Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sue445/ccc_privacy_crawler

Tカードの 個人情報提供の停止 対象企業一覧 の新着を通知するためのTwitterボットです
https://github.com/sue445/ccc_privacy_crawler

Last synced: about 2 months ago
JSON representation

Tカードの 個人情報提供の停止 対象企業一覧 の新着を通知するためのTwitterボットです

Awesome Lists containing this project

README

        

# CCC Privacy Crawler
Tカードの [個人情報提供の停止 対象企業一覧](https://ssl.help.tsite.jp/faq/show/43526?category_id=4281&site_domain=qa-tsite) の新着を通知するためのTwitterボットです

* Twitter: https://twitter.com/ccc_privacy_bot
* Twilog: http://twilog.org/ccc_privacy_bot
* webアプリ: https://ccc-privacy-crawler.herokuapp.com/

[![build](https://github.com/sue445/ccc_privacy_crawler/actions/workflows/build.yml/badge.svg)](https://github.com/sue445/ccc_privacy_crawler/actions/workflows/build.yml)
[![Circle CI](https://circleci.com/gh/sue445/ccc_privacy_crawler/tree/heroku.png?style=badge)](https://circleci.com/gh/sue445/ccc_privacy_crawler/tree/heroku)
[![Code Climate](https://codeclimate.com/github/sue445/ccc_privacy_crawler/badges/gpa.svg)](https://codeclimate.com/github/sue445/ccc_privacy_crawler)
[![Coverage Status](https://img.shields.io/coveralls/sue445/ccc_privacy_crawler.svg)](https://coveralls.io/r/sue445/ccc_privacy_crawler)

## Requirements
* Ruby

## Setup
* create twitter app and generate access token
* https://apps.twitter.com/

```bash
cp .env{.example,}
vi .env

bundle install
bundle exec padrino rake ar:create ar:migrate
```

## Run development
run local server

```bash
bundle exec padrino s
open http://localhost:3000/
```

run crawler

```bash
bundle exec rake crawl_pdf
```

## Test
```bash
RACK_ENV=test bundle exec rake ar:migrate
bundle exec rspec
```