npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-odlabs-payload

v1.2.0

Published

OD Labs White-label Payload CMS template CLI for internal use.

Readme

OD Labs Payload CMS Template CLI

Admin Dashboard Preview

npm

An internal tool for OD Labs to quickly bootstrap new Payload CMS projects pre-configured with our premium white-label branding, customized UI, and optimized developer experience.

Quick Start

The easiest way to start a new project is using npx (which runs the CLI without installing it permanently):

npx create-odlabs-payload

# Or use the npm init shorthand:
npm init odlabs-payload

Global Installation (Optional)

If you prefer to install it globally:

pnpm add -g create-odlabs-payload

# or
npm install -g create-odlabs-payload

# Then run:
create-odlabs-payload

Setup Process

  1. Project Name: Enter a name for a new directory, or leave it blank to use the current directory.
  2. Current Directory Confirmation: If left blank, the CLI confirms whether it should scaffold into the current directory and warns again if that directory is not empty.
  3. Template Selection: Choose either the Website Template or Plugin Template.
  4. Configuration:
    • Website Template: Provide a validated PostgreSQL connection string.
    • Plugin Template: Optionally provide a validated GitHub repository URL and choose whether to enable the sample post seed.
  5. Review: Confirm the generated project path, template, environment file target, and configuration before the CLI starts downloading files.
  6. Wait: The CLI will download the selected template, generate the appropriate .env file, and install dependencies automatically.

Dry Run

Use --dry-run to walk through the prompts and preview what the CLI would do without writing files, removing .git, or installing dependencies.

npx create-odlabs-payload --dry-run

Project Structure

The generated project follows the standard Payload CMS structure, with template-specific scaffolding for:

  • website/: A white-labeled Payload website starter with OD Labs branding.
  • plugin/: A branded Payload plugin template with a local dev app and seeded plugin metadata.

Features

  • Template Selection: Choose between website and plugin scaffolds from the CLI.
  • Prompt Validation: Database URIs, GitHub repository URLs, and project names are validated with clearer recovery messages.
  • Current Directory Support: Leave the project name blank to scaffold into the current directory after confirmation.
  • OD Labs Branding: A branded CLI splash screen using the ANSI Shadow wordmark plus pre-configured plugin defaults.
  • Setup Review Screen: Confirm target path, template, environment output, and template-specific settings before execution.
  • Plugin Env Customization: Plugin scaffolds generate dev/.env from dev/.env.example with fixed internal defaults, generated secrets, and your optional repository URL.
  • Streamlined Setup: Automatic environment variable configuration and dependency installation.

After Generation

The CLI installs dependencies for you. When setup completes, run:

cd your-project-name
pnpm dev

If you scaffolded into the current directory, just run:

pnpm dev

License

This project is licensed under the MIT License.


© 2026 OD Labs. Internal use only.