Spaces:
Running
Running
Commit History
-
feat: deploy DocEditorPlayground as a static Hugging Face Space
Eric Putnam +1: Claude Opus 5 (1M context)Static export of the upstream Next.js app (doceditorplayground v0.1.2 @ b6823d2), built by scripts/build-static.ps1 and served from the repository root. Static SDK rather than Docker: per Hugging Face's docs, Static Spaces are free for everyone while Docker Spaces require a paid plan. The app suits it - no getServerSideProps, no middleware, no next/image, and six client-side editors. - app/ vendors the upstream checkout (generated by scripts/sync-upstream.ps1) - overlay/ adds static-only files and is deliberately additive, so it cannot drift from upstream; overlay/next.config.js imports upstream's config instead of restating it - overlay/public/ai-suggest-shim.js stands in for the POST /api/ai-suggest route that output:"export" drops, reimplementing upstream's contract in the browser - Dockerfile retained for local server runs and as the paid-plan Docker path Verified in headless Chromium against the built site: all seven routes load with zero JS errors, every editor mounts an…8a8c5bb