# Srcbook

> Srcbook is a self-hosted TypeScript notebook running locally with a web UI, AI coding help, and Mermaid diagrams — for developers exploring libraries or testing APIs.

- **Category:** Developer Tools
- **Licence:** Apache-2.0
- **Latest version:** 0.0.19
- **Open source:** oss
- **Languages:** Typescript
- **Platforms:** Docker, NPM
- **Tags:** Notebook, Local First, Developer Tools, Mermaid, Javascript, Node.js, Typescript, AI, Learning, Local

## Description

Srcbook is a TypeScript notebook you run on your own machine. It provides a web-based interface where you create and execute notebooks backed by a local Node.js process, giving you full access to the file system, databases, and network. Notebooks can be exported as Markdown (.src.md) and shared. AI features assist with writing and editing code, though you must supply your own Anthropic API key. Mermaid diagramming adds visual annotations. Installation options include npx (always current), a global npm/pnpm install, or building the Docker image from source. The project uses a local SQLite database for persistence and collects optional usage analytics that can be disabled. The maintainers note the project is not under active development. Licensed Apache-2.0.

## Links

- [Homepage](https://github.com/srcbookdev/srcbook)
- [Website](https://hub.srcbook.com)
- [Discord](https://discord.gg/shDEGBSe2d)
- [FAQ](https://github.com/srcbookdev/srcbook/blob/main/FAQ.md)
- [Contributing Guide](https://github.com/srcbookdev/srcbook/blob/main/CONTRIBUTING.md)
- [Privacy Policy](https://github.com/srcbookdev/srcbook/blob/main/PRIVACY-POLICY.md)

---
Source: https://selfhost.directory/project/srcbook