https://github.com/alextopher/tracert-map
A small website that parses the output of the tracert or traceroute command and displays it on an openstreetmap
https://github.com/alextopher/tracert-map
docker ipinfo openstreetmap
Last synced: 10 months ago
JSON representation
A small website that parses the output of the tracert or traceroute command and displays it on an openstreetmap
- Host: GitHub
- URL: https://github.com/alextopher/tracert-map
- Owner: Alextopher
- License: mit
- Created: 2023-12-18T20:20:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-25T17:51:17.000Z (about 1 year ago)
- Last Synced: 2025-01-25T18:27:59.760Z (about 1 year ago)
- Topics: docker, ipinfo, openstreetmap
- Language: HTML
- Homepage:
- Size: 3.76 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tracert map
A small website that parses the output of the `tracert` or `traceroute` command
and displays it on an [openstreetmap](https://www.openstreetmap.org/)

## Setup
1. Create an ipinfo.io account and generate an access token
2. Place the access token in a `config.toml`` file
```toml
token = "put token here"
```
3. Run the server
```bash
cargo run --release -- -c config.toml
```
4. Optionally, you can use a docker container
```sh
docker run -v ./config.toml:/app/config.toml -p 4460:80 alextopher/tracert-map:latest
```
## Design
This server is written in [Rust](https://www.rust-lang.org/). It uses the [axum](https://crate.io/crates/axum) web framework and using [leaflet](https://leafletjs.com/) + [openstreetmap](https://www.openstreetmap.org/) for the map.
This project was created in less than 2 days of work.