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 🙏

© 2025 – Pkg Stats / Ryan Hefner

opnix

v1.1.31

Published

Visual command center for understanding, managing, and documenting software projects

Downloads

107

Readme

   ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄    ▄ ▄▄▄ ▄▄   ▄▄
  █       █       █  █  █ █   █  █ █  █
  █   ▄   █    ▄  █   █▄█ █   █  █▄█  █
  █  █ █  █   █▄█ █       █   █       █
  █  █▄█  █    ▄▄▄█  ▄    █   █       █
  █       █   █   █ █ █   █   █ ██▄██ █
  █▄▄▄▄▄▄▄█▄▄▄█   █▄█  █▄▄█▄▄▄█▄█   █▄█

  Operational Toolkit · Visual Canvas · Audit Engine

MOLE Theme License Node Vue

A visual command center for understanding, managing, and documenting software projects.

Opnix combines intelligent project analysis with interactive visualizations to help teams maintain clarity across complex codebases.

Installation · Features · Workflows · Documentation


🎯 What is Opnix?

🗺️ Visual Architecture Maps

Interactive dependency graphs showing how your modules connect

📚 Automated Documentation

Generate specs, runbooks, and technical docs from your code

🎯 Intelligent Project Management

Track features, tickets, and roadmaps with smart automation

💻 CLI-Driven Workflows

Progressive questionnaires that guide you through specs, bugs, and features

📊 Real-Time Insights

Live tech stack analysis, module health, and architecture diagrams

🎨 MOLE Theme

High-contrast colors optimized for accessibility

🚀 Why Use Opnix?

👤 Solo Developers

✨ Maintain clarity on growing projects 🔗 Visualize dependencies 📝 Generate professional specs automatically

👥 Teams

🎓 Onboard with auto-generated diagrams 📖 Keep docs in sync with code 🎯 Track features and tech debt

📊 Project Managers

👁️ Real-time project visibility 🗓️ Automated roadmap generation 📤 Export-ready documentation

⚡ Installation

NPM/PNPM (Recommended)

Install Opnix globally or in your project:

# Install globally
npm install -g opnix

# Or use with npx (no install needed)
npx opnix

# Or with pnpm
pnpm add -g opnix
pnpm dlx opnix

Then run in your project directory:

cd your-project
opnix

🌐 Open http://localhost:7337

Local Development Installation

Clone and run from source:

# Clone Opnix
git clone https://github.com/Kindjhali/Opnix.git
cd opnix

# Install dependencies
pnpm install

# Start server
pnpm start

Advanced Usage

# Specify custom port
opnix --port 8080

# Analyze specific project
opnix --project /path/to/your-project

# Run setup wizard
opnix wizard

# Show help
opnix --help

What Happens on First Run

Opnix automatically:

  • ✅ Detects your project structure
  • ✅ Creates required directories (data/, spec/, .opnix/)
  • ✅ Builds the production bundle (if needed)
  • ✅ Runs the interactive setup wizard
  • ✅ Starts the analysis server on port 7337

🎯 Quick Start Guide

1. Install Opnix

npm install -g opnix

2. Navigate to Your Project

cd your-project

3. Start Opnix

opnix

4. Open in Browser

Navigate to http://localhost:7337


📖 Basic Usage

Understanding the Interface

When you open Opnix, you'll see several tabs:

  • Canvas — Visual map of your project's modules and dependencies
  • Modules — List view of all detected modules with health metrics
  • Tickets — Task management board
  • Features — Feature planning with acceptance criteria
  • Roadmap — Timeline view of milestones and releases
  • Specs — Generated documentation and specifications
  • Diagrams — Architecture diagrams (Mermaid format)

Essential Workflows

1. Explore Your Architecture

# Start Opnix
opnix

# Open browser → Canvas tab
# You'll see an interactive graph of your modules
# Click and drag to explore dependencies

2. Create a New Feature

Via UI:

  1. Click Features tab
  2. Click + New Feature
  3. Fill in name, description, acceptance criteria
  4. Link to relevant modules
  5. Save — tickets are auto-generated

Via CLI:

curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/new-feature"}'

3. Track Work with Tickets

Via UI:

  1. Click Tickets tab
  2. View all tasks in board view
  3. Filter by status, priority, tags
  4. Click a ticket to edit or complete

Via API:

# Get all tickets
curl http://localhost:7337/api/tickets

# Create a ticket
curl -X POST http://localhost:7337/api/tickets \
  -H 'Content-Type: application/json' \
  -d '{"title":"Fix bug","description":"..","priority":"high"}'

4. Generate Documentation

Via Setup Wizard:

opnix wizard
# Follow prompts to generate full project specification

Via CLI Interview:

