Srcbook is a TypeScript notebook that runs locally on your machine.
Srcbook addresses the need for an interactive development environment where TypeScript code can be executed and iterated upon without leaving the browser. It combines a local Node.js runtime with a web interface, allowing developers to write, execute, and share TypeScript notebooks. The tool exports notebooks to markdown format and integrates AI capabilities for code exploration and iteration, along with Mermaid diagramming support for rich annotations.
Srcbook suits developers who want a lightweight, self-contained notebook environment for TypeScript without relying on cloud infrastructure. It works well for prototyping, exploring ideas, and documenting code with executable examples. The tool requires Node 18 or higher and can be run via npx or Docker, with API keys managed through the web interface. Anyone adopting it should be aware that the project is not under active development.
The project collects behavioral analytics to improve the application, though this can be disabled via an environment variable. The codebase is open source, allowing users to verify the analytics implementation and privacy practices directly.