
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
A modern CLI tool for scaffolding Astro applications with libSQL/Turso database integration and flexible deployment to Cloudflare Pages, Vercel, or Netlify
A modern CLI tool for scaffolding Astro applications with libSQL/Turso database integration and Cloudflare, Vercel or Netlify deployment
Quick Start β’ Commands β’ Features
bit2 is the fastest way to create modern web applications with a complete, production-ready stack. Get a beautiful Astro site with database integration and deployment configured in minutes.
# Install globally
npm install -g bit2-cli
# Create a new project
bit2 new my-awesome-app
# Start developing
cd my-awesome-app
bit2 dev
# Deploy to production (when ready)
bit2 deploy
That's it! Your app is running with a database, API endpoints, and a beautiful UI. When ready, deploy to production with a single command!
bit2 new <project-name>Creates a new Astro project with everything configured:
bit2 devStarts the development server with local SQLite database and hot reload
bit2 deploySmart deployment workflow:
bit2 migrateRuns database migrations for both local and production databases
# Create new project
bit2 new my-app
cd my-app
# Start development
bit2 dev
# Deploy to production
bit2 deploy
my-app/
βββ src/
β βββ pages/ # Astro pages (frontend + API)
β βββ components/ # Astro components
β βββ db/
β β βββ client.ts # Database client configuration
β β βββ schema.sql # Database schema
β β βββ seed.sql # Sample data
β βββ lib/
β βββ db.ts # Database utilities
βββ dev.db # Local SQLite database
βββ astro.config.mjs # Astro + Cloudflare, Vercel or Netlify configuration
βββ package.json
./dev.dbThe bit2 deploy command handles everything:
# Install Bun
curl -fsSL https://bun.sh/install | bash
# Install Turso CLI (required for deployment)
curl -sSfL https://get.tur.so/install.sh | bash
turso auth signup
# Install CLI tools for deployment
brew install gh # GitHub CLI
gh auth login
We welcome contributions! Here's how to get started:
git checkout -b feature/amazing-feature)bit2 test)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)MIT License - see the LICENSE file for details.
Made with β€οΈ for the modern web
β Star on GitHub β’ π¦ View on npm β’ π Report Issues
FAQs
A modern CLI tool for scaffolding Astro applications with libSQL/Turso database integration and flexible deployment to Cloudflare Pages, Vercel, or Netlify
We found that bit2-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.