The NextDNS Custom Blocklist Uploader is a script that allows users to upload blocklists to NextDNS's denylist easily.
- Ensure that Node.js is installed on your system. (Node.js v20 recommended)
- Clone the project to your local machine.
- Update the required API Key and Profile ID in
nextdns-api.js
. - Add the blocklist URL to the array in
index.js
. If you want to upload a local text file, please place the textfile to theblocklist
folder.(Currently supports TXT file format only) - Run
npm run start
. The script will remove everything in the denylist, automatically download the blocklist file to theblocklist
folder and start uploading the domains to NextDNS's denylist. - After the upload process is complete, you can check the results on the NextDNS Denylist page.
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.
This project is licensed under the GNU General Public License v3.0.
Feel free to reach out if you have any questions or suggestions!
- Tang Weng Kitt
- Email: [email protected]
- Project Link: NextDNS Custom Blocklist Uploader