{"id":17069541,"url":"https://github.com/mgalgs/sandiegolibrebot","last_synced_at":"2026-05-04T19:32:48.336Z","repository":{"id":44336375,"uuid":"413606612","full_name":"mgalgs/SanDiegoLibreBot","owner":"mgalgs","description":"Serial crossposter!","archived":false,"fork":false,"pushed_at":"2022-07-09T06:53:11.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T07:44:24.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mgalgs.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}},"created_at":"2021-10-04T22:57:05.000Z","updated_at":"2022-01-04T20:26:55.000Z","dependencies_parsed_at":"2022-09-23T10:23:31.189Z","dependency_job_id":null,"html_url":"https://github.com/mgalgs/SanDiegoLibreBot","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/mgalgs%2FSanDiegoLibreBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2FSanDiegoLibreBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2FSanDiegoLibreBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgalgs%2FSanDiegoLibreBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgalgs","download_url":"https://codeload.github.com/mgalgs/SanDiegoLibreBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090866,"owners_count":20559296,"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-14T11:27:08.170Z","updated_at":"2026-05-04T19:32:48.173Z","avatar_url":"https://github.com/mgalgs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Your friendly [r/SanDiegoLibre](https://reddit.com/r/SanDiegoLibre) bot.\n\n## Local environment setup\n\n```\ngit clone https://github.com/mgalgs/SanDiegoLibreBot.git\ncd SanDiegoLibreBot\n```\n\nAnd create a file named `env.sh` with the following content:\n\n```\nCLIENT_ID=\u003credacted\u003e\nCLIENT_SECRET=\u003credacted\u003e\nREDDIT_USERNAME=\u003credacted\u003e\nREDDIT_PASSWORD=\u003credacted\u003e\n```\n\nOne-time virtual environment initialization:\n\n```\npython3 -m venv venv\n```\n\nThen every time you want to work on the bot:\n\n```\nsource enter.sh\n```\n\nTo run the bot against `r/SanDiegoLibreTest`:\n\n```\npython src/main.py\n```\n\nTo run it against `r/SanDiegoLibre`:\n\n```\nPROD=yes python src/main.py\n```\n\n## Kubernetes setup\n\nThis bot is currently running on a kubernetes cluster for\nhigh-availability.\n\n### Configuration (secrets)\n\nFirst you need to make your `env.sh` into a kubernetes Secret.\n\n```\n./k8s/gen_secrets.sh sdlbot-secrets \u003c env.sh | kubectl apply -f -\n```\n\n### Deployment\n\n```\nkubectl apply -f ./k8s/deployment.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalgs%2Fsandiegolibrebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgalgs%2Fsandiegolibrebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalgs%2Fsandiegolibrebot/lists"}