Small unix-like tool that requires Deno to decrypt or encrypt Factorio blueprints.
Just pipe the encrypted or decrypted content to the factorio-blueprint script and adjust your parameters.
--decrypt,-dec,-d: takes the "Blueprint String" and produces a minified JSON output--encrypt,-enc,-e: takes the decrypted JSON output (minified or pretty, it doesn't matter) and produces the "Blueprint String"--pretty,-p: produces a pretty JSON output instead of a minified one
Note
Make sure the location of your factorio-blueprint script is inside your $PATH.
echo "<BLUEPRINT_STRING>" | factorio-blueprint -dOr if you've stored it in a file instead (e.g. awesome-blueprint.b64)
cat awesome-blueprint.b64 | factorio-blueprint -d
# you can redirect the output directly into a file
cat awesome-blueprint.b64 | factorio-blueprint -d > awesome-blueprint.jsoncat awesome-blueprint.json | factorio-blueprint -e
```