Skip to content

Latest commit

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

nullslate

CLI for the nullslate dev tooling ecosystem.

Installation

cargo install --path .

Usage

nullslate <command> [options]
# or use the short alias:
ns <command> [options]

Commands

init — Scaffold a new project

nullslate init <project-name> [OPTIONS]
FlagDescription
--docsInclude MDX documentation system
--no-authSkip Auth.js authentication setup
--db <type>Database type: postgres or none (default)
--path <dir>Output directory (default: ./<project-name>)
--no-gitSkip git initialization
--no-installSkip npm install
--template <url>Custom template repository URL
-y, --yesAccept all defaults without prompting

Examples

Interactive mode:

nullslate init my-app

With all features:

ns init my-app --docs --db postgres

Non-interactive (CI):

nullslate init my-app -y

What's Included

Scaffolded projects include:

  • Vite with React 19 and TanStack Router
  • TypeScript
  • Tailwind CSS 4 with theme support
  • shadcn/ui components
  • TanStack React Query for server state

Optional Features

  • Authentication: Auth.js with GitHub OAuth
  • Documentation: MDX docs system
  • Database: PostgreSQL via pg

Environment Variables

When auth is enabled, a .env file is generated:

AUTH_SECRET=<random-64-char-hex>AUTH_GITHUB_ID=AUTH_GITHUB_SECRET=

About

CLI for the nullslate dev tooling ecosystem

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages