Monorepo for Aesthetic.Computer aesthetic.computer
core oven
4 folders · 35 files

fonts
infra
kidlisp-mini
scripts
.env.example
.gitignore
.npmrc
baker.mjs
bundler.mjs
deploy.fish
deploy.sh
generate-og-samples.mjs
grabber.mjs
LOCAL-DEV-SETUP.md
native-builder.mjs
native-git-poller.mjs
os-base-build.mjs
os-builder.mjs
package-lock.json
package.json
paper-crunch.mjs
papers-builder.mjs
papers-git-poller.mjs
private-products.mjs
README.md
recap-builder.mjs
recap-git-poller.mjs
REPORT.md
server.mjs
SETUP-LITH-RSYNC.md
sync-source.sh
test_animation_frames.mjs
test_bundle_parse.mjs
test_complete_flow.mjs
test_fixed_source.mjs
test_ink_fix.mjs
test_spin_timing.mjs
test-oven.mjs
test-query-tapes.mjs
README.md
# Oven - Video Processing Service for Aesthetic Computer Tapes ## Overview `oven.aesthetic.computer` is a dedicated DigitalOcean Droplet service for processing tape recordings into MP4 videos. This solves the Netlify Function 250MB size limit issue caused by bundling ffmpeg. ## Quick Deployment ### Deploy to Production ```bash cd /workspaces/aesthetic-computer/oven fish deploy.fish ``` This automated script will: 1. ✅ Create DigitalOcean droplet (2GB RAM, 2 vCPU, $18/month) 2. ✅ Install Node.js 24, ffmpeg, and Caddy 3. ✅ Deploy oven service code 4. ✅ Configure HTTPS with automatic certificates 5. ✅ Set up systemd service for auto-restart 6. ✅ Configure DNS (oven.aesthetic.computer) ### Post-Deployment Steps 1. **Update Netlify Environment:** ```bash # Add to system/.env (for development) OVEN_URL=https://oven.aesthetic.computer # Add to Netlify dashboard (for production) # Site settings → Environment variables OVEN_URL=https://oven.aesthetic.computer ``` 2. **Test the Service:** ```bash # Health check curl https://oven.aesthetic.computer/health # Expected: {"status":"healthy"} # View dashboard open https://oven.aesthetic.computer ``` 3. **Monitor Logs:** ```bash ssh -i ~/.ssh/oven-deploy-key root@DROPLET_IP tail -f /var/log/oven/oven.log ``` ## Architecture ### Current Problem - Netlify Functions have a 250MB size limit - `ffmpeg-static` (50MB) + `ffprobe-static` + dependencies exceed this limit - Functions `track-media` and `tape-convert-background` fail to deploy ### Solution External video processing service on a dedicated server: ``` User uploads tape ↓ aesthetic.computer (Netlify) ↓ POST job to oven oven.aesthetic.computer (DigitalOcean Droplet) ↓ Download ZIP to /tmp/ ↓ Process video with ffmpeg ↓ Upload MP4 + thumbnail to at-blobs-aesthetic-computer/tapes/ ↓ POST callback with Spaces URLs ↓ Clean up /tmp/ aesthetic.computer receives callback ↓ Download MP4 from Spaces ↓ Upload blob to ATProto …