explaingit

mkfasthq/tanstarter-cli

Analysis updated 2026-05-18

38TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A CLI that scaffolds a TanStarter web app and deploys it to Cloudflare Workers, including database, storage, and GitHub repo setup, in about ten minutes.

Mindmap

mindmap
  root((repo))
    What it does
      Scaffolds TanStarter app
      Deploys to Cloudflare
      Creates GitHub repo
    Tech stack
      TypeScript CLI
      Cloudflare Workers
      TanStack template
    Use cases
      Quick project setup
      Resume failed setup
      Delete created resources
    Audience
      Web developers
      Cloudflare Workers users
    Prerequisites
      Node.js 20 plus
      Cloudflare API token
      GitHub CLI login

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spin up a new TanStarter project with Cloudflare D1, R2, and KV resources already configured.

USE CASE 2

Automatically create and push a new GitHub repository for a freshly scaffolded app.

USE CASE 3

Resume a failed project setup from where it left off instead of starting over.

USE CASE 4

Tear down all Cloudflare and GitHub resources created by the CLI for a project.

What is it built with?

TypeScriptNode.jsCloudflare Workerspnpm

How does it compare?

mkfasthq/tanstarter-clidjdeveloperr/nativescript-expojavlonbek1233/-bento-grid
Stars383838
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity3/54/51/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 20+, a Cloudflare account with API credentials, and GitHub CLI already authenticated.

MIT license: use, modify, and share freely, including for commercial projects, as long as you keep the copyright notice.

In plain English

tanstarter-cli is a command-line tool that sets up a new web application from the TanStarter template and gets it running live on Cloudflare in about ten minutes. TanStarter itself is a starter template built on TanStack, a set of tools popular in modern web development, and this CLI automates all the tedious setup steps that would otherwise need to be done by hand. You run it with a single command through npx, without installing anything first, or you can install it globally and run it repeatedly. It asks you for a project name and the names of the cloud resources it will create, then takes care of everything else: cloning the template, installing dependencies, creating a database and storage resources on Cloudflare, writing configuration and environment files, running database setup steps, building and deploying the app, creating a new GitHub repository for the code, and pushing the first commit. Before running it, you need Node.js version 20 or newer, a Cloudflare account with an account ID and API token set in your terminal, and a GitHub account already logged into the GitHub command-line tool. If a few other required programs are missing, the CLI will try to install them automatically using whatever package manager is available on your system. If something goes wrong partway through, you don't have to start over. You can fix the problem and resume the same setup where it left off using a resume option, which reads from a saved state file. There's also a command to delete everything the CLI created, both on Cloudflare and on GitHub, if you want to clean up a project entirely. This tool is aimed at developers who already plan to use the TanStarter template and Cloudflare Workers and just want the setup automated rather than done manually. It's released under the MIT license, so it can be used, modified, and shared freely, including for commercial projects.

Copy-paste prompts

Prompt 1
Walk me through running npx tanstarter-cli@latest create with a custom domain and GitHub repo name.
Prompt 2
Explain what environment variables and Cloudflare credentials I need before running tanstarter create.
Prompt 3
Show me how to resume a failed tanstarter create setup using the --resume flag.
Prompt 4
What does tanstarter delete remove from my Cloudflare account and GitHub?

Frequently asked questions

What is tanstarter-cli?

A CLI that scaffolds a TanStarter web app and deploys it to Cloudflare Workers, including database, storage, and GitHub repo setup, in about ten minutes.

What language is tanstarter-cli written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Cloudflare Workers.

What license does tanstarter-cli use?

MIT license: use, modify, and share freely, including for commercial projects, as long as you keep the copyright notice.

How hard is tanstarter-cli to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tanstarter-cli for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.