create-jant
v0.6.7
Published
Create a new Jant project
Maintainers
Readme
create-jant
Scaffold a new Jant site for Cloudflare Workers.
Usage
# npm
npm create jant@latest my-site
# pnpm
pnpm create jant@latest my-site
# yarn
yarn create jant my-site
# interactive mode
npm create jant@latestWhat It Does
The scaffold:
- creates a Cloudflare Workers project wired for Jant
- generates a local
.dev.varsfile with a secureAUTH_SECRET - installs dependencies by default
- initializes a git repository by default
- can switch the storage template to S3-compatible storage with
--s3
Options
create-jant [project-name] [options]
--s3 Use S3-compatible storage instead of Cloudflare R2
--no-install Skip dependency installation
--no-git Skip git initialization
-y, --yes Skip prompts and use defaultsAfter Scaffolding
cd my-site
npm run devOpen http://localhost:3000.
Need another local port?
PORT=3030 npm run devWhat the New Project Includes
- Cloudflare Workers runtime
- D1 for the database
- R2 for media by default
- Drizzle ORM
- better-auth
- Tailwind CSS v4 and BaseCoat
- Lingui for localization
- Jant's CLI commands through the local
jantbinary
Documentation
License
AGPL-3.0-or-later
