cast — outline
Spin up projects in seconds. Save your own repos (local or from GitHub) as templates, scaffold new projects from them, layer on add-ons like Tailwind, Supabase, or Prisma, and land straight in your editor.
Install
pipx install cast-by-matt
Usage
Run cast with no arguments for the interactive menu:
cast
Or use it directly:
cast init myapp nextjs # scaffold 'myapp' from the 'nextjs' template
cast add nextjs ~/code/my-starter # save a local directory as a template
cast list # list saved templates
cast info nextjs # show a template's variables, add-ons, and docs
cast remove nextjs # delete a template
cast starter # install the bundled starter templates
init is fully scriptable: --addons tailwind,prisma runs add-ons and --open launches your editor.
Works with AI coding agents
Every command runs headless, so agents like Claude Code can drive cast directly: discover templates with cast list --json, inspect a template's stack and add-ons with cast info <template> --json, then scaffold with cast init <name> <template> --addons .... No plugin needed — the CLI is the integration.
New here? Just run cast — on first run it offers to install two starter templates: starter, a dependency-free mini site whose README explains how templating works, and web, a minimal Vite app. Scaffold one and you've seen the whole workflow.
Templates live in ~/.project_templates. Scaffolding copies your template byte-for-byte — what you saved is exactly what you get. git init runs automatically, and dependency installs are detected and run for you using the package manager the template was built with (pnpm install, uv sync, cargo build, …), in the project root and its subfolders — fullstack templates with a frontend/ and backend/ just work.
Optional: cast.json overrides
You never need a manifest. cast reads a template's description from its own package.json/pyproject.toml/Cargo.toml, detects installs from its lockfiles, and only offers add-ons that fit its stack. Drop a cast.json at the template root only to add things a repo can't say about itself — a recommendation, a docs link, a custom setup command. Every field is optional, and the file never ships into generated projects.
{
// shown in the template picker and `cast list`
"description": "Next.js 15 + App Router starter",
"addons": {
"recommended": ["tailwind", "shadcn"], // pre-checked in the add-on picker
"supported": ["tailwind", "shadcn", "prisma"], // limits built-ins shown; omit to show all
"custom": {
// ships with the template — anyone who installs it gets this add-on
"seed-db": { "label": "Seed database", "cmd": "npm run seed" },
},
},
// replaces automatic install detection (git init still always runs);
// use [] to skip installs entirely
"post_init": ["npm install", "cp .env.example .env"],
// printed after scaffolding so you never hunt for docs again
"docs": ["https://nextjs.org/docs"],
}
Sharing templates
A template is just a repo. Push it to GitHub and anyone can install it — cast add nextjs https://github.com/you/your-starter — with its description, recommended add-ons, docs links, and custom add-ons riding along in cast.json. Tag your repo with the cast-template topic so others can find it, and browse that topic to find theirs. Add-on commands always print in full before they run.
Metadata
Release files for cast-by-matt 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cast_by_matt-0.2.0.tar.gz | 26.4 kB | With provenance | Details for cast_by_matt-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cast_by_matt-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cast_by_matt-0.2.0-py3-none-any.whl |
Total release size: 53.7 kB
Release files / cast_by_matt-0.2.0.tar.gz
| Download URL | cast_by_matt-0.2.0.tar.gz |
|---|---|
| Size | 26.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b1fe863cad5c3e82398e9e58646de89ca743431391a4a847d27f26395bbaf14
|
|
BLAKE2b-256 checksum How to use checksums |
b1bd0f456c05228b28debc7877523ec088fc3f24fd3ce1e67222a4c31138febd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logRelease files / cast_by_matt-0.2.0-py3-none-any.whl
| Download URL | cast_by_matt-0.2.0-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f183d0f25104850984daedfa1dbb0f0a61e1eb1b8033d249c95773435f5f19ae
|
|
BLAKE2b-256 checksum How to use checksums |
293ca6b0593bbfc5683343a86b961f1d14b1d2b03a922db483a9a25960e33a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logSecurity for cast-by-matt 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cast_by_matt-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.