dc5ff09b67
Render the React-Three-Fiber-v9 (React 19) templates client-side without touching the
React-18 Next host: a standalone Vite app (services/remotion/player) mounts
@remotion/player with the real FlexStory composition. The studio will embed it via an
iframe and feed scene data (URL hash for first paint, postMessage for live edits).
- player/main.tsx: reads {props, aspect, watermark}, computes duration via
calcFlexStoryMetadata, renders <Player>. Free tier shows a watermark overlay
(preview only — clean export stays server-authorized).
- vite.config.player.ts: builds to player-dist/ with relative base (servable at /player/).
- @remotion/player + vite added.
Verified: vite build bundles FlexStory + three.js (672 modules → 1.3MB) and serves
at /player/index.html (200). Browser render to be confirmed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
68 lines
966 B
Plaintext
68 lines
966 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies (root + any nested, e.g. services/remotion/node_modules)
|
|
/node_modules
|
|
node_modules/
|
|
/.pnp
|
|
.pnp.js
|
|
.yarn/install-state.gz
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# local env files
|
|
.env*.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# graphify analysis output (large generated files)
|
|
/graphify-out/
|
|
|
|
# local secrets
|
|
.env.local
|
|
.env.v2
|
|
|
|
# windows / msys crash dumps
|
|
*.stackdump
|
|
|
|
# .NET build output
|
|
[Bb]in/
|
|
[Oo]bj/
|
|
|
|
# built node-agent binary (large)
|
|
node-agent.exe
|
|
|
|
# node-agent local build + secrets
|
|
services/node-agent/dist/
|
|
agent.env
|
|
|
|
# remotion render outputs (regenerated; thumbnails/previews live in public/template-media)
|
|
services/remotion/out/
|
|
|
|
# local scratch / agent work
|
|
/-w
|
|
/.agent-work/
|
|
dist/
|
|
services/remotion/player-dist/
|