{"id":15454347,"url":"https://github.com/dodonki1223/qiita_command","last_synced_at":"2026-02-18T22:37:50.220Z","repository":{"id":38180981,"uuid":"283633339","full_name":"dodonki1223/qiita_command","owner":"dodonki1223","description":"Qiitaのトレンドを表示できるコマンドラインツール","archived":false,"fork":false,"pushed_at":"2025-04-01T00:32:35.000Z","size":90,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T06:12:18.969Z","etag":null,"topics":["command-line-tool","qiita","qiita-trend","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-30T00:47:33.000Z","updated_at":"2021-12-28T03:57:16.000Z","dependencies_parsed_at":"2025-04-20T00:45:19.065Z","dependency_job_id":"b1cfa4cb-9e1a-49dd-b3ec-0633f10b3a49","html_url":"https://github.com/dodonki1223/qiita_command","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dodonki1223/qiita_command","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fqiita_command","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fqiita_command/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fqiita_command/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fqiita_command/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodonki1223","download_url":"https://codeload.github.com/dodonki1223/qiita_command/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodonki1223%2Fqiita_command/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29597320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T22:25:43.180Z","status":"ssl_error","status_checked_at":"2026-02-18T22:25:42.766Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["command-line-tool","qiita","qiita-trend","ruby"],"created_at":"2024-10-01T22:02:23.481Z","updated_at":"2026-02-18T22:37:50.203Z","avatar_url":"https://github.com/dodonki1223.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qiita_command\n\n![CI](https://github.com/dodonki1223/qiita_command/workflows/CI/badge.svg?branch=master)\n\nQiitaのトレンド情報（Normal, Personal）をコマンドで取得しコンソール上に表示することができます\n\n\u003cimg alt=\"00_sample\" src=\"https://raw.githubusercontent.com/dodonki1223/image_garage/master/qiita_command/00_sample.gif\" width=\"800px\"\u003e\n\n## 環境設定\n\n### ソースを取得する\n\n```shell\n$ git clone git@github.com:dodonki1223/qiita_command.git\n```\n\n### 依存関係をインストールする\n\n```shell\n$ bundle install\n```\n\n### Qiitaのログイン情報を設定する\n\npersonal のトレンドを取得する時は設定が必要です  \n**normalのみ取得したい場合は設定不要です**\n\n```shell\n$ cp config_sample.yml config.yml\n```\n\n作成したconfig.ymlにログイン情報を設定します  \nymlファイルのそれぞれに値を設定します\n\n```yml\nuser_name: LoginUserName\npassword: Password\ncache_directory: path/to/sample\n```\n\n設定する項目については下記を確認してください\n\n| 設定項目        | 説明                                                                              |\n|:----------------|:----------------------------------------------------------------------------------|\n| user_name       | Qiitaにログインするユーザー名です                                                 |\n| password        | Qiitaにログインするユーザーのパスワードです                                       |\n| cache_directory | Qiitaに対してスクレイピングした結果のキャッシュファイルを保存するディレクトリです |\n\n**注意：GitHub, Twitter, Google のログインには対応していません**\n\n## 使い方\n\n```shell\n# normalのトレンドを取得する\n$ ./qiita\n\n# normalのトレンドのNEWのものだけを取得する\n$ ./qiita --new\n\n# personalのトレンドを取得する\n$ ./qiita -p\n$ ./qiita --personal\n```\n\n## GitHub Actions\n\n### CI\n\nCIをGitHub Actionsにて以下のものを実行するようにしています\n\n- Rubocopの実行\n- RSpecの実行\n- コードカバレッジを作成しGitHub Actions にアップロード\n- GitHub Actions の結果をSlackに通知\n\n### Gem Update の自動化\n\nGitHub Actions の `on.schedule` を使用して毎月１日にGem Update用のプルリクが自動で作られるように設定してます\n\n## その他\n\nQiitaのトレンド情報の取得に関しては [qiita_trend](https://github.com/dodonki1223/qiita_trend) を使用していますのでそちらを参照してください  \nもし動作しなくなったら [qiita_trend](https://github.com/dodonki1223/qiita_trend) のバージョンを上げることをオススメします\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fqiita_command","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodonki1223%2Fqiita_command","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodonki1223%2Fqiita_command/lists"}