stencil-hq/dquickts
QuickJS with durable execution: suspend running JS, snapshot the whole heap, resume it in another process. Native TypeScript, a REPL that survives restarts, Rust bindings.
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
A fork of QuickJS, Fabrice Bellard's small embeddable JavaScript engine, that adds two things: serialize its whole heap to bytes, and resume it later in a different process. so there is no transpile step. It also includes Rust bindings (a port of rquickjs) that expose both features. This fork tracks upstream QuickJS 2026-06-04 (see VERSION). Everything upstream ships, including the experimental Temporal and Intl support (qjs --experimental), is still here. The fork adds: The full list is under unreleased in Changelog. qjs --drepl FILE starts the usual REPL, with highlighting, history and tab completion, and input is TypeScript. After every command, the whole session is saved to FILE. When you start qjs --drepl FILE again, the session comes back with the same functions, variables, objects and closures: The commands don't run in the REPL's own runtime. They run in a separate runtime that holds only the standard objects plus print()…
Read the full README ↗ · Preview checked 2026-10-29T21:46:21.511Z
Inside the original README — Document outline
- dquickts
- Contents
- What this fork adds
- Durable REPL
- Snapshots
- What a snapshot is
- When you can take one
- Example: hibernating in the middle of a loop
- Durable host calls
- Incremental snapshots
- How it works
- The host's side of the contract
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: Other. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
QuickJS with durable execution: suspend running JS, snapshot the whole heap, resume it in another process. Native TypeScript, a REPL that survives restarts, Rust bindings.
Repository facts
- Owner
- stencil-hq
- Primary language
- C
- Stars
- 425
- Forks
- 5
- Open issues + pull requests
- 1
- License
- Other
- Archived
- No
- Default branch
- master
- Created
- 2026-10-19T12:06:42.000Z
- Last push
- 2026-10-20T19:17:57.000Z
Topics and intended use
Owner-supplied topics: c, durable-execution, embeddable, hibernation, interpreter, javascript, javascript-engine, quickjs, repl, rust, snapshots, typescript
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-10-26T12:14:13.276Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.