tracker-radar-wiki
tracker-radar-wiki copied to clipboard
Generation scripts and source for Tracker Radar Wiki
tracker-radar-wiki
This is an Unofficial Prototype Wiki built on top of DuckDuckGo's Tracker Radar
Generation scripts and source for Tracker Radar Wiki
How to use it
Setup
npm i
If you want to generate search and graph data (e.g. when dataset has changed):
npm run build-history
npm run build-api-history
npm run build-search
If you want to generate HTML pages (e.g. when templates were modified):
npm run build-index # Builds the home page, top 100 domains page and API abuse score page
npm run build-pages # Builds all other pages
Note: Be sure to edit config.js to ensure your paths are set correctly. This repo expects tracker-radar to be cloned alongside.
The docs directory is where the built site lives. Use a web server like python -m SimpleHTTPServer 8000 to serve locally. Pushing to master
will automatically update the live version of the site.