Show HN: Vivix – See inside JavaScript as it executes (open source)
1–8 of 8 posts
Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#2Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#3Does it work with coding agents?
Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#4Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#5nice! this might replace the explainer i usually handout for this concept https://www.youtube.com/watch?v=8aGhZQkoFbQ but Vivix seems
Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#6How it works technically:
- Acorn parses code into an AST client-side
- A custom interpreter runs in a Web Worker off the main thread, with a sync fallback for environments without Worker support
- The worker produces a flat immutable array of step snapshots
- Svelte 5 $state.raw: scrubbing the timeline is a constant-time array index swap
- GSAP animates only what changed between snapshots
Result: 60fps stepping through call stack, heap mutations and async/await simultaneously. 12 modules plus free-form mode. MIT licensed. Code runs entirely client-side your source never leaves the browser.
GitHub: https://github.com/HenryOnilude/vivix (MIT, 490 tests)
Known limitations: 500-step cap to prevent infinite loops, flat scope model for let/const inside blocks.
Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#7Re: Show HN: Vivix – See inside JavaScript as it executes (open source)
#8woah so cool! do you plan to add support for other languages like python or go? this can be very helpful in learning new languages or algorithms