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

octopus-framework-cli

v1.0.1

Published

The Modern Full-Stack Framework CLI for AI-First Development

Readme

🐙 Octopus CLI

The Modern Full-Stack Framework CLI for AI-First Development

npm version License: MIT


Features

  • 🚀 Instant Project Setup - Create production-ready projects in seconds
  • 🧩 Modular Architecture - Add pre-built modules for auth, billing, teams, and more
  • 🎯 Code Generation - Generate modules, entities, use cases, routers, and components
  • 🗄️ Database Management - Start, migrate, and manage your database with Docker
  • 🚢 One-Click Deploy - Deploy to Vercel, Cloudflare, Fly.io, or Railway
  • 🩺 Health Checks - Diagnose issues with the doctor command

Installation

# Install globally
npm install -g @octopus/cli

# Or use via npx
npx @octopus/cli <command>

# Or with bun
bunx @octopus/cli <command>

Quick Start

# Create a new project
octopus new my-saas-app

# Navigate to project
cd my-saas-app

# Start database
octopus db start
octopus db push

# Start development
octopus dev

Commands

Project Commands

| Command | Description | |---------|-------------| | octopus new [name] | Create a new project | | octopus init | Initialize in current directory | | octopus dev | Start development server | | octopus build | Build for production |

Code Generation

| Command | Description | |---------|-------------| | octopus add <module> | Add pre-built module | | octopus generate module <name> | Generate feature module | | octopus generate entity <name> | Generate domain entity | | octopus generate usecase <name> | Generate use case | | octopus generate router <name> | Generate API router | | octopus generate component <name> | Generate React component | | octopus generate page <name> | Generate React page |

Database Management

| Command | Description | |---------|-------------| | octopus db start | Start PostgreSQL container | | octopus db stop | Stop database container | | octopus db push | Push schema changes (dev) | | octopus db generate | Generate migration | | octopus db migrate | Run migrations | | octopus db studio | Open Drizzle Studio | | octopus db seed | Run seed scripts | | octopus db reset | Reset database (⚠️) |

Deployment & Tools

| Command | Description | |---------|-------------| | octopus deploy [platform] | Deploy to cloud | | octopus doctor | Diagnose setup | | octopus upgrade | Upgrade packages |


Available Modules

Add pre-built modules to your project:

octopus add auth       # Email, OAuth, Magic Link
octopus add billing    # Stripe payments & subscriptions
octopus add teams      # Team/organization management
octopus add blog       # Blog with MDX support
octopus add notifications # Email, push, in-app
octopus add files      # S3/R2 file uploads
octopus add admin      # Admin dashboard
octopus add analytics  # Usage tracking

Project Templates

Default

Basic setup with authentication:

octopus new my-app --template default

SaaS Starter

Complete SaaS with billing, teams, and auth:

octopus new my-saas --template saas

Minimal

Bare minimum - just the core framework:

octopus new my-project --template minimal

Technology Stack

| Layer | Technology | |-------|-----------| | Runtime | Bun 1.2+ | | Backend | Hono | | API | oRPC + Zod | | Frontend | React 19 + Vite | | Database | Drizzle ORM + PostgreSQL | | Auth | Better-Auth | | DI | Awilix | | Monorepo | Turborepo |


Development

# Clone the repo
git clone https://github.com/octopus-framework/cli.git
cd cli

# Install dependencies
bun install

# Build
bun run build

# Run locally
bun run ./dist/index.js new test-project

License

MIT © Octopus Team