{"id":21953826,"url":"https://github.com/ategon/lemmy-guardian-bot","last_synced_at":"2025-07-23T21:38:08.712Z","repository":{"id":181731514,"uuid":"667216100","full_name":"Ategon/Lemmy-Guardian-Bot","owner":"Ategon","description":"A lemmy bot that deletes posts and comments that contain blacklisted links","archived":false,"fork":false,"pushed_at":"2023-07-17T15:38:59.000Z","size":50,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-15T10:57:54.270Z","etag":null,"topics":["bot","bots","fediverse","fediverse-bot","javascript","lemmy","lemmy-bot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ategon.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":"2023-07-17T02:19:18.000Z","updated_at":"2023-07-28T08:13:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab4da4fb-5c29-4a3c-9afa-8f085166472c","html_url":"https://github.com/Ategon/Lemmy-Guardian-Bot","commit_stats":null,"previous_names":["ategon/lemmy-guardian-bot"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ategon/Lemmy-Guardian-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ategon%2FLemmy-Guardian-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ategon%2FLemmy-Guardian-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ategon%2FLemmy-Guardian-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ategon%2FLemmy-Guardian-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ategon","download_url":"https://codeload.github.com/Ategon/Lemmy-Guardian-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ategon%2FLemmy-Guardian-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266753939,"owners_count":23979144,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","bots","fediverse","fediverse-bot","javascript","lemmy","lemmy-bot"],"created_at":"2024-11-29T07:13:22.651Z","updated_at":"2025-07-23T21:38:08.701Z","avatar_url":"https://github.com/Ategon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guardian Bot\nA lemmy bot that deletes posts and comments that contain blacklisted links\n\nThis bot requires mod permissions in any community you want to use it in\n\n## Setup\n1. Clone the repository\n2. Create an account in the instance you want the bot to have as its home (just make a regular user)\n3. Create a file called .env in the bot folder and give it values in this format with the data in the quotes (dont add the slashes or the part after the slashes)\n```\nLEMMY_INSTANCE=\"\" // The instance the bot account is in\nLEMMY_USERNAME=\"\" // The bot username\nLEMMY_PASSWORD=\"\" // The bot password\n```\n4. Change the data in config.yaml based on what you want set\n5. Open a terminal in the bot folder and run `npm install` to install dependendies and then `node main.js` to run the bot (whenever you want to start the bot again you can just do ctrl+c to interrupt the process and node main.js to start the bot)\n\nI recommend installing something like [forever.js](https://www.npmjs.com/package/forever) for making it run continually\n\nIf you run into issues feel free to dm me on Matrix [here](https://matrix.to/#/@ategon:matrix.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fategon%2Flemmy-guardian-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fategon%2Flemmy-guardian-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fategon%2Flemmy-guardian-bot/lists"}