About bit2

The modern web stack for building fast, content-focused applications.

Built with bit2 v3.0.3

What's Included

🚀

Astro

Modern web framework for content-driven websites with islands architecture

💾

libSQL/Turso

SQLite for the edge, with seamless cloud scaling and global replication

☁️

Flexible Deployment

Deploy to Cloudflare Pages, Vercel, or Netlify - your choice of platform

Bun

Fast JavaScript runtime and package manager for modern development

Development Workflow

DEV

Local Development

Uses a local SQLite database file (./dev.db) for fast iteration and offline development.

  • Instant startup
  • No network dependencies
  • Perfect for prototyping
PROD

Production Deployment

Seamlessly switches to Turso cloud database with global edge distribution.

  • Global edge replication
  • Sub-millisecond latency
  • Automatic scaling
  • Provider-agnostic deployment

Quick Start

  1. Install the CLI
    bun install -g bit2-cli
  2. Create a project
    bit2 new my-awesome-app
  3. Enter the directory
    cd my-awesome-app
  4. Start the dev server
    bit2 dev
  5. Deploy to production
    bit2 deploy