# Selah CLI: Zero-Setup AWS Deployment for Bolt.new

[![Built with Bolt.new](https://img.shields.io/badge/Built%20with-Bolt.new-00D8FF?style=for-the-badge&logo=bolt&logoColor=white)](https://bolt.new)
[![AI Powered](https://img.shields.io/badge/AI%20Powered-Tavus%20%2B%20Claude-FF6B35?style=for-the-badge)](https://tavus.io)
[![Deploy to AWS](https://img.shields.io/badge/Deploy%20to-AWS-FF9900?style=for-the-badge&logo=amazon-aws&logoColor=white)](https://aws.amazon.com)

## What is Selah CLI?

**The world's first AI-powered tool that takes your Bolt.new prototype and deploys it to production AWS in under 3 minutes.**

Born from personal frustration trying to deploy a Bolt.new app, Selah CLI bridges the gap between creative coding and production infrastructure. No DevOps knowledge required - just build in Bolt, run Selah, ship to AWS.

## Key Features
- **npx install:** Instantly scaffolds your project with config and AWS credential guide
- **AI-powered build:** Scans your codebase, generates a deployment plan via Vertex AI (MCP), and provisions AWS infra
- **Tavus AI agent review:** Approve deployment plans via a browser-based Tavus agent, linked from the terminal
- **Real-time logs:** Deployment logs streamed directly in Bolt
- **Framework agnostic:** Works with React, Vue, Angular, Svelte, Next.js, Nuxt.js, vanilla, and more
- **Security, performance, and accessibility audits**
- **Production-ready AWS deployments:** Lambda, S3, API Gateway, CDK/Terraform, and more

## Quick Start

### One-Command Install (Recommended)

```bash
# Install globally via npm
npm install -g selah-cli

# Use anywhere in your terminal
selah --version
```

### 3-Minute Demo

```bash
# Navigate to your Bolt.new project
cd your-bolt-project/

# Initialize Selah
selah init

# Setup AWS credentials (first time only)
selah aws-setup

# AI analysis + Tavus consultation  
selah analyze

# Deploy to AWS
selah deploy

# Note: If running on Bolt.new, use:
# selah deploy --hackathon
```

### Code Protection
Our source code is protected using advanced obfuscation while maintaining full functionality. The NPM package contains production-ready binaries that work exactly as demonstrated.

**Live Demo**: See the migration from [Supabase version](https://animated-frangollo-533c0c.netlify.app/) to [AWS CloudFront deployment](https://d1rjg702kc5z8k.cloudfront.net/).

## How It Works
1. **Project scan:** Selah CLI scans your Bolt project (runtime, envs, Dockerfiles, etc.)
2. **Context sent to MCP server:** Project context is securely transmitted to the backend (MCP), powered by Vertex AI
3. **AI plan generation:** Vertex AI returns a structured AWS deployment plan
4. **Tavus agent review:** CLI outputs a link to a Tavus AI agent for human-in-the-loop plan review
5. **AWS provisioning:** Upon approval, the backend provisions AWS infrastructure
6. **Log streaming:** Real-time deployment logs are streamed back to the CLI in Bolt

## Hackathon Submission

**Challenges Competing In:**
- **Conversational AI Video Challenge** - Tavus AI agent consultation
- **Deploy Challenge** - Zero-setup AWS deployment automation  
- **Startup Challenge** - Real market solution for developer pain point

**Bonus Prizes:**
- **Inspirational Story** - From personal deployment struggles to helping all vibecoders
- **Build-in-Public Journey** - Documented development process

**Project Timeline:**
- **Original Problem**: Built task manager in Bolt.new, couldn't deploy it
- **Solution Development**: Created Selah CLI to automate the entire process
- **Current Status**: Live production deployment + working CLI tool

**Demo Links:**
- **Original Supabase Version**: [Task Manager with Supabase](https://animated-frangollo-533c0c.netlify.app/)
- **AWS Migrated Version**: [Task Manager on AWS](https://d1rjg702kc5z8k.cloudfront.net/)
- **Download CLI**: [GitHub Releases](https://github.com/yourusername/selah-cli/releases)

## Further Documentation
- [ARCHITECTURE.md](./ARCHITECTURE.md) – System design and data flow
- [SECURITY.md](./SECURITY.md) – Credential and privacy handling
- [WORKFLOW_LOG.md](./WORKFLOW_LOG.md) – Development and compliance log
- [API.md](./API.md) – Backend API (if open-sourced)

---

For questions or contributions, open an issue or contact the team! 