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-betterfactory

v0.0.12

Published

Scaffold an open-source eve Software Factory you own — composable like Better T-Stack

Downloads

1,832

Readme

create-betterfactory

create-next-app energy for Software Factories — open source, composable, owned completely by you.

Scaffold an eve agent graph that turns intent into tickets and gates them Ready for Handoff for humans or Coding Agents (Cursor, Grok Build, cloud agents).

It is not a coding harness and does not host your factory as a multi-tenant service. You own the generated package.

npx create-betterfactory@latest

Quick start

After scaffolding, the CLI copies .env.example.env and runs dependency install with your package manager (auto-detected from pnpm create / yarn create / bunx, or chosen in the wizard / via --pm).

# Interactive wizard (asks for package manager)
npx create-betterfactory@latest

# Non-interactive defaults (GitHub Issues tickets, new directory, npm install)
npx create-betterfactory@latest my-factory -y

# Prefer pnpm
npx create-betterfactory@latest my-factory -y --pm pnpm
# or
pnpm create betterfactory@latest my-factory -y

# Markdown tickets, dry-run (print files only — no write/install)
npx create-betterfactory@latest my-factory -y --tickets markdown --dry-run

# Into an existing monorepo
npx create-betterfactory@latest my-factory -y \
  --install in-place \
  --package-path apps/my-factory

# Scaffold files only
npx create-betterfactory@latest my-factory -y --skip-install --skip-env

Package managers

npx create-betterfactory@latest
pnpm create betterfactory@latest
yarn create betterfactory
bun create create-betterfactory@latest

Options

| Flag | Description | |------|-------------| | [name] | Factory name / directory | | -y, --yes | Non-interactive defaults | | --tickets <tickets> | github (default), linear, or markdown | | --channel <list> | Extra channels, comma-separated (e.g. slack) | | --install <mode> | Scaffold mode: new (default) or in-place | | --package-path <path> | Path for in-place install (default apps/<name>) | | --pm <pm> | npm | pnpm | yarn | bun (auto-detect if omitted) | | --skip-install | Do not run dependency install | | --skip-env | Do not copy .env.example.env | | --no-shell | Skip opening a shell in a new factory directory after scaffold | | --force | Overwrite an existing agent/ tree | | --dry-run | Compose stack and list files without writing | | --list-modules | List Module catalog and exit |

What you get

| Piece | Role | |-------|------| | Root | Intake, route, policy | | Planner | Plans by writing tickets | | Reviewer | Cold-context review + Ready for Handoff gate |

Tickets: GitHub Issues (default), Linear, or tickets/*.md.
Channels: eve TUI/HTTP always; optional Slack (auto-runs eve channels add slack -y after install).
Install: new directory or in-place into your Target Repository.

After a new directory scaffold on a TTY, the CLI opens a shell in the factory package (so you do not need to cd yourself). Use --no-shell to skip. Type exit to leave that shell.

.env is already created — add AI_GATEWAY_API_KEY (and ticket backend creds), then:

pnpm dev        # or npm run dev / yarn dev / bun run dev

Programmatic use

The package also exports the module catalog and command builder (used by the Stack Builder landing site):

import {
  buildCreateCommand,
  composeStack,
  listCatalog,
  type StackConfig,
} from "create-betterfactory";

// Or tree-shake-friendly:
import { buildCreateCommand } from "create-betterfactory/modules";

const stack: StackConfig = {
  name: "my-factory",
  installMode: "new",
  tickets: "github",
  channels: ["eve"],
};

console.log(buildCreateCommand(stack)); // npx create-betterfactory@latest …
const files = composeStack(stack);      // Record<path, contents>

Requirements

  • Node.js ≥ 20
  • An AI Gateway / model credentials for running the generated factory (see generated .env.example)

License

MIT — the scaffold CLI and the factories you generate are yours.

Repo: github.com/ikindacodes/betterfactory