Starting July 25, 2022, urlignore cancels the open source licence and is now only available for viewing source code and forking. Use and modification of the project is prohibited.If you are using urlignore in your project, please remove it immediately.
中文文档
A simple node tool that supports removing duplicate configuration nodes, adding countries and add custom content automatically.
Supports SS/SSR/Vmess/Trojan/Https.
sudo apt-get update
sudo apt-get install nodejs
curl -sL https://rpm.nodesource.com/setup_16.x | bash -
sudo yum -y install nodejs
git clone https://github.com/wu-mx/URLignore.git
cd ./URLignore
npm install
npm run start
//Or node index
6.Wait a few seconds, URLignore will automatically complete the node processing and output the processed nodes to the out file.
URLignore now supports custom configuration.
The custom configuration is located in config.js.
The default configuration looks like this:
module.exports={
nodeAddName:'', //Text contents added after the node names.
dnsServers:['8.8.8.8','1.1.1.1'] //The DNS servers used to resolve the domain when processing node countries are stored in array format. No modification is required unless necessary.
}
For example, when the configuration file looks like this:
module.exports={
nodeAddName:' | URLignore',
dnsServers:['223.5.5.5','114.114.114.114']
}
The DNS servers 223.5.5.5 and 114.114.114.114 are used, and the output node name is followed by the " | URLignore" suffix, such as "🇭🇰HK 1 | URLignore".