Skip to main content

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: --var KEY=VALUE sets template variables without prompting, --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 variables and add-ons with cast info <template> --json, then scaffold with cast init <name> <template> --var KEY=VALUE --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. When scaffolding, files are rendered with Jinja2 ({{ project_name }} is available), git init runs automatically, and dependency installs (npm install, pip install, cargo build, …) are detected and run for you.

Template manifest (cast.json)

Optionally drop a cast.json at the root of a template to customize scaffolding. Every field is optional, and templates without a manifest work exactly as described above. The manifest itself is never copied into generated projects.

{
  // shown in the template picker and `cast list`
  "description": "Next.js 15 + App Router starter",

  // prompted at init; every value is available to Jinja, e.g. {{ db_name }}
  "variables": [
    { "name": "db_name", "prompt": "Database name", "default": "app_db" },
  ],

  "addons": {
    "recommended": ["tailwind", "shadcn"], // pre-checked in the add-on picker
    "supported": ["tailwind", "shadcn", "prisma"], // limits built-ins shown; omit to show all
  },

  // 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"],
}

Without a TTY (scripts, CI), variables fall back to their defaults instead of prompting.

Metadata

Release files for cast-by-matt 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cast-by-matt 0.1.2
File Size Uploaded Provenance Actions
cast_by_matt-0.1.2.tar.gz 21.3 kB With provenance Details for cast_by_matt-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cast-by-matt 0.1.2
File Interpreter ABI Platform Actions
cast_by_matt-0.1.2-py3-none-any.whl Python 3 none any Details for cast_by_matt-0.1.2-py3-none-any.whl

Total release size: 44.6 kB

Release files / cast_by_matt-0.1.2.tar.gz

Download URL cast_by_matt-0.1.2.tar.gz
Size 21.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d2890c92dbf671cca9a4818ec749db3661b5d3184151ebb02af49c5ef3d7c707
BLAKE2b-256 checksum
How to use checksums
439237c289383256b84cf5aba068301664f697c07f310beaa64838e7e7178849
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 4, 2026.

Transparency log

Release files / cast_by_matt-0.1.2-py3-none-any.whl

Download URL cast_by_matt-0.1.2-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e6f7bb681faff9555cbbca8e48ef237b271a7dde6aa34044aaecce32a0ed6da
BLAKE2b-256 checksum
How to use checksums
c9335f7e324d36efe72a4020e83d5d33d5c719d5fb6109fa78facac1f281c165
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 4, 2026.

Transparency log

Security for cast-by-matt 0.1.2

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.

Select from 2 files

Attestation for cast_by_matt-0.1.2.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 4, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page