srcbook  by srcbookdev

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

Created 1 year ago
3,394 stars

Top 14.2% on SourcePulse

GitHubView on GitHub
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

5 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
21 stars in the last 30 days

Explore Similar Projects

Starred by Alex Yu Alex Yu(Research Scientist at OpenAI; Former Cofounder of Luma AI), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

avante.nvim by yetone

0.5%
16k
Neovim plugin emulating Cursor AI IDE for AI-driven code assistance
Created 1 year ago
Updated 16 hours ago
Feedback? Help us improve.