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

smart-genesis

v1.0.0

Published

A CLI tool to scaffold projects with GitHub integration.

Readme

Smart Genesis

Smart Genesis is a powerful CLI tool designed to streamline project initialization for developers. It automates scaffolding for various project types—such as Web Apps, APIs, and CLI tools—by integrating popular frameworks (Next.js, Nest.js, Django, FastAPI, etc.) and overlaying customizable templates. Additionally, Smart Genesis features seamless GitHub repository creation through an integrated OAuth flow hosted on your deployed OAuth server.

Features

Flexible Scaffolding

Create projects for Web Apps, APIs, or CLI tools with tailored prompts. For Web Apps, answer separate questions for the frontend and backend frameworks. Choose between a monorepo (with separate frontend and backend directories) or separate repositories.

Automatic Customization

Overlays professional templates for README and index files. Generates a requirements.txt for Python projects with essential packages.

GitHub OAuth Integration

Automatically opens GitHub's OAuth consent screen via your deployed OAuth server. The OAuth server handles the sensitive OAuth flow and stores the access token. Your CLI tool polls the /token endpoint on your OAuth server to retrieve the token. Once obtained, Smart Genesis uses the token to create a GitHub repository, initialize Git, commit the scaffolded code, add a remote, and push the initial commit automatically.

Installation

Install Smart Genesis globally using npm:

npm install -g smart-genesis

Or use npx:

npx smart-genesis

Usage

Run the CLI tool from your terminal:

smart-genesis

Interactive Workflow

Project Scaffolding:

Prompts:

  • Enter your project name.
  • Choose the project type (Web App, API, CLI Tool).
  • For Web Apps, select your frontend framework (Next.js or React) and decide if you need a backend.
  • If a backend is needed, choose a backend framework (Nest.js, or a Python framework such as Django, Flask, or FastAPI).
  • Decide on the repository structure: monorepo or separate repositories.
  • Choose whether to use TypeScript (for Next.js projects).

Scaffolding:

  • Smart Genesis uses the appropriate CLI commands (e.g., npx create-next-app, npx nest new, or django-admin startproject) to scaffold your project and overlays custom templates.

GitHub Repository Creation:

When prompted, choose to automatically create a Git repository.

Steps:

  1. Smart Genesis will open your deployed OAuth server’s /login endpoint in your browser.
  2. Complete the OAuth flow on GitHub. Your deployed server will handle the code exchange and store the access token.
  3. The CLI tool then polls the /token endpoint on your OAuth server until the token is available.
  4. Once the token is retrieved, Smart Genesis uses it to call the GitHub API, create a new repository, initialize Git, commit the scaffolded code, add the remote, and push the initial commit automatically.

Hosted OAuth Service Configuration

Smart Genesis leverages a deployed OAuth server for secure GitHub integration. To use this feature:

  • No Local Credential Setup Required. With the OAuth service handling sensitive credentials, end users do not need to set up any OAuth credentials locally.

License

Smart Genesis is released under the MIT License.