English | 简体中文
Rulesets for pURLfy. Description on structure of rulesets can be found in pURLfy's README, and formal definition of the format can be found at ruleset.schema.json
.
- ruleset.schema.json: The formal definition of the format of rulesets.
- list.json: A list of all rulesets.
- tracking.json: Rules for purifying tracking links.
- outgoing.json: Rules for purifying outgoing links.
- shortener.json: Rules for restoring shortened links.
- alternative.json: Redirects you from some websites to their better alternatives.
- Redirects you from Fandom to antifandom.
- Redirects you from Wikipedia to Wikiwand.
- Redirects you from Reddit to Safe Reddit.
- Redirects you from Imgur to Rimgo.
- other.json: Rules for purifying other types of links.
- Shortens Spigotmc links.
For pURLfy v0.2.x, use branch core-0.2.x
(no longer maintained); for pURLfy v0.3.x, use branch core-0.3.x
. You can access rules files using jsDelivr CDN:
https://cdn.jsdelivr.net/gh/PRO-2684/pURLfy-rules@<branch>/<ruleset>.min.json
If you want to update a rule file, you can create a pull request with your changes to *.json
files. Do not change *.min.json
files, since they are generated by minifying corresponding *.json
file automatically.
If you want to add a new rule file, in addition to creating a new *.json
file, you'll need to update list.json
file to include the new rule file, and README.md
to briefly introduce your rules. After your pull request is merged, the minified version of the new rule file will be generated automatically.