{"id":15454493,"url":"https://github.com/dodonki1223/eroge_release_cmd","last_synced_at":"2025-10-23T16:09:15.707Z","repository":{"id":39872731,"uuid":"163595700","full_name":"dodonki1223/eroge_release_cmd","owner":"dodonki1223","description":"美少女ゲームの発売リストをコマンドラインで操作するツールです","archived":false,"fork":false,"pushed_at":"2023-04-12T05:46:13.000Z","size":714,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T00:45:25.119Z","etag":null,"topics":["cli-app","google-drive-ruby","rspec","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dodonki1223.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-30T15:02:54.000Z","updated_at":"2023-01-09T18:19:11.000Z","dependencies_parsed_at":"2022-09-21T02:57:15.178Z","dependency_job_id":null,"html_url":"https://github.com/dodonki1223/eroge_release_cmd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Feroge_release_cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Feroge_release_cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Feroge_release_cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Feroge_release_cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodonki1223","download_url":"https://codeload.github.com/dodonki1223/eroge_release_cmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249834750,"owners_count":21331987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-app","google-drive-ruby","rspec","ruby"],"created_at":"2024-10-01T22:03:26.349Z","updated_at":"2025-10-23T16:09:15.603Z","avatar_url":"https://github.com/dodonki1223.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eroge_release_cmd\n\n![サンプル](/image/sample.gif)\n\n## なんのソフト？\n  \n[げっちゅ屋](http://www.getchu.com/top.html?gc=gc)の[発売日リスト](http://www.getchu.com/all/price.html?genre=pc_soft\u0026year=2019\u0026month=3\u0026gage=\u0026gall=all)ページをスクレイピングしてその内容をコマンドで確認することができます。  \n「今月はどんなゲームが発売されるのか？」、「推しの声優が出演しているゲームが発売されるのか？」、「大好きなあのメーカーは今月ゲームを発売するのか？」などの要望に答えることができるコマンドラインツールです。  \n\n## 特徴\n\nスクレイピングは時間がかかるものです。  \nこのコマンドラインツールにはキャッシュ機能が盛り込まれています。\n年月単位で以前実行されたコマンドの結果をキャッシュし２回目に実行する時はそのキャッシュから読み込むので高速にコマンドの結果を確認することができます。\n\n## インストール方法\n\n```shell\n$ git clone https://github.com/dodonki1223/eroge_release_cmd.git\n$ cd eroge_release_cmd\n$ bundle install\n```\n\n## Googleスプレッドシートの設定\n\nGoogleスプレッドシートに書き込みをする機能を使用する場合は下記の手順が必要です。  \n※[google-drive-ruby](https://github.com/gimite/google-drive-ruby)を使用しているため[google-drive-ruby](https://github.com/gimite/google-drive-ruby)の設定が必要です\n\n1. [google-drive-ruby](https://github.com/gimite/google-drive-ruby)を使用できるようにする\n2. 書き込みを行なうGoogleスプレッドシートのIDを設定する\n\n### 1. [google-drive-ruby](https://github.com/gimite/google-drive-ruby)を使用できるようにする \n\n[google-drive-rubyの認証手順](https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md#authorization)の通りに[On behalf of you (command line authorization)](On behalf of you (command line authorization))の8まで進めて下さい  \nclient_id、client_secretがわかったらメモして下さい\n\n```shell\n# サンプルファイルからgoogle-drive-rubyの設定ファイルを作成して下さい\ncp eroge_release/spreadsheet/google_drive_config_sample.json eroge_release/spreadsheet/google_drive_config.json\n```\n\n下記のclient_idとclient_secretにメモした内容を入力してください\n\n```json\n{\n  \"client_id\": \"xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com\",\n  \"client_secret\": \"xxxxxxxxxxxxxxxxxxxxxxxx\"\n}\n```\n\nこれ以降の設定は不要です\n\n### 2. 書き込みを行なうGoogleスプレッドシートのIDを設定する\n\nGoogleDriveにスプレッドシートを作成しそのURLを確認して下さい\n\n例：\n```\nhttps://docs.google.com/spreadsheets/u/1/d/xxxxxxxxxxxxxxxxxxxxxxx/edit?usp=drive_web\u0026ouid=107294483781638928010\n```\n\n`xxxxxxxxxxxxxxxxxxxxxxx`の部分がGoogleスプレッドシートのIDになります\n\n```shell\n# サンプルファイルからGoogleスプレッドシートのの設定ファイルを作成して下さい\ncp eroge_release/spreadsheet/spreadsheet_sample.conf eroge_release/spreadsheet/spreadsheet.conf\n```\n\n下記コードの`Your Sheet Id`の部分に`GoogleスプレッドシートのID`を入力して下さい\n\n```ini\n# 書き込み用GoogleスプレッドシートID設定\n[GoogleSpreadSheet]\nid = Your Sheet ID\n```\n\n## 3. Googleスプレッドシートへの書き込みの認証を行う\n\n下記コマンドを実行します\n\n```shell\n$ bundle exec getchuya -c -s\n```\n\n実行すると、下記のようなことを聞かれます\n\n```shell\n1. Open this page:\n2. Enter the authorization code shown in the page:\n```\n\n聞かれたら`1. Open this page:`にかかれているURLにアクセスし、画面の通りにするめると`このコードをコピーし、アプリケーションに切り替えて貼り付けてください。`と言われるページまで遷移したらコードをコピーする  \n\n`2. Enter the authorization code shown in the page:`のところにコピーしたコードを貼り付けてEnterを押すことでGoogleスプレッドシートへの書き込みが可能になります\n\n## 使用方法\n\n下記コマンドで今月の発売リストの情報を表示します\n\n```shell\n$ bundle exec getchuya\n```\n\nオプションは以下の通りです\n\n```shell\nUsage: getchuya [options]\n    -h, --help                       Show this help\n        --robots                     Display contents of robots.txt\n    -y, --year_month [YEAR_MONTH]    Set Target Year And Month\n    -v, --voice_actor [VOICE_ACTOR]  Narrow down by voice actor name\n    -t, --title [TITLE]              Filter by title\n    -b, --brand_name [BRAND_NAME]    Narrow down by brand_name\n    -o, --open [OPEN]                Open game page in browser\n    -c, --csv [CSV]                  Create a csv file\n    -j, --json [JSON]                Create a json file\n    -s, --spreadsheet [SPREADSHEET]  Write to spreadsheet from CSV\n        --open_spreadsheet [OPEN_SPREADSHEET]\n                                     Open spreadsheet page in browser\n        --clear_cache [CLEAR_CACHE]  Clear the cache\n        --simple [SIMPLE]            Display results in a simplified way\n```\n\n対象の年月の発売リストを確認する\n\n```shell\n# 2017年5月の発売リストを確認します\n$ bundle exec getchuya -y 201705\n```\n\n推しの声優が出演しているか確認する\n\n```shell\n# 遥そらさんと風音さんが出演しているゲームの一覧を表示します\n$ bundle exec getchuya -v 遥そら,風音\n```\n\n特定のブランドがゲームを発売するか確認する\n\n```shell\n# SAGA PLANETSのゲームが発売するか確認する\n$ bundle exec getchuya -b SAGA PLANETS\n```\n\n検索結果に表示されたゲームの情報をブラウザで確認する\n※げっちゅ屋のゲーム紹介ページを表示する\n\n```shell\n# 遥そらさんと風音さんが出演しているゲームの一覧をブラウザで確認する \n$ bundle exec getchuya -v 遥そら,風音 -o\n```\n\n検索結果の内容でjsonファイル、csvファイルを作成する\n\n```shell\n# jsonファイルを作成する\n$ bundle exec getchuya -j\n\n# CSVファイルを作成する\n$ bundle exec getchuya -c\n```\n\nGoogleスプレッドシートに検索結果の内容を書き込む\n※GoogleスプレッドシートへはCSVファイルを元に書き込むのでCSVファイルが無いと書き込めません\n\n```shell\n# 検索結果の内容をGoogleスプレッドシートに書き込む\n$ bundle exec getchuya -c -s\n```\n\nキャッシュをクリアする\n\n```shell\n# 2018年5月のキャッシュをクリアする\n\n$ bundle exec getchuya -y 201805 --clear_cache\n```\n\n## サポート環境\n\nMacでのみ動作確認をしています。Windowsだと動くかわかりません。\nrubyのバージョンは`2.3.7`で確認しています。  \n恐らく`2.3.7`以上なら動作すると思います……。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Feroge_release_cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodonki1223%2Feroge_release_cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Feroge_release_cmd/lists"}