tf-fmt
Deterministic canonical formatting for JSON, INI, and key-value manifests with stable key sorting and line-ending normalization.
Open-source micro-utilities · v1.4.2
TinyForge is a compact collection of zero-dependency command-line utilities for linting, formatting, and diffing structured configuration files in CI pipelines and local workstations.
tf fmt --check --strict ./configs/
Deterministic canonical formatting for JSON, INI, and key-value manifests with stable key sorting and line-ending normalization.
Schema-light rule checker that catches duplicate keys, trailing whitespace, broken UTF-8 sequences, and invalid numeric bounds.
Structural diff engine that compares parsed configuration trees rather than raw lines, ignoring harmless formatting drift.
Runs locally in your browser. No data is transmitted anywhere.
Drop any file here or click to pick.
Processed locally in browser memory.
Place a .tinyforge.json file in your repository root to share formatting defaults across environments.
{
"version": 1,
"indent": 2,
"lineEndings": "lf",
"sortKeys": false,
"registry": "https://tinyforge.cc/api/v1/artifacts",
"ignore": [
"dist/**",
"vendor/**",
"*.min.json"
]
}
CI runners can check service availability via GET /api/v1/health and sync build caches against /api/v1/artifacts using a scoped Bearer token.
# Check registry status
curl -fsS https://tinyforge.cc/api/v1/health
# Pull cached manifest bundle (requires Bearer token)
curl -H "Authorization: Bearer $TF_TOKEN" https://tinyforge.cc/api/v1/artifacts
Added the /api/v1/health registry status endpoint, enforced scoped Bearer token authentication on /api/v1/artifacts, and expanded local browser workbench utilities.
Improved UTF-8 BOM handling in tf-lint and reduced peak memory usage on large manifest directories.
Added structural tree comparison to tf-diff, exit code 2 for schema warnings in strict mode, and initial remote cache syncing via the registry config option.
Fixed recursive glob matching on Windows paths and added deterministic key sorting flag.