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-vfactor-app

v0.1.3

Published

Reusable setup wizard for generating a Next.js starter with Clerk auth, ReUI-first components installed through shadcn, and optional Supabase or Convex wiring.

Readme

create-vfactor-app

Reusable setup wizard for generating a Next.js starter with Clerk auth, ReUI-first components installed through shadcn, and optional Supabase or Convex wiring.

One Command

Run this from the generator repo:

npm run setup

It asks for a project folder name, creates that folder in this repo, runs the setup wizard, then asks whether to start the dev server.

The wizard asks users to choose resources, then performs the required wiring automatically. Clerk application setup is required. When Supabase or Convex is selected, the database schema or backend functions and Clerk user sync are also configured without separate yes/no questions.

The interactive setup keeps the main terminal output compact. Press Y or N once for confirmation prompts; Enter is not required. Provider pickers keep all of the useful paths available:

  • Clerk can link an existing application or create a new one.
  • Supabase can use or create organizations and projects.
  • Convex can use or create projects, and can hand off team creation to Convex.

Resource lists show names by default and only reveal a shortened identifier when duplicate names need disambiguation. Add --verbose when you want commands, generated files, and full setup diagnostics inline.

On macOS, setup unlocks the saved Supabase CLI credential once and keeps it only in memory for the duration of the run. Every Supabase command receives the token through its child-process environment. A generated database password is forwarded the same way, so Keychain should not prompt repeatedly.

npm run setup -- --verbose

If you do not start the server immediately, run:

cd your-project-name
npm run dev

npm run new is the same command.

Structure

  • scripts/setup.mjs - rerunnable setup wizard
  • scripts/create.mjs - published CLI entrypoint
  • scripts/new.mjs - local one-command project creator
  • templates/ - base app, Supabase, and Convex templates
  • starter/ - local generated fixture used to dogfood the output

Published CLI

Create a new app folder:

npm create vfactor-app@latest

Or pass the folder name directly:

npx create-vfactor-app@latest my-app

To generate into the current folder:

npx create-vfactor-app@latest .

The generated app owns its later setup scripts:

cd my-app
npm run setup:doctor
npm run setup:supabase
npm run setup:convex
npm run dev

Publish

Test the packed package locally:

npm pack
mkdir -p /tmp/vfactor-create-test
cd /tmp/vfactor-create-test
npx /path/to/create-vfactor-app-0.1.0.tgz

Publish publicly:

npm publish --access public

Local Fixture

The starter/ fixture can still be updated directly when testing template changes.

npm run starter:setup

If starter/ does not exist, the wizard creates a fresh Next.js app there first, configures shadcn, adds the ReUI registry and starter ReUI component set, adds Clerk, then asks which database provider to wire up.

Provider shortcuts:

npm run setup:supabase
npm run setup:convex
npm run setup:doctor

Hosted user-sync receivers:

npm run supabase:webhook:deploy
npm run convex:webhook:deploy

Run the app:

npm run starter:dev

Open http://localhost:3000.

App Checks

npm run starter:lint
npm run starter:build
npm run starter:typecheck
npm run setup:doctor