One-line idea β Plan JSON + style-adapted scaffolds + Ask-Copilot + Cursor deep link
Blueprint Snap is an AI-powered development planning tool that transforms simple ideas into comprehensive development plans with style-adapted code scaffolds, intelligent copilot assistance, and seamless Cursor integration.
- AI-Powered Planning: Generate complete development plans from one-line ideas using GPT-5
- Style Adaptation: Automatically adapt code to match your coding style preferences
- Ask Copilot: Get intelligent suggestions and modifications for any part of your plan
- Real-time Collaboration: Live updates and real-time plan modifications
- Cursor Integration: Deep link integration with VS Code/Cursor for seamless workflow
- Pattern Library: Pre-built development patterns for common scenarios
- Fetch History: Comprehensive tracking and visualization of all API requests with stats and filtering
- Secure: HMAC-signed payloads and comprehensive security measures
- LangGraph Orchestration: Multi-step plan generation workflow
- OpenAI Integration: GPT-5 for intelligent plan generation and copilot responses
- Supabase Integration: Database, authentication, and real-time features
- Security: HMAC signing, input validation, and secure API endpoints
- Modern UI: Clean, responsive interface with Tailwind CSS
- Real-time Updates: Live plan modifications and collaboration
- File Management: Download ZIP files and manage generated code
- Copilot Interface: Interactive AI assistance for plan refinement
- Database: User profiles, projects, plans, and development events
- Authentication: GitHub OAuth integration
- Real-time: Live updates and collaboration features
- Edge Functions: Repository analysis for style profile extraction
- URI Handler: Deep link integration with
vscode://protocol - File Operations: Safe file writing and workspace management
- Task Execution: Automatic task running after plan ingestion
- Security: HMAC verification and path validation
- Python 3.11+
- Node.js 18+
- npm
- Supabase Account
- OpenAI API Key (with GPT-5 access)
- VS Code or Cursor (for extension)
git clone <repository-url>
cd blueprinterpython3 setup_env.pyThis script will:
- Check prerequisites
- Create
.envfile with generated secrets - Install all dependencies
- Set up configuration files
Edit the .env file with your actual credentials:
# OpenAI Configuration
OPENAI_API_KEY=sk-your-actual-openai-key
GPT5_MODEL=gpt-5-reasoning
# Supabase Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
# Security
HMAC_SECRET=your-generated-secret- Create a new Supabase project
- Run the SQL scripts:
-- Run these in your Supabase SQL editor \i supabase/schema.sql \i supabase/policies.sql
- Deploy the Edge Function:
supabase functions deploy analyze_repo
cd cursor-extension
npm run package
# Install the generated .vsix file in VS Code# Start all services
npm run dev
# Or start individually
npm run dev:backend # Backend only
npm run dev:frontend # Frontend only- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Sign in with GitHub
- Create a new project
- Enter your idea: "Add user search with pagination to the admin panel"
- Click "Generate Plan"
- Review the generated plan with steps, files, tests, and risks
- Use "Ask Copilot" to refine specific parts
- Download as ZIP or "Add to Cursor" for immediate development
POST /api/plan
Content-Type: application/json
{
"idea": "Add user search with pagination",
"projectId": "project-uuid"
}POST /api/ask
Content-Type: application/json
{
"planId": "plan-uuid",
"nodePath": "/steps/0/summary",
"selectionText": "Create API route",
"userQuestion": "How can I improve this step?"
}POST /api/plan/patch
Content-Type: application/json
{
"planId": "plan-uuid",
"patch": [
{
"op": "replace",
"path": "/steps/0/summary",
"value": "Create API route with error handling"
}
]
}POST /api/cursor-link
Content-Type: application/json
{
"planId": "plan-uuid"
}Blueprint Snap includes pre-built patterns for common development scenarios:
- API Search with Pagination: Standard API endpoints with search and pagination
- CRUD Operations: Complete CRUD operations for resources
- Authentication System: User authentication with JWT
- Custom Patterns: Add your own patterns to the database
- HMAC Signing: All Cursor deep links are HMAC-signed
- Input Validation: Comprehensive validation of all inputs
- Path Security: Protection against directory traversal attacks
- Authentication: GitHub OAuth with Supabase integration
- RLS Policies: Row-level security for all database operations
# Backend tests
cd backend
pytest
# Frontend tests
cd frontend
npm test
# Extension tests
cd cursor-extension
npm test# Build frontend
npm run build:frontend
# Package extension
npm run package:extension
# Build backend (already built with pip install -e .)- Deploy to any Python hosting service (Railway, Render, Heroku)
- Set environment variables
- Ensure Python 3.11+ runtime
- Build with
npm run build:frontend - Deploy to Vercel, Netlify, or any static hosting
- Set environment variables for API endpoints
- Use Supabase hosting for database and Edge Functions
- Configure custom domains if needed
- Package with
npm run package:extension - Publish to VS Code Marketplace or distribute
.vsixfiles
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details.
"HMAC secret not configured"
- Set
blueprintSnap.secretin VS Code settings - Ensure the secret matches between backend and extension
"Invalid signature"
- Check that HMAC secrets match
- Verify payload hasn't been corrupted
"OpenAI API error"
- Verify your OpenAI API key has GPT-5 access
- Check API key permissions and billing
"Supabase connection failed"
- Verify Supabase URL and keys
- Check network connectivity
- Ensure RLS policies are properly configured
- Check the Issues page
- Review the API documentation at
/docs - Check Supabase logs for database issues
- OpenAI for GPT-5 API
- Supabase for backend infrastructure
- LangGraph for workflow orchestration
- VS Code team for extension platform
Blueprint Snap β Dev DNA Edition
Transforming ideas into code, one plan at a time.