This is a parser for Tox bootstrap nodes in the JSON format from https://nodes.tox.chat/json. It outputs the nodes in a format suitable for https://github.com/zetok/tox-check-online-bootstraps.
Compile it:
- Install Rust
- Make with
cargo build
- Download the data as nodes.json from https://nodes.tox.chat/json
- Run with
./target/debug/./target/debug/tox-json-node-parser < nodes.json
Use -6
to only output IPv6 nodes or -4
to only output IPv4 nodes, if no
or invalid arguments are used both are output. Additional arguments will be
ignored.
Licensed under GPLv3+, for details see LICENSE.