Introduction
Factorio 2.1.11 blueprint-string renderer for browser and Node.js.
fpsr (@rickyzhangca/fpsr) decodes compressed Factorio blueprint strings, resolves connectivity-aware sprite variants (belts, pipes, walls, rails, trains, wires), plans a serializable draw list, and renders to Canvas2D in the browser or Node.js.
It targets Factorio 2.1.11 exactly — vanilla plus Space Age, Elevated Rails, Quality, and Recycler content.
Try the live demo: fpsr.fprints.xyz.
Pipeline
blueprint string
→ decode
→ migrate (1.x → 2.x when needed)
→ resolve (connectivity)
→ planDrawList
→ Canvas2D (atlas sprites from your assets)
Sprite atlases and the render database are not shipped with the npm package. Generate them from a licensed Factorio install, then load them with cdnAssets or localAssets.
Next steps
- Install — add
@rickyzhangca/fpsrto your project - Quick start — render a blueprint in the browser or Node.js
- API — export reference
- Project — monorepo, pipeline, and contributor docs