# Start spec interview
curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/spec"}'

Via UI:

  1. Click Specs tab
  2. Click Generate Spec
  3. Export as Markdown or JSON

5. Plan Your Roadmap

Via UI:

  1. Click Roadmap tab
  2. Click + New Milestone
  3. Add features to milestone
  4. Set target dates
  5. Export timeline

6. View Tech Stack

Via UI:

  1. Click Tech Stack tab
  2. See all dependencies and versions
  3. Identify outdated packages
  4. Export inventory

Via API:

curl http://localhost:7337/api/tech-stack

🔧 Common Commands

Server Commands

# Start Opnix (default port 7337)
opnix

# Custom port
opnix --port 8080

# Analyze specific project
opnix --project /path/to/project

# Run setup wizard
opnix wizard

# Development mode (auto-reload)
opnix dev

# Show version
opnix --version

# Show help
opnix --help

API Endpoints (while server is running)

# Module graph
curl http://localhost:7337/api/modules/graph

# Run module detection
curl http://localhost:7337/api/modules/detect

# Get tickets
curl http://localhost:7337/api/tickets

# Get roadmap
curl http://localhost:7337/api/roadmap

# Generate architecture diagram
curl http://localhost:7337/api/diagrams/architecture

# Tech stack inventory
curl http://localhost:7337/api/tech-stack

# Start CLI interview
curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/spec"}'

CLI Interviews (Slash Commands)

Run structured interviews via API:

/spec          # Generate full project specification
/new-feature   # Create feature with acceptance criteria
/new-module    # Document a new module
/new-bug       # Structured bug intake
/new-diagram   # Create architecture diagram
/new-api       # Specify API endpoints
/runbook       # Generate operational runbook
/plan          # Create delivery plan
/tasks         # Export task queue

Example:

# Start feature interview
curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/new-feature"}'

# Get session ID from response, then answer questions
curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/answer SESSION_ID QUESTION_ID your-answer"}'

💡 Tips & Best Practices

First Time Setup

  1. Run the wizardopnix wizard walks you through initial setup
  2. Review Canvas — Check that module detection is accurate
  3. Create baseline spec — Use /spec to document current state
  4. Set up roadmap — Plan your next features

Daily Workflow

  1. Start Opnixopnix in your project directory
  2. Review tickets — Check what needs to be done
  3. Update as you work — Mark tickets complete, create new features
  4. Generate docs — Keep documentation in sync

Team Collaboration

  1. Export documentation — Share specs and diagrams with team
  2. Use roadmap — Keep everyone aligned on priorities
  3. Track with tickets — Maintain shared task visibility
  4. Version control — Commit data/ directory to git

Performance Tips

  • Module detection runs automatically but can be triggered manually
  • Canvas is cached — refresh with Detect Modules button
  • Large projects may take longer to analyze initially
  • Use filters in Tickets tab to focus on relevant work

Core Features

1. Visual Module Canvas

What it does: Automatically detects and visualizes your project's module architecture using Cytoscape.

Key capabilities:

  • Drag-and-drop dependency editing
  • Real-time module health indicators
  • Export as PNG or JSON
  • Manual override support for custom connections

Use case: You're refactoring a monolith. The canvas shows you exactly which modules depend on the one you're changing, preventing accidental breaks.

Access: Canvas tab in the UI or GET /api/modules/graph

2. Smart Module Detection

What it does: Scans your codebase to identify modules, analyze dependencies, and assess health metrics.

Detects:

  • Package manifests (package.json, requirements.txt, etc.)
  • Import/export patterns
  • Directory structure and aliases
  • Circular dependencies and coupling issues

Use case: After adding a new service, run detection to see how it fits into your existing architecture and catch any problematic dependencies early.

Access: Auto-runs on startup or trigger with GET /api/modules/detect

3. CLI Interview System

What it does: Interactive command-line questionnaires that guide you through creating structured documentation.

Available interviews:

  • /spec — Full project specification
  • /new-feature — Feature planning with acceptance criteria
  • /new-module — Module onboarding and documentation
  • /new-bug — Structured bug intake
  • /runbook — Operational playbooks for deployment/incidents
  • /new-api — API endpoint specifications

Use case: A stakeholder requests a new feature. Run /new-feature, answer guided questions, and automatically generate tickets, acceptance criteria, and module mappings.

Example:

curl -X POST http://localhost:7337/api/claude/execute \
  -H 'Content-Type: application/json' \
  -d '{"command":"/new-feature"}'

4. Automated Specification Generation

What it does: Analyzes your codebase and generates comprehensive technical specifications.

