Skip to content

Creer v0.1 — FastAPI backend + VS Code extension foundation - #3

Draft
seven0070 wants to merge 1 commit into
mainfrom
cursor/creer-v0.1-foundation-4a94
Draft

Creer v0.1 — FastAPI backend + VS Code extension foundation#3
seven0070 wants to merge 1 commit into
mainfrom
cursor/creer-v0.1-foundation-4a94

Conversation

@seven0070

Copy link
Copy Markdown
Owner

Summary

Implements Creer v0.1: AI-powered repo scaffolding with a FastAPI backend and a VS Code extension.

Backend (backend/)

  • POST /generate — plan project structure via OpenAI, then generate file contents one-by-one
  • GET /health — liveness check
  • Modules: planner, generator, validator (path/name safety), templates stub for v0.2
  • Lazy OpenAI client so the server boots without a key (generate fails clearly if unset)

Extension (extension/)

  • Command: Creer: Create New Repo
  • Prompts for an idea, calls http://localhost:8000/generate, writes files into the workspace
  • Optional git init + initial commit (creer.initGit)
  • Settings for backend URL; basic overwrite confirmation

Docs

  • README.md — setup & usage
  • PLAN.md — final plan for v0.2 (preview, GitHub push, templates, overwrite protection, /creer chat)

Test plan

  • cd backend && pip install -r requirements.txt && cp .env.example .env (set OPENAI_API_KEY)
  • uvicorn main:app --reload --port 8000curl /health returns ok
  • curl -X POST /generate with a sample idea returns project_name + files
  • cd extension && npm install && npm run compile → F5 → run Creer: Create New Repo
  • Confirm files land in workspace and optional git init works
Open in Web Open in Cursor 

Scaffold AI repo generation end-to-end: planner/generator API with
path validation, TypeScript extension command to write files into the
workspace with optional git init, and a PLAN.md for v0.2 priorities.

Co-authored-by: Sanath S Patil <sanathpatil8861@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants