Skip to content

sanikad20/app-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App Compiler — Natural Language → App Schema

Convert plain English app descriptions into validated, executable JSON configurations.

Pipeline (4 Stages)

  1. Intent Extractor — parses user intent into structured form
  2. System Designer — converts intent → entities, flows, roles
  3. Schema Generator — generates UI, API, DB, Auth schemas
  4. Validator + Auto-Repair — detects and fixes cross-layer inconsistencies

Eval Results

  • Success rate: 14/20 (70%)
  • Normal cases: 9/10
  • Edge cases: 5/10
  • Avg latency: 21.36s

Stack

  • Backend: FastAPI + Python
  • LLM: Groq (llama-3.3-70b-versatile)
  • Validation: Pydantic v2
  • Frontend: React

Run Locally

# Backend
cd backend
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000

# Frontend
cd frontend
npm install && npm start

API

POST /generate

{"prompt": "Build a CRM with login, contacts, dashboard"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors