Tested on Ubuntu 20.04 with crapd
Dependencies
Python 3.7 or higher
pip3 install bs4 pyppeteer
apt-get -y install chromium-browser
cp config.example.json config.json
Known Bugs
- May crash sometimes (fill a tiket, if it does)
- Country Mapping may break depending on Plugin and Country
Chromium
You may have to edit "executablePath" in the config.json
If you are using snap, the default should be fine.
Examples
To Ping from all Nodes located in the Netherlands
python3 snake.py NL 1.1.1.1
To Ping from all Nodes, worldwide
Disabled for some plugins, due the amount of requests that would result in
python3 snake.py any 1.1.1.1
To find the lowest route in-between 2 Servers in 2 different countries
python3 snake.py UK,NL compare