Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WalshyDev/Discord-bad-domains
https://github.com/WalshyDev/Discord-bad-domains
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/WalshyDev/Discord-bad-domains
- Owner: WalshyDev
- Created: 2021-11-02T20:24:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T02:39:55.000Z (over 1 year ago)
- Last Synced: 2024-10-27T11:14:26.898Z (about 2 months ago)
- Language: JavaScript
- Size: 2.35 MB
- Stars: 69
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- starred - WalshyDev/Discord-bad-domains - (JavaScript)
README
# Discord Bad Domains
This repo holds three lists; Discord's "bad domains" list with the associated domain (if found), my list of phishing/scamming sites and my list with their hashes.
## Developer or Bot Developer?
If you wish to check against the list for auto-banning you can with:
```
POST https://bad-domains.walshy.dev/checkContent-Type: application/json
{"domain": "example.com"}
```which will return:
```json
{
"badDomain": true|false,
"detection": "discord|community",
}
```You can decide what to do based on the result. The fields are as follows:
* `badDomain`: If the domain is found in the community or official list.
* `detection`: The method of detection. `discord` means it's on the official banned list; `community` means it's on the community list.### Want to help?
If you wish to submit a bad domain then simply send a request like so:```
POST https://bad-domains.walshy.dev/reportContent-Type: application/json
{"domain": "bad-domain.com"}
```This will check against the bad domain list and if it's a match, update the list. Otherwise, it will report it to me and I will manually review.
## Access the lists
Unlimited access to `bad-domains.json` and `domains.txt` with the following endpoints:* GET https://bad-domains.walshy.dev/bad-domains.json
* GET https://bad-domains.walshy.dev/domains.txt (or https://bad-domains.walshy.dev/domains.json if you prefer)