https://github.com/angleprotocol/blocked-ip
A list of domains for the top US VPNs we have to block for legal reason. A list of restricted IPs are fetched from the sources and pushed in this repository.
https://github.com/angleprotocol/blocked-ip
Last synced: 12 months ago
JSON representation
A list of domains for the top US VPNs we have to block for legal reason. A list of restricted IPs are fetched from the sources and pushed in this repository.
- Host: GitHub
- URL: https://github.com/angleprotocol/blocked-ip
- Owner: AngleProtocol
- Created: 2024-03-26T14:38:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T16:45:35.000Z (about 2 years ago)
- Last Synced: 2025-06-03T17:49:44.711Z (about 1 year ago)
- Language: TypeScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# blocked-ip
A list of domains for the top US VPNs we have to block for legal reasons. The domains list is extracted from the `input` directory, their IP address is retrieved and written to `output/blocked.json` for the app to read.
## Update blocking list
To update run the following command:
```
bun run src/ping.ts
```
After that, you can push all the changes.
## Fetching from APIs
Providers like NordVPN and Surfshark expose an API point for their servers list, therefore we can update the `.csv` using the corresponding commands:
```
bun run src/fetchNordVpn.ts
bun run src/fetchSurfshark.ts
```