How scottinp/downframe works
Downframe is a browser-based After Effects preset and project downgrader. A visitor selects or drops files; the page reads and identifies them, surfaces third-party effects, offers supported older targets, converts and checks results, then downloads one file or a ZIP. Conversion runs locally, while an optional server endpoint maintains a public conversion count. The graph reflects the shown call sites and README workflow; converter internals are grouped because detection, rewriting, and validation share one source file.
Main entry points: main.ts Page workflow · reveal.ts Section reveal · count.ts Count endpoint · index.ts Format conversion
Components 12
Conversion workflow
- Page workflow
src/main.ts - File intake
src/main.ts - Plugin effects
src/converter/index.ts - Batch ZIP
src/zip.ts - Browser download
src/main.ts
Binary conversion
- Format conversion
src/converter/index.ts
Page interface
- Byte animation
src/ui/byte-strip.ts - Keyframe canvas
src/ui/keyframe-grid.ts - Section reveal
src/ui/reveal.ts
Public counter
- Count endpoint
api/count.ts
Other components
- Visitor
- Redis counter
Connections 13
- Visitor → Page workflow: selects files
README.md - Page workflow → File intake: loads files
src/main.ts - File intake → Format conversion: detects format
src/main.ts - File intake → Plugin effects: scans effects
src/main.ts - Page workflow → Format conversion: converts files
src/main.ts - Page workflow → Batch ZIP: builds batch
src/main.ts - Page workflow → Browser download: starts download
src/main.ts - Page workflow → Count endpoint: fetches total
src/main.ts - Count endpoint → Redis counter: reads or increments
api/count.ts - Page workflow → Byte animation: loads animation
src/main.ts - Page workflow → Keyframe canvas: loads canvas
src/main.ts - Page workflow → Section reveal: loads reveal
src/main.ts - Section reveal → Byte animation: signals reveal
src/ui/reveal.ts