Skip to content

Instantly share code, notes, and snippets.

View neonbyte1's full-sized avatar
👾

neonbyte1

👾
View GitHub Profile
@neonbyte1
neonbyte1 / README.md
Created May 13, 2025 12:32
Decrypt Factorio "Blueprint String", modify the JSON and encrypt it to produce the modified "Blueprint String"

Factorio blueprint encryption/decryption

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.

Options / 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