pcbjam/site/public
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 57f1f53d26 feat: lazily-loaded Gerber viewer demo in the blog, served from R2
Embed KiCad's gerbview WASM in the graphics-to-WebGL blog post as a
click-to-load demo that opens the tiny_tapeout board entirely in-browser.

- GerberDemo.astro: lazy iframe embed + cross-origin-isolation reload guard
  + WebGL2/SharedArrayBuffer feature-detect with a poster fallback
- public/gerber-demo/{index.html,boot.js}: self-contained gerbview boot
  harness (config seed, MEMFS board preload, argv auto-open)
- board/ tiny_tapeout layers + poster.png committed; wasm/ glue JS committed
  (served same-origin — pthread worker can't be cross-origin), while
  gerbview.wasm + kicad-resources.bin are git-ignored and served from
  Cloudflare R2 (assets.pcbjam.com)
- COOP/COEP require-corp scoped to the post + /gerber-demo routes
  (dev: astro.config.mjs + middleware.ts; prod: vercel.json)
- post converted to MDX (@astrojs/mdx) so it can embed the component
- scripts/: sync-demo-wasm.sh, r2-deploy.sh, r2-cors.json

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 10:28:06 +02:00
..
clients feat(site): 🛬 PCBJam landing page — waitlist, sections, Tailwind 2026-06-07 14:59:13 +02:00
ee feat(site): 🛬 PCBJam landing page — waitlist, sections, Tailwind 2026-06-07 14:59:13 +02:00
gerber-demo feat: lazily-loaded Gerber viewer demo in the blog, served from R2 2026-06-17 10:28:06 +02:00
graphics feat(site): 🫙 PCBJam landing revisions — branding, accuracy, positioning graphic 2026-06-07 17:14:19 +02:00
icons feat(site): 🛬 PCBJam landing page — waitlist, sections, Tailwind 2026-06-07 14:59:13 +02:00
apple-touch-icon.png feat(site): add favicon.ico + apple-touch-icon so the tab icon renders 2026-06-10 17:24:31 +02:00
favicon.ico feat(site): add favicon.ico + apple-touch-icon so the tab icon renders 2026-06-10 17:24:31 +02:00
favicon.svg feat(site): 🫙 PCBJam landing revisions — branding, accuracy, positioning graphic 2026-06-07 17:14:19 +02:00
robots.txt feat(site): 🚀 add Astro marketing/content site 2026-06-07 08:57:37 +02:00