# Srcbook

> An open-source TypeScript notebook that runs locally, with AI features for exploring and iterating on ideas, powered by Node.js.

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.md` markdown format
- AI-assisted exploration and iteration (requires a user-supplied API key, with Anthropic's `claude-3-5-sonnet-latest` recommended)
- 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.

## 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

## Integrations
Anthropic Claude (claude-3-5-sonnet-latest), Node.js, npm, pnpm, Docker, Mermaid

## Platforms
WEB, API, CLI

## Pricing
Open Source

## Version
latest (npm: srcbook@latest)

## Links
- Website: https://github.com/srcbookdev/srcbook
- Documentation: https://github.com/srcbookdev/srcbook/blob/main/FAQ.md
- Repository: https://github.com/srcbookdev/srcbook
- EveryDev.ai: https://www.everydev.ai/tools/srcbook
