{"id":15714319,"url":"https://github.com/dongminlee94/slack-reddit-posts","last_synced_at":"2026-05-02T19:37:15.106Z","repository":{"id":254434810,"uuid":"846440154","full_name":"dongminlee94/slack-reddit-posts","owner":"dongminlee94","description":"A trigger that automatically sends posts from subreddits to a Slack channel.","archived":false,"fork":false,"pushed_at":"2025-12-05T01:16:35.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-08T08:56:31.875Z","etag":null,"topics":["cron","praw","reddit","slack","slack-sdk"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dongminlee94.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-23T08:02:07.000Z","updated_at":"2025-12-05T01:16:38.000Z","dependencies_parsed_at":"2024-08-23T13:04:44.023Z","dependency_job_id":"3e3634d1-28d3-4b5b-9100-5de8c73e69c5","html_url":"https://github.com/dongminlee94/slack-reddit-posts","commit_stats":null,"previous_names":["dongminlee94/slack-reddit-posts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dongminlee94/slack-reddit-posts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongminlee94%2Fslack-reddit-posts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongminlee94%2Fslack-reddit-posts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongminlee94%2Fslack-reddit-posts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongminlee94%2Fslack-reddit-posts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dongminlee94","download_url":"https://codeload.github.com/dongminlee94/slack-reddit-posts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dongminlee94%2Fslack-reddit-posts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"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":["cron","praw","reddit","slack","slack-sdk"],"created_at":"2024-10-03T21:36:08.090Z","updated_at":"2026-05-02T19:37:15.099Z","avatar_url":"https://github.com/dongminlee94.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slack Reddit Posts\n\n\u003cimg width=\"1143\" src=\"https://github.com/Curt-Park/reddit-posts-to-slack/assets/14961526/14315a30-3285-433c-9a2a-5f4387e5814b\"\u003e\n\nThis repository introduces a trigger that automatically fetches hot posts from a subreddit, generates AI summaries, and sends them to a designated Slack channel.\n\n## Preparation\n\n### Reddit\n\n1. Sign up for a Reddit account. Ensure that your `username` and `password` are registered.\n2. Create [a Reddit application](https://www.reddit.com/prefs/apps). **Important: Select \"script\" as the application type from the available options (web app, installed app, script).**\n3. Note down the `client id` and `client secret` values.\n4. Set up the following secrets in this repository:\n    - `REDDIT_CLIENT_ID`\n    - `REDDIT_CLIENT_SECRET`\n    - `REDDIT_USERNAME`\n    - `REDDIT_PASSWORD`\n5. Add the subreddit name to `.github/workflows/slack-reddit-posts.yaml`.\n\n### Google GenAI API Key\n\n1. Sign up for [a Google Cloud account](https://console.cloud.google.com/home/dashboard) if you don't already have one.\n2. Enable the GenAI API in the Google Cloud Console.\n3. Create a new API key from the credentials section.\n4. Set up the following secret in this repository:\n    - `GENAI_API_KEY`\n\n### Slack\n\n1. Create [a slack application](https://api.slack.com/apps).\n2. Install the application to your Slack workspace.\n3. In `OAuth \u0026 Permissions`, add `chat:write` to the `Bot Token Scopes`.\n4. Create a new channel and add the application to it.\n5. Set up the following secrets in this repository:\n    - `SLACK_API_TOKENS`\n    - `SLACK_CHANNEL_IDS`\n\n## Usage\n\n```bash\n$ python main.py -h\n\nusage: main.py [-h]\n               [--reddit-client-id REDDIT_CLIENT_ID]\n               [--reddit-client-secret REDDIT_CLIENT_SECRET]\n               [--reddit-username REDDIT_USERNAME]\n               [--reddit-password REDDIT_PASSWORD]\n               [--subreddit-name SUBREDDIT_NAME]\n               [--n-posts N_POSTS]\n               [--genai-api-key GENAI_API_KEY]\n               [--slack-api-tokens SLACK_API_TOKENS]\n               [--slack-channel-ids SLACK_CHANNEL_IDS]\n\noptions:\n  -h, --help            show this help message and exit\n  --reddit-client-id REDDIT_CLIENT_ID               Reddit Client ID\n  --reddit-client-secret REDDIT_CLIENT_SECRET       Reddit Client Secret\n  --reddit-username REDDIT_USERNAME                 Reddit Username\n  --reddit-password REDDIT_PASSWORD                 Reddit Password\n  --subreddit-name SUBREDDIT_NAME                   Subreddit Name\n  --n-posts N_POSTS                                 Max Posts Number\n  --genai-api-key GENAI_API_KEY                     Google GenAI API Key\n  --slack-api-tokens SLACK_API_TOKENS               Slack API Toekns\n  --slack-channel-ids SLACK_CHANNEL_IDS             Slack Channel IDs\n```\n\n## References\n\n- https://github.com/Curt-Park/reddit-posts-to-slack\n- https://velog.io/@iamnotwhale/praw%EB%A1%9C-%EB%A0%88%EB%94%A7-%ED%81%AC%EB%A1%A4%EB%A7%81%ED%95%98%EA%B8%B0\n- https://gengminy.tistory.com/52\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongminlee94%2Fslack-reddit-posts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdongminlee94%2Fslack-reddit-posts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdongminlee94%2Fslack-reddit-posts/lists"}