Skip to main content

claude-app-scaffold

Scaffold a FastAPI + Claude API + Railway + Netlify/Vercel project in 30 seconds.

6 questions, and you get a working backend (FastAPI + Anthropic SDK), a vanilla HTML/CSS/JS frontend, deployment files for Railway and Netlify or Vercel, GEO basics (llms.txt, robots.txt, sitemap.xml, Schema.org JSON-LD), and a CLAUDE.md pre-filled so Claude Code has full context from the first message.

Install

pip install claude-app-scaffold

Usage

Interactive mode — 6 questions (name, type, model, frontend target, description, addons):

claude-app-scaffold

Non-interactive mode, for scripting:

claude-app-scaffold --name "My App" --type chatbot --model haiku \
  --description "A support chatbot for my SaaS" \
  --auth --postgres --output .
Flag Values Description
--name / -n any string Project name
--type / -t chatbot, rag, optimizer, agent What kind of Claude app
--model / -m haiku, sonnet Which Claude model to wire up
--description / -d any string One-liner used in README/CLAUDE.md/meta tags
--auth flag Add a simple Bearer-token auth dependency
--stripe flag Add Stripe checkout + webhook routes
--postgres flag Add PostgreSQL (Railway) connection + init
--frontend-target netlify, vercel Which deployment instructions/config to generate for the frontend
--output / -o path Parent directory for the generated project
--force flag Overwrite if the target directory already exists

Project types

Type Main endpoint What it adds
chatbot POST /chat Multi-turn conversation with history
rag POST /query Keyword search over backend/data/*.txt (swap for real vector search as your corpus grows)
optimizer POST /optimize Upload a .txt/.pdf, get back an improved version
agent POST /agent Tool-use loop with an example tool

What you get

my-app/
├── CLAUDE.md          # project context, pre-filled for Claude Code
├── README.md
├── .gitignore
├── backend/
│   ├── main.py        # FastAPI app, routes match the chosen type
│   ├── requirements.txt
│   ├── Procfile       # Railway
│   ├── runtime.txt
│   ├── env.example
│   └── utils/
└── frontend/
    ├── index.html     # vanilla HTML/CSS/JS, Schema.org JSON-LD
    ├── llms.txt
    ├── robots.txt
    └── sitemap.xml

Then:

cd my-app/backend
pip install -r requirements.txt
cp env.example .env   # fill in ANTHROPIC_API_KEY
uvicorn main:app --reload

Deploy backend/ to Railway and frontend/ to Netlify or Vercel, depending on what you picked.

Why

Every FastAPI + Claude project starts with the same boilerplate — CORS, env vars, a Claude client wrapper, a Procfile, GEO basics. This CLI generates that scaffold so you can start on the actual product instead.

License

MIT — see LICENSE.

Built by Raymond Gadji.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_app_scaffold-0.2.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_app_scaffold-0.2.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file claude_app_scaffold-0.2.0.tar.gz.

File metadata

  • Download URL: claude_app_scaffold-0.2.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for claude_app_scaffold-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f6be2504e80e3a2509b785b49e61a82625a496804a68829215c6c04de130cbe5
MD5 860fbb0839ad8e0f5d7a8e9c340e091e
BLAKE2b-256 f0470b282b047c934530d77355f6387dd955355eac8a17efda1c7570c95d165a

See more details on using hashes here.

File details

Details for the file claude_app_scaffold-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_app_scaffold-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcc06332ef562db5036cea616fdbe44affece14cfafeb280111098da7992458e
MD5 0b3285cb87b1fea5c7c4b9d6432b3ee8
BLAKE2b-256 209f903adcb2ff4cd0cc2a2a1598d290daba6e98746b1a23f897438d95db739e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page