Clean-room clone of the SignsOnTheCheap (buildasign/Cimpress) print-design experience; static HTML/JS + fabric.js, config-driven for rebranding
  • JavaScript 66.3%
  • CSS 19.4%
  • HTML 14.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-19 13:05:00 -07:00
css Print Design Studio: clean-room clone of the SignsOnTheCheap/buildasign print-design experience 2026-11-19 13:05:00 -07:00
js Print Design Studio: clean-room clone of the SignsOnTheCheap/buildasign print-design experience 2026-11-19 13:05:00 -07:00
index.html Print Design Studio: clean-room clone of the SignsOnTheCheap/buildasign print-design experience 2026-11-19 13:05:00 -07:00
README.md Print Design Studio: clean-room clone of the SignsOnTheCheap/buildasign print-design experience 2026-11-19 13:05:00 -07:00

Print Design Studio

A clean-room, self-hostable dupe of the Cimpress/"buildasign" print-design experience used by signsonthecheap.com (/PrintDesignExperience/Load?productId=85233&quantity=50).

Reverse-engineered by unpacking their 8.7 MB React bundle (designexperience.buildasign.io/static/js/main.*.js): the original is a React + Konva/fabric-style canvas designer that talks to /api/v1/product/{id}, /api/v1/design/* and a pricing tier service. This app reproduces the UX and data model with zero build step — plain HTML/CSS/JS + fabric.js from CDN — so you can hack on it directly.

Run it

cd print-design-studio
python -m http.server 8791
# open http://127.0.0.1:8791/index.html?productId=85233&quantity=50

Any static host works (nginx, IIS, S3, GitHub Pages). The URL accepts ?productId=<id>&quantity=<n> exactly like the original.

Features (mirroring the original)

  • Templates panel with live mini-canvas previews per design template
  • Text: line / paragraph / curved (arc) text; font picker (Google Fonts), size, letter-spacing, bold/italic/underline, alignment, fill & outline color, curve slider; double-click for inline editing
  • Uploads: drag-drop or click to add your logo/art (session-persisted)
  • Colors: background swatches + custom color, object recolor
  • Sizes: multiple SKU sizes per product, price updates live
  • Front/Back sides ("Add Back Side" like the original)
  • Quantity + volume-price tiers table with current tier highlighted
  • Undo/redo (toolbar + Ctrl+Z / Ctrl+Y), zoom, delete, duplicate, lock
  • Save / My Designs (localStorage), Download PNG at 150 dpi, Continue review modal — replace its body with your cart POST.

Rebranding for another website — 3 files

File What to change
js/products.js The main one. SITE (brand name, colors) and CATALOG (products, sizes, price tiers, templates, fonts, background swatches). Add as many products as you like; each gets its own ?productId= deep link.
css/app.css :root variables (--brand, --accent…) for a full theme swap.
index.html <title>, logo text, Google Fonts list.

Wiring to your backend

  • showContinue() in js/app.js builds {productId, qty, unitPrice, total, sides:[json]} — POST that to your cart/order endpoint.
  • Swap localStorage save/load for fetch('/api/v1/design/...') when you grow past the demo (the original's API shape is documented in products.js comments).
  • Price tiers are pure client config; move them server-side if you need real-time pricing.

Verified working (automated browser tests)

Page loads with ?productId=85233&quantity=50; template grid renders live preview canvases; add line/paragraph/arc text; properties panel shows on selection; undo/redo enable/disable correctly; background swatch applies + marks selected; add-back-side doubles print area and re-prices ($287.50 → $388.13 at qty 50); qty change re-tiers (Qty 100 → $6.08 ea); save persists to localStorage and My Designs lists it; Continue review modal shows correct totals; PNG export produces a valid data URL.