I built Rewind: A zero-dependency TIME-TRAVEL DEBUGGER with live in-browser hot-patching
Описание и применение
Rewind — это универсальный отладчик с путешествием во времени, позволяющий быстро находить и исправлять ошибки в приложениях на Python, Node.js, Go и других языках без внешних зависимостей.
Задача
Debugging modern applications is painful due to reliance on console logs or forward stepping, which can miss the exact mutation causing a crash.
Результат
Rewind enables developers to quickly identify and fix bugs across multiple runtimes without adding dependencies or slowing execution.
Рабочий процесс
- 1. Install Rewind via pip or clone the repo
- 2. Run a script or command with
rewind run script.pyorrewind exec "node server.js" - 3. When execution ends or an exception occurs, Rewind launches a local cockpit at http://localhost:8765
- 4. Use the timeline scrubber to navigate to the problematic state
- 5. Inspect variable mutations and state diffs
- 6. Edit code in the browser sandbox and replay to verify the fix
- 7. Apply the patch to disk if desired
Доказательства
Rewind was designed with three foundational principles: Universal Multi-Runtime Tracing, Sub-Microsecond Circular State Diffing, and In-Browser Time Scrubber & Live Hot-Patching.
Rewind launches a local interactive cockpit at http://localhost:8765 when execution finishes or hits an unhandled exception.
- Дата записи: 2026-09-13T10:45:23.584Z