Skip to main content

claude-app-scaffold

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

5 questions, and you get a working backend (FastAPI + Anthropic SDK), a vanilla HTML/CSS/JS frontend, deployment files for Railway and Netlify, 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 — 5 questions (name, type, model, 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
--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.

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.1.0.tar.gz (18.5 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.1.0-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_app_scaffold-0.1.0.tar.gz
  • Upload date:
  • Size: 18.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 65959b8a36d4ff32d9e99e432283ec680ad11ebe24778b34c9bd90c9c9351f2b
MD5 746ff558920b76cce77237a8ee39e948
BLAKE2b-256 8d24ea551d403b93425ffdf838774136d235f713b7a616c803b7cafa848dc312

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for claude_app_scaffold-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7a94641df687d04faed0135fb7d42d8fc4ddfd73f9a9a9bac2f4c83cebabba
MD5 135a295cd06f68ac34c98b0702ffdca2
BLAKE2b-256 8416f980cabff956b83e4081c308bef213207db4904da5ef66444ff5be3db15e

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