# 〰️ pantrace
[](https://app.codecov.io/gh/dioptra-io/pantrace)
[](https://crates.io/crates/pantrace/)
[](https://docs.rs/pantrace/)
[](https://github.com/dioptra-io/pantrace/actions/workflows/tests.yml)
Pantrace converts between traceroute formats, in the same way as [Pandoc](https://pandoc.org) converts between document formats.
Each format needs to implement only two conversions: to and from the internal format.
## Installation
### Cargo
```bash
cargo install pantrace
```
### Docker
```bash
docker run ghcr.io/dioptra-io/pantrace:main --help
```
## Usage
```bash
# Fetch traceroute results from the RIPE Atlas API
curl -L -o example.ndjson \
"https://atlas.ripe.net/api/v2/measurements/23119200/results/?start=1625097600&stop=1625788799&format=txt&probe_ids=6479"
# Convert from the standard input to the standard output
# Convert from a file to a file
pantrace --standalone --from atlas --to warts --input example.ndjson --output example.warts
```