Repository files navigation Trace - a traceroute visualizer
NOTE: this project currently only works locally on Mac.
Autosudo for tcptraceroute
Install homebrew if you don't have it already
Run brew install tcptraceroute
Get the outputs from which tcptraceroute and whoami. I will refer to these as <tcptraceroute-location> and <whoami-result>.
Run sudo visudo (and type in your password)
Scroll all the way to the bottom of the file and press i to insert
Add the line <whoami-result> ALL=(root) NOPASSWD: <tcptraceroute-location> after the last line of the file
Press esc to exit insert mode, then type :wq and hit enter to save
Open a new terminal and run sudo tcptraceroute google.com. If it does not ask for a password, you're all set.
cd into the root directory
run pip install requirements.txt or pipenv install -r requirements.txt (if you hae pipenv)
create a /backend/.env file
get your peeringDB API key and add it to /backend/.env as PEERING_DB_API_KEY=<your_api_key>
run fastapi dev main.py to start the backend server
cd into /frontend/frontend and run npm install
create a /frontend/frontend/.env file
go to this link and get your mapbox API key
add VITE_MAPBOX_API_KEY=<your-mapbox-api-key> to /frontend/frontend/.env
from /frontend/frontend run npm run dev to start the frontend server.
open your browser and navigate to http://localhost:5173/
About
A traceroute visualizer
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.