Outputs:

  • JSON spec with complete project metadata
  • Markdown documentation ready for GitHub
  • Spec Kit format for standardized docs
  • Architecture diagrams in Mermaid format

Use case: Your team needs updated documentation for a quarterly review. Run the spec generator and export professional docs in minutes instead of days.

Access: Setup wizard or Specs tab

5. Roadmap Management

What it does: Plan features, track milestones, and visualize project timelines.

Features:

  • Drag-and-drop milestone organization
  • Automatic version history with rollback
  • Dependency tracking between features
  • Export to Markdown or JSON

Use case: Planning a v2.0 release. Create milestones for each major feature, link dependencies, and export a timeline for your team.

Access: Roadmap tab or GET /api/roadmap

6. Ticket & Feature Tracking

What it does: Complete project management with smart automation.

Capabilities:

  • Create tickets from feature definitions
  • Filter by priority, status, tags
  • Completion workflows with validation
  • Export to Markdown for reporting

Use case: During sprint planning, create a feature with acceptance criteria. Opnix automatically generates individual tickets for each criterion.

Access: Tickets tab or /api/tickets endpoints

7. Tech Stack Dashboard

What it does: Real-time inventory of all technologies used in your project.

Tracks:

  • Dependencies and versions
  • Framework usage across modules
  • Technology categories and trends
  • Potential security or compatibility issues

Use case: Auditing dependencies before a major upgrade. See exactly which modules use the outdated library and plan your migration strategy.

Access: Tech Stack tab or GET /api/tech-stack

8. Live Architecture Diagrams

What it does: Auto-generates Mermaid diagrams from your codebase structure.

Diagram types:

  • Architecture overview (module relationships)
  • Sequence diagrams (API flows)
  • Entity diagrams (data models)
  • Flow diagrams (business logic)

Use case: Explaining system architecture to a new team member. Generate an up-to-date diagram that shows actual current structure, not outdated documentation.

Access: Diagrams tab or GET /api/diagrams/:type

9. Integrated Terminal

What it does: Built-in terminal with WebSocket support for running commands directly in the UI.

Features:

  • Full terminal emulation with xterm.js
  • Command history and persistence
  • Theme integration matching UI
  • Real-time command output

Use case: Running build commands or git operations without leaving the Opnix interface.

Access: Terminal tab

10. Runbook Generator

What it does: Creates operational playbooks for deployment, incidents, and maintenance.

Templates include:

  • Deployment procedures
  • Incident response guides
  • Release checklists
  • Compliance documentation

Use case: Creating a runbook for your on-call rotation. Answer structured questions and generate a complete incident response guide.

Access: /runbook CLI command or Runbook modal

Common Workflows

Starting a New Project

  1. Install Opnix in your project directory
  2. Run the setup wizard — Answer questions about your project
  3. Review the Canvas — See your initial architecture
  4. Generate baseline docs — Export specs and diagrams
  5. Set up roadmap — Plan your first features

Managing an Existing Project

  1. Run module detection — Get current architecture state
  2. Create features — Use /new-feature for new work
  3. Track in roadmap — Organize by milestone
  4. Generate tickets — Auto-create from acceptance criteria
  5. Export documentation — Keep stakeholders informed

Onboarding New Team Members

  1. Export architecture diagram — Show system overview
  2. Share auto-generated specs — Up-to-date technical docs
  3. Provide module canvas — Interactive exploration
  4. Generate runbooks — Operational procedures

Refactoring & Technical Debt

  1. Visualize dependencies — See what's coupled
  2. Identify problem modules — Health indicators
  3. Plan refactoring — Create features with clear criteria
  4. Track progress — Use roadmap milestones
  5. Document changes — Auto-update specs

Quick Reference

Essential Commands

# Start the server
pnpm start

# Run setup wizard
pnpm run setup:wizard

# Development mode with auto-reload
pnpm dev

# Build production bundle
pnpm build

Key API Endpoints

| Endpoint | Purpose | |----------|---------| | POST /api/claude/execute | Run CLI commands | | GET /api/modules/graph | Get module dependencies | | GET /api/roadmap | Fetch roadmap data | | GET /api/tickets | List all tickets | | GET /api/diagrams/architecture | Generate architecture diagram | | GET /api/tech-stack | Get technology inventory |

CLI Commands

| Command | What it does | |---------|--------------| | /spec | Generate full project specification | | /new-feature | Create feature with acceptance criteria | | /new-module | Document a new module | | /new-bug | Structured bug intake | | /runbook | Generate operational runbook | | /new-api | Specify API endpoints |

Project Structure

opnix/
├── src/                    # Vue 3 frontend
│   ├── components/         # 38 UI components
│   ├── composables/        # Reactive state management
│   └── services/           # API clients
├── routes/                 # Express API routes
├── services/               # Backend logic
├── scripts/                # CLI tools & automation
├── data/                   # JSON state storage
│   ├── tickets.json
│   ├── features.json
│   ├── roadmap-state.json
│   └── modules-detected.json
└── spec/                   # Generated documentation
    ├── blueprints/
    ├── runbooks/
    └── diagrams/

Data Storage

Opnix stores all state as JSON files in the data/ directory:

  • tickets.json — Task backlog and completion tracking
  • features.json — Feature definitions with acceptance criteria
  • roadmap-state.json — Milestones and timeline data
  • modules-detected.json — Cached module analysis
  • tech-stack.json — Technology inventory
  • module-links.json — Manual dependency overrides

Generated documentation lives in spec/:

  • spec/blueprints/ — Auto-generated specifications
  • spec/runbooks/ — Operational playbooks
  • spec/diagrams/ — Mermaid architecture diagrams

UI Overview

Main Interface Tabs

  • Canvas — Interactive module visualization
  • Modules — Module management and health metrics
  • Tickets — Task board with filtering
  • Features — Feature planning with criteria
  • Roadmap — Timeline and milestone tracking
  • Specs — Generated documentation browser
  • Diagrams — Architecture visualization
  • Tech Stack — Technology inventory
  • Terminal — Integrated command line
  • Docs — Documentation viewer
  • API — API endpoint explorer

Modal Workflows

  • Ticket Completion — Capture work summaries before closing
  • Feature Creation — Guided feature definition
  • Bug Intake — Structured bug reporting
  • Runbook Generation — Operational playbook creation
  • Module Addition — New module onboarding

Configuration

Setup Wizard

The interactive wizard configures:

  • Project type detection (greenfield vs existing)
  • Technology stack identification
  • Initial module scanning
  • Documentation preferences
  • Agent file generation (CLAUDE.md, etc.)

Manual Configuration

Skip automation with:

pnpm install --ignore-scripts
pnpm run setup:install  # Manual setup
pnpm build              # Build bundle
pnpm start              # Start server

Exporting & Integration

Export Formats

  • Markdown — GitHub-ready documentation
  • JSON — Structured data for tooling
  • PNG/SVG — Visual diagrams and canvases
  • Spec Kit — Standardized specification format

Integration Points

  • Git Hooks — Husky integration for quality checks
  • CI/CD — Automated spec generation on builds
  • Storybook — Component documentation (port 6006)
  • APIs — REST endpoints for external tools

Use Case Examples

Example 1: Microservices Migration

"We're breaking up our monolith into microservices"

  1. Use Canvas to visualize current dependencies
  2. Identify clean separation boundaries
  3. Create features for each new service
  4. Track migration progress in Roadmap
  5. Generate architecture diagrams for documentation

Example 2: Compliance Documentation

"We need SOC2 documentation"

  1. Run /runbook for compliance templates
  2. Generate tech stack inventory
  3. Export architecture diagrams
  4. Create operational runbooks
  5. Maintain version history for audit trail

Example 3: Developer Onboarding

"New team member starts Monday"

  1. Export current architecture diagram
  2. Generate up-to-date specification
  3. Provide module canvas for exploration
  4. Share feature roadmap
  5. Link to auto-generated runbooks

Example 4: Technical Debt Planning

"We need to tackle accumulated debt"

  1. Module detection identifies problem areas
  2. Create features for refactoring work
  3. Map dependencies to avoid breaks
  4. Track progress with tickets
  5. Update documentation automatically

Advanced Features

Bug Workflow Enforcement

Structured bug lifecycle with commands:

  • pnpm bug:start — Begin bug workflow
  • pnpm bug:complete — Finish with validation
  • pnpm bug:status — Check current state

Session Recovery

Checkpoint-based recovery for interrupted work:

  • Automatic state snapshots
  • Rollback to previous versions
  • Resume from last checkpoint

Progress Tracking

Monitor project health:

  • pnpm progress — Dashboard view
  • pnpm progress:summary — Quick overview
  • Real-time metrics and KPIs

Requirements

  • Node.js ≥ 18
  • pnpm ≥ 8
  • Modern browser (Chrome, Firefox, Safari, Edge)
  • 500MB disk space for dependencies

Links

  • Repository: https://github.com/Kindjhali/Opnix
  • Issues: https://github.com/Kindjhali/Opnix/issues
  • Discussions: https://github.com/Kindjhali/Opnix/discussions

License

MIT License - see LICENSE file for details


🎨 MOLE Color Palette

Opnix — Transform your codebase into clear, maintainable documentation and visual insights.

Built with ❤️ using Vue 3, Express, Cytoscape, and modern web technologies.