{"id":20191504,"url":"https://github.com/jarhill0/pokreate","last_synced_at":"2025-07-31T13:03:37.134Z","repository":{"id":90535676,"uuid":"112804342","full_name":"jarhill0/pokreate","owner":"jarhill0","description":"Reddit bot that \"opens\" and \"closes\" /r/PokemonCreate","archived":false,"fork":false,"pushed_at":"2018-01-08T21:31:14.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T18:52:52.598Z","etag":null,"topics":["praw","reddit"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarhill0.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":"2017-12-02T01:56:30.000Z","updated_at":"2017-12-02T01:58:16.000Z","dependencies_parsed_at":"2023-03-14T11:00:46.315Z","dependency_job_id":null,"html_url":"https://github.com/jarhill0/pokreate","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/jarhill0%2Fpokreate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarhill0%2Fpokreate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarhill0%2Fpokreate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarhill0%2Fpokreate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarhill0","download_url":"https://codeload.github.com/jarhill0/pokreate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241629736,"owners_count":19993707,"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":["praw","reddit"],"created_at":"2024-11-14T03:49:24.687Z","updated_at":"2025-03-03T07:41:19.689Z","avatar_url":"https://github.com/jarhill0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pokreate\n\nA project to \"open\" and \"close\" a subreddit by setting it to restricted or \npublic mode. It was specifically made for /r/PokemonCreate, so its \napplication will be fairly narrow. The other half of what it does is replace \na specific link text in the sidebar.\n\n## Installation\n\n```commandline\ngit clone https://github.com/jarhill0/pokreate.git\n```\n\n## Requirements\n\n- praw\n\n## Setup\n\n1. Install the requirements (using `pip` or `easy_install` or your method of \nchoice).\n2. Copy `EXAMPLE_config.py` to `config.py` and fill in the values. Subreddit \nand Username are mandatory. The other three may be left blank if you have a \n[praw.ini](http://praw.readthedocs.io/en/latest/getting_started/configuration/prawini.html#defining-additional-sites)\nconfigured. If you do, set `username` equal to the \"site name\" of your \nconfiguration.\n\n\n## Usage\n\nInvoke the script at a basic level with the command `python` or the command \n`python3` followed by a path to `main.py`. For example, if the script is in \nyour current working directory, you can run it with `python3 main.py`. You \ncan also call it with a relative or absolute path, same as any other file on \nthe command line. \n\nThe script has mandatory options:\n\n- Provide exactly one of `--open` or `--close` (can be shortened to `-o` or \n`-c`, respectively)\n- Provide new button text, **surrounded by quotes**\n\n**Example usage**:\n\n```commandline\npython3 main.py -o \"Submit your request\"\npython ~/pokreate/main.py --close \"Closed for the week\"\npython3 /home/pi/pokreate/main.py --open \"Welcome back!\"\n```\n\nIf you wish to run the script on a specific schedule, look into the UNIX \nutility `crontab`, which can be set up to run commands on a recurring basis.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarhill0%2Fpokreate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarhill0%2Fpokreate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarhill0%2Fpokreate/lists"}