{"id":29152862,"url":"https://github.com/zero3kw/slack-post-ranker","last_synced_at":"2026-04-27T18:05:34.404Z","repository":{"id":293274014,"uuid":"983508844","full_name":"zero3kw/slack-post-ranker","owner":"zero3kw","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-14T14:16:42.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T01:04:13.305Z","etag":null,"topics":["slack","slackbot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zero3kw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-05-14T13:40:00.000Z","updated_at":"2025-05-14T14:16:45.000Z","dependencies_parsed_at":"2025-05-14T14:57:26.779Z","dependency_job_id":"ef517806-e7b8-450a-b731-a7dab744af9e","html_url":"https://github.com/zero3kw/slack-post-ranker","commit_stats":null,"previous_names":["zero3kw/slack-post-ranker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zero3kw/slack-post-ranker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero3kw%2Fslack-post-ranker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero3kw%2Fslack-post-ranker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero3kw%2Fslack-post-ranker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero3kw%2Fslack-post-ranker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zero3kw","download_url":"https://codeload.github.com/zero3kw/slack-post-ranker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero3kw%2Fslack-post-ranker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32348058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["slack","slackbot"],"created_at":"2025-07-01T01:03:12.887Z","updated_at":"2026-04-27T18:05:34.383Z","avatar_url":"https://github.com/zero3kw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 Slack Post Ranker\n\nSlackチャンネルの投稿数をユーザーごとに集計し、ランキング形式で表示・投稿するBotです。  \nGitHub ActionsとSlack APIを用いて、自動実行され、チャンネルに結果を通知します。\n\n---\n\n## 🔧 機能概要\n\n- 指定チャンネルの投稿を取得（デフォルトは直近7日間）\n- Botの投稿や通知などを除外\n- 投稿数をユーザーごとにカウントし、ランキングを生成\n- 結果をSlackに投稿\n- GitHub Actionsでスケジューリング＆自動実行\n\n---\n\n## 🛠 セットアップ手順\n\n### 1. 必要な環境変数を GitHub Secrets に設定\n\n| Key               | 説明                   |\n|------------------|------------------------|\n| `SLACK_TOKEN`     | SlackのBot Token（xoxb-） |\n| `SLACK_CHANNEL_ID`| 投稿対象のチャンネルID |\n\n### 2. 実行方法\n\n#### ✅ 手動実行\n```bash\npython main.py --token \u003cSLACK_TOKEN\u003e --channel \u003cCHANNEL_ID\u003e --days 7\n```\n\n#### GitHub Actionsで定期実行\n`.github/workflows/slack_counter.yml` により、自動実行されます。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero3kw%2Fslack-post-ranker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzero3kw%2Fslack-post-ranker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero3kw%2Fslack-post-ranker/lists"}