mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
feat: Implement Remotion video rendering API with TTS, word timings, and Docker pre-bundling.
This commit is contained in:
1 parent
d98d43cd06
commit
e472e05a3b
3 files changed
+33
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env node
|
||||
// Pre-bundle Remotion composition during Docker build.
|
||||
// This warms up the Webpack cache so the first user render is fast.
|
||||
const { bundle } = require('@remotion/bundler');
|
||||
const path = require('path');
|
||||
|
||||
bundle({ entryPoint: path.resolve(__dirname, '../client/src/remotion/index.ts') })
|
||||
.then(loc => console.log('✅ Remotion pre-bundle OK:', loc))
|
||||
.catch(e => { console.warn('⚠️ Remotion pre-bundle skipped:', e.message); process.exit(0); });
|
||||
Reference in new issue
Block a user