{"id":29127661,"url":"https://github.com/bytewavemlp/derpi-image-flagger","last_synced_at":"2026-04-30T08:39:51.477Z","repository":{"id":86436732,"uuid":"173527055","full_name":"BytewaveMLP/derpi-image-flagger","owner":"BytewaveMLP","description":"A Discord bot that flags Depribooru images which may contain Discord TOS-violating content","archived":false,"fork":false,"pushed_at":"2023-07-12T02:38:49.000Z","size":176,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-30T08:39:49.961Z","etag":null,"topics":["derpibooru","discord","discord-bot","discord-js","node-derpi","nodejs","nodejs-bot"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/BytewaveMLP.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}},"created_at":"2019-03-03T03:38:04.000Z","updated_at":"2020-07-09T05:52:42.000Z","dependencies_parsed_at":"2023-07-13T17:16:25.983Z","dependency_job_id":null,"html_url":"https://github.com/BytewaveMLP/derpi-image-flagger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BytewaveMLP/derpi-image-flagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytewaveMLP%2Fderpi-image-flagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytewaveMLP%2Fderpi-image-flagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytewaveMLP%2Fderpi-image-flagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytewaveMLP%2Fderpi-image-flagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BytewaveMLP","download_url":"https://codeload.github.com/BytewaveMLP/derpi-image-flagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BytewaveMLP%2Fderpi-image-flagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32459420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["derpibooru","discord","discord-bot","discord-js","node-derpi","nodejs","nodejs-bot"],"created_at":"2025-06-30T01:01:35.503Z","updated_at":"2026-04-30T08:39:51.472Z","avatar_url":"https://github.com/BytewaveMLP.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Derpi Image Flagger\r\n\r\n[![Discord chat](https://img.shields.io/discord/275711953274404866.svg?logo=discord\u0026color=7289DA\u0026label=Discord%20chat)](https://discord.gg/AukVbRR)\r\n\r\n\u003e A Discord bot that flags Depribooru images which may contain Discord TOS-violating content\r\n\r\nDIF is a Discord bot that attempts to help server moderators maintain Discord ToS compliance by flagging and removing MLP images which may violate Discord's community guidelines. This is achieved by reverse-searching the image on Derpibooru and filtering images which have been tagged with blacklisted tags. The bot **will not catch all images**, so this isn't a perfect solution, but it can be used in conjunction with regular moderation to help keep a server clean.\r\n\r\n## Installation\r\n\r\n```bash\r\n$ git clone https://github.com/BytewaveMLP/derpi-image-flagger\r\n$ cp config.example.json config.json\r\n$ $EIDTOR config.json\r\n```\r\n\r\n## Configuration\r\n\r\n- `discord.token` - Your Discord bot's authorization token ([get one here](https://discordapp.com/developers/applications/))\r\n- `derpi.apiKey` - Your Derpibooru account's API key ([get this here](https://derpibooru.org/users/edit))\r\n- `derpi.bannedTags` - Tags which you'd like to ban\r\n\t- `.sfw` - Tags you'd like to disallow from *just* SFW channels\r\n\t- `.nsfw` - Tags you'd like to disallow from *just* NSFW channels\r\n\t- `.both` - Tags you'd like to disallow from *both types* of channels\r\n\r\n## Contribute\r\n\r\n**Issues, suggestions, or concerns?** Submit a GitHub issue!\r\n\r\n**Want to add a feature or fix a bug?** We accept PRs!\r\n\r\n## Maintainers\r\n\r\n- [BytewaveMLP](https://github.com/BytewaveMLP)\r\n\r\n## License\r\n\r\nCopyright (c) Eliot Partridge, 2019. Licensed under [the MIT license](/LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytewavemlp%2Fderpi-image-flagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytewavemlp%2Fderpi-image-flagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytewavemlp%2Fderpi-image-flagger/lists"}