Code Monkey home page Code Monkey logo

snake-ping's Introduction

Snake-Ping

Work in Progress

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

snake-ping's People

Contributors

ne00n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

asimzeeshan

snake-ping's Issues

ModuleNotFoundError: No module named 'Plugins'

On Debian 11 to install, chromium-browser is replaced with chromium so the installation is slightly modified like this

pip3 install bs4 pyppeteer
apt -y install chromium

Installing everything, it doesn't run and gives me the following error message

Traceback (most recent call last):
  File "/root/snake.py", line 2, in <module>
    from Plugins.base import Base
ModuleNotFoundError: No module named 'Plugins'

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.