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

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.1
File Size Uploaded Provenance Actions
cast_by_matt-0.1.1.tar.gz 21.2 kB With provenance Details for cast_by_matt-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 44.5 kB

Release files / cast_by_matt-0.1.1.tar.gz

Download URL cast_by_matt-0.1.1.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c9ab940788132ba250ee28d004ffd5df268d7a72f23e5ec5d310d153ff811643
BLAKE2b-256 checksum
How to use checksums
8036671226aa495192585349da117e6567c76fb43f775b469029b197ff95d148
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.1-py3-none-any.whl

Download URL cast_by_matt-0.1.1-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b3037178b6b5919b1e1221bd67b075c08b9175d01a88d409400d1abd3da78c2
BLAKE2b-256 checksum
How to use checksums
9e10756b12b69584a6b86f14cba055380b5483b9b6c6a294a59b5b492292fe2c
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.1

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