Coder Social home page Coder Social logo

urlignore's Introduction

URLignore

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.

Quick Start

1.Install Node.js and NPM.

Ubuntu/Debian:

sudo apt-get update
sudo apt-get install nodejs

Fedora/Centos/Redhat:

curl -sL https://rpm.nodesource.com/setup_16.x | bash -
sudo yum -y install nodejs

2.Prepare the node file and place a node link per line and rename it to url.

3.Clone the repository and install NPM libraries:

git clone https://github.com/wu-mx/URLignore.git
cd ./URLignore
npm install

4.Copy the url file into the URLignore folder.

5.Start URLignore:

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.

Configuration

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".

urlignore's People

Contributors

wu-mx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.