srcbook  by srcbookdev

TypeScript-centric app development platform: notebook and AI app builder

created 1 year ago
3,362 stars

Top 14.8% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Srcbook is an open-source, TypeScript-centric platform for developing AI-powered web applications and interactive notebooks. It targets developers seeking an integrated environment for rapid prototyping, code generation, and sharing of TypeScript projects, leveraging AI for boilerplate creation and code assistance.

How It Works

Srcbook operates as a local CLI application with a web interface, powered by Node.js. It offers two primary modes: an AI app builder for creating and iterating on web applications with hot-reloading previews, and a TypeScript notebook environment that supports AI features for exploration and Mermaid diagramming for annotations. Users bring their own API keys, with a strong recommendation for Anthropic's Claude models.

Quick Start & Requirements

  • Install/Run: npx srcbook@latest start or pnpm dlx srcbook@latest start. Global install: npm i -g srcbook then srcbook start.
  • Prerequisites: Node.js 18+ (nvm recommended), Corepack.
  • Docker: Build image with docker build -t srcbook . and run with docker run -p 2150:2150 -v ~/.srcbook:/root/.srcbook -v ~/.npm:/root/.npm srcbook.
  • API Key: Required for AI features, configured via the web interface at http://localhost:2150.
  • Docs: FAQ

Highlighted Details

  • AI-powered boilerplate generation, code modification, and bug fixing.
  • Hot-reloading web preview for app development.
  • TypeScript notebooks exportable to Markdown (.src.md).
  • Mermaid diagramming for rich notebook annotations.
  • Local execution with a web-based interface.

Maintenance & Community

  • Community support available via Discord and YouTube.
  • Development instructions are in CONTRIBUTING.md.

Licensing & Compatibility

  • Licensed under the Apache-2.0 license.
  • Permissive license suitable for commercial use and integration with closed-source projects.

Limitations & Caveats

Analytics tracking is enabled by default but can be disabled via the SRCBOOK_DISABLE_ANALYTICS=true environment variable. The project collects behavioral analytics for improvement, with source code available for verification.

Health Check
Last commit

4 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
1
Star History
66 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Taranjeet Singh Taranjeet Singh(Cofounder of Mem0), and
1 more.

fragments by e2b-dev

0.6%
6k
Next.js template for AI-generated apps
created 1 year ago
updated 1 week ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Didier Lopes Didier Lopes(Founder of OpenBB), and
4 more.

stagehand by browserbase

1.0%
15k
AI browser automation framework for production
created 1 year ago
updated 1 day ago
Feedback? Help us improve.