woodruffw/toml2json
woodruffw/toml2json has 102 GitHub stars and 13 forks. Star changes are not measured yet. Last checked 2026-11-13 17:59 UTC. Last push 2026-11-13.
Gemessener Sternzuwachs
- in 24h
- Verlauf wird gesammelt
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
A very small CLI for converting TOML to JSON
EntwicklerwerkzeugeREADME.md
Originaltoml2json
A command-line tool that converts TOML to JSON. Nothing more, nothing less.
Installation
Cargo
cargo install toml2json
PyPI
NOTE: toml2json on PyPI was originally a pure Python CLI; ownership of the name on PyPI was transferred to woodruffw for this Rust-based CLI in August 2025. Versions prior to 0.1.0 on PyPI are the old pure Python version.
uvx toml2json
uv tool install toml2json
pipx install toml2json
# or pip install, if you're in a virtual environment
Homebrew
toml2json is available via Homebrew:
brew install toml2json
Alpine Linux
toml2json is available for Alpine Edge. It can be installed via apk after enabling the testing repository.
apk add toml2json
Arch Linux
If you're using Arch Linux, you can install toml2json using an AUR helper. For example:
paru -S toml2json
Debian/Ubuntu
toml2json is available since Debian 13 Trixie and Ubuntu 25.04, packaged as rust-toml2json.
apt install rust-toml2json
Nixpkgs
nix-env --install toml2json
Please let us know if you package toml2json for another package manager or ecosystem!
Usage
Convert TOML on stdin to JSON, filtering it through jq:
$ toml2json <<< 'wow = "amazing"' | jq
Produces:
{
"wow": "amazing"
}
Convert TOML from a file and pretty-print it without jq:
$ toml2json --pretty ~/.config/kbs2/kbs2.conf
Produces:
{
"age-backend": "RageLib",
"error-hook": "~/.config/kbs2/hooks/error-hook-notify",
"keyfile": "REDACTED-GO-AWAY",
"public-key": "REDACTED-GO-AWAY",
"reentrant-hooks": false,
"store": "~/.kbs2-store",
"wrapped": true,
"generators": [
{
"alphabet": "abcdefghijklmnopqrstuvwxyz0123456789(){}[]-_+=",
"length": 16,
"name": "default"
}
],
"commands": {
"edit": {
"editor": "subl -w",
"post-hook": "~/.config/kbs2/hooks/push-repo"
},
"new": {
"generate-on-empty": true,
"post-hook": "~/.config/kbs2/hooks/push-repo"
},
"pass": {
"clear-after": true,
"clear-hook": "~/.config/kbs2/hooks/pass-clear-notify",
"clipboard-duration": 10,
"x11-clipboard": "Clipboard"
},
"rm": {
"post-hook": "~/.config/kbs2/hooks/push-repo"
}
}
}
Amazing. What more could you want? Hopefully nothing, because it will never do anything else.
Ähnliche Projekte entdecken
codecrafters-io/build-your-own-x
Meistere das Programmieren, indem du deine Lieblingstechnologien von Grund auf neu erschaffst.
562,325 Sternepublic-apis/public-apis
Eine gemeinschaftliche Liste kostenloser APIs
498,760 Sternemorluto/rea
Mit Agenten alles per Reverse Engineering untersuchen, vom Verhalten der Anwendung bis hin zu nativen Binärdateien.
457,392 Sterneopenclaw/openclaw
Die KI, die wirklich Dinge erledigt. Jedes Betriebssystem, jede Plattform. Auf die Hummer-Art. 🦞
394,392 Sterne