Srcbook
An open-source TypeScript notebook that runs locally, with AI features for exploring and iterating on ideas, powered by Node.js.
At a Glance
About Srcbook
Srcbook is an open-source TypeScript-centric notebook and app development platform that runs locally on your machine. Built by srcbookdev and licensed under Apache 2.0, it lets developers create, run, and share TypeScript notebooks with a web interface. The GitHub README notes that Srcbook is not under active development.
What It Is
Srcbook is a local-first interactive programming environment for TypeScript. It functions like a notebook (similar to Jupyter, but for TypeScript/JavaScript), where users can write and execute code cells, annotate with Mermaid diagrams, and export notebooks to a valid markdown format (.src.md). It runs as a CLI application that spins up a local web interface, accessible at http://localhost:2150 by default.
Core Features
- Create, run, and share TypeScript notebooks with a local web UI
- Export notebooks to
.src.mdmarkdown format - AI-assisted exploration and iteration (requires a user-supplied API key, with Anthropic's
claude-3-5-sonnet-latestrecommended) - Diagramming support via Mermaid for rich visual annotations
- Powered by Node.js (requires Node 18+)
Setup Path
Srcbook is designed for minimal setup. The recommended approach is to run it directly via npx srcbook@latest start without a global install, ensuring the latest version is always used. Docker is also supported for containerized environments. Users bring their own AI API key, configured through the web interface after startup.
Architecture and Deployment Model
The tool runs entirely on the user's local machine — there is no cloud dependency for the core notebook functionality. AI features are opt-in and require an external API key. Analytics collection is included but can be disabled by setting SRCBOOK_DISABLE_ANALYTICS=true in the environment. The source code is publicly available on GitHub under the Apache License 2.0, with 3,441 stars and 312 forks as listed on the repository page.
Current Status: Not Under Active Development
The Srcbook GitHub README explicitly states: "Srcbook is not under active development." The repository's last push was April 2026, and the project appears to have transitioned — the srcbook.com domain now redirects to Mocha (getmocha.com), an AI-powered no-code website builder by Axilla, Inc., which itself has announced a shutdown. Srcbook remains available as an open-source project for self-hosting and community use, but prospective users should be aware that no active maintenance is ongoing.
Community Discussions
Be the first to start a conversation about Srcbook
Share your experience with Srcbook, ask questions, or help others learn from your insights.
Pricing
Open Source
Free to use, modify, and distribute under the Apache License 2.0.
- TypeScript notebook environment
- Local execution
- AI features (bring your own API key)
- Mermaid diagrams
- Export to .src.md
Capabilities
Key Features
- TypeScript notebook environment
- Local execution with web interface
- AI-assisted code exploration (bring your own API key)
- Export to .src.md markdown format
- Mermaid diagram support
- Docker support
- CLI application
- Node.js powered
