{"id":15777233,"url":"https://github.com/healeycodes/reddit-bot-tutorial","last_synced_at":"2025-03-31T15:38:28.517Z","repository":{"id":112378222,"uuid":"177477011","full_name":"healeycodes/Reddit-Bot-Tutorial","owner":"healeycodes","description":"Build a friendly bot to keep you company on Reddit! :robot:","archived":false,"fork":false,"pushed_at":"2019-03-25T12:28:30.000Z","size":149,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-05T17:43:16.803Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/healeycodes.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}},"created_at":"2019-03-24T22:28:44.000Z","updated_at":"2020-03-05T08:24:06.000Z","dependencies_parsed_at":"2023-05-14T04:00:33.370Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/Reddit-Bot-Tutorial","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/healeycodes%2FReddit-Bot-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2FReddit-Bot-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2FReddit-Bot-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2FReddit-Bot-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/Reddit-Bot-Tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246490828,"owners_count":20786068,"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":[],"created_at":"2024-10-04T17:43:17.904Z","updated_at":"2025-03-31T15:38:28.501Z","avatar_url":"https://github.com/healeycodes.png","language":"Python","readme":"This repository contains the files that accompany [my tutorial](https://healeycodes.github.io/tutorial/python/beginners/webdev/2019/03/25/reddit-bot-tutorial.html) for writing a Reddit bot!\n\n\u003cbr\u003e\n\n![](https://github.com/healeycodes/Reddit-Bot-Tutorial/blob/master/header.png)\n\n\u003cbr\u003e\n\nThese brief instructions should get you up and running. Refer to my tutorial for a complete walkthrough 😊\n\nRemember to follow Reddit's [bottiquette](https://www.reddit.com/wiki/bottiquette) at all times!\n\n### Setup\n\n- `pip install praw`\n- Create your Reddit script app, and get your client id and client secret:\n\n\u003cbr\u003e\n\n![](https://github.com/healeycodes/Reddit-Bot-Tutorial/blob/master/setup.png)\n\n\u003cbr\u003e\n\n- Set the following environment variables:\n\n```\n$env:CLIENTID='id-here'\n$env:CLIENTSECRET='secret-here'\n$env:CLIENTUSER='reddit-user-name'\n$env:CLIENTPASS='reddit-password'\n```\n\n- Pass in comma delimited search phrases, or a single string:\n  - `python bot.py --search 'phrase one, two, and three' --reply 'found you!'`\n\n\u003cbr\u003e\n\n### Contributing\n\nYou're very welcome to expand the bot or raise any issues.\n\n\u003chr\u003e\n\nLicense: MIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Freddit-bot-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Freddit-bot-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Freddit-bot-tutorial/lists"}