Working Prototype · Interactive Presentations

Keynox: Interactive Web Presentation Engine

A TypeScript presentation platform for technical teaching and explanation. Keynox combines a DOM/GSAP playback engine and a shared Zod schema with a Fastify pipeline that progressively streams AI-generated slides. Presentations support step-based animation, Boolean logic simulations, physics sliders, and mathematical notation.

StatusWorking prototype
ArchitectureShared Schema · Fastify/SSE
Presentation Stage1280 × 720 · DOM & GSAP
Prototype video demonstration Recorded development session
Interactive sample deck Unit 1: Data Science presentation
Explore the sample slides, animations, and widgets above: Open deck in new tab ↗
Progressive presentation generationFastify · SSE · Shared Zod schema
Keynox generation pipeline and playback architecture A topic or document enters the Fastify request queue, followed by analysis, storyboard, art direction, progressive slide compilation, output auditing, caching, SSE delivery, and the DOM/GSAP playback runtime. The shared Zod schema defines presentations and animation actions across generation and playback. Topic / Document Generation request Fastify + Queue Request scheduling Analysis Topic / document analysis Storyboard Slide narrative + structure Art Direction Visual planning Slide Compilation Progressive slide output Output Auditing Generated output checks Cache Stage + presentation results SSE Delivery Progress + slide events DOM / GSAP Runtime Playback + interactive widgets Shared Zod schema: presentations · scenes · widgets · animation actions

Implementation highlights

  • A shared presentation contract: The client, engine, and server use a common Zod schema for scenes, layouts, elements, widgets, and animation actions. This keeps generation, editing, and playback aligned.
  • An interactive playback engine: A fixed 1280×720 virtual stage renders DOM scenes with step-based GSAP timelines. Implemented widgets include a Boolean simulator, physics slider, code block, and comparison matrix, with KaTeX for mathematical notation.
  • Staged generation: A Fastify backend queues requests and coordinates analysis, storyboarding, art direction, compilation, auditing, and caching. SSE delivers progress events and completed slides while generation continues.

Engineering decisions & tradeoffs

Direct DOM widget rendering

Interactive simulations render directly in the DOM so GSAP and widget state can operate without competing with React reconciliation. This requires explicit management of event listeners, cleanup, and accessibility.

A predictable virtual stage

The engine scales a fixed 1280×720 stage, keeping coordinates and animation geometry consistent. The tradeoff is less flexible layout on small screens and during accessibility zoom.

Progressive output and frame batching

SSE exposes progress and completed slides before the full request finishes. Incoming tokens are queued and applied through requestAnimationFrame. This is a batching technique; frame rate and generation latency still require benchmarking. Cancellation, reconnection, and partial-output handling add complexity.

Caching and degraded-mode fallbacks

The pipeline caches intermediate and final results in memory, so cached data is local to an instance and disappears on restart. Some generation failures use deterministic fallback content; successful rendering alone does not establish that every generation stage completed through an AI provider.

Prototype status & remaining work

The code inspection confirmed the client, engine, schema, and server implementations, and a deployed backend health endpoint returned HTTP 200. A functioning public frontend and successful production AI generation were not verified.

The reported test run passed 67 of 68 tests. A queue watchdog test failed to observe the expected abort, leaving timeout and cancellation behavior as follow-up work. Local uncommitted changes also differ from the public repository, so a tagged demo version is needed for reproducible review.

HTML and PowerPoint export paths and model-provider integrations are implemented, but export fidelity and successful requests across advertised providers still need functional validation. Usage, uptime, operating cost, and production security have not been established.

Contact

I am open to internships, junior IoT roles, and firmware engineering opportunities.

If you are working on embedded hardware, connected devices, or backend telemetry, get in touch: