opnix
v1.1.31
Published
Visual command center for understanding, managing, and documenting software projects
Downloads
107
Maintainers
Readme
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄ ▄▄▄ ▄▄ ▄▄
█ █ █ █ █ █ █ █ █ █
█ ▄ █ ▄ █ █▄█ █ █ █▄█ █
█ █ █ █ █▄█ █ █ █ █
█ █▄█ █ ▄▄▄█ ▄ █ █ █
█ █ █ █ █ █ █ █ ██▄██ █
█▄▄▄▄▄▄▄█▄▄▄█ █▄█ █▄▄█▄▄▄█▄█ █▄█
Operational Toolkit · Visual Canvas · Audit EngineA 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 opnixThen 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 startAdvanced Usage
# Specify custom port
opnix --port 8080
# Analyze specific project
opnix --project /path/to/your-project
# Run setup wizard
opnix wizard
# Show help
opnix --helpWhat 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 opnix2. Navigate to Your Project
cd your-project3. Start Opnix
opnix4. 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 dependencies2. Create a New Feature
Via UI:
- Click Features tab
- Click + New Feature
- Fill in name, description, acceptance criteria
- Link to relevant modules
- 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:
- Click Tickets tab
- View all tasks in board view
- Filter by status, priority, tags
- 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 specificationVia CLI Interview:
# Start spec interview
curl -X POST http://localhost:7337/api/claude/execute \
-H 'Content-Type: application/json' \
-d '{"command":"/spec"}'Via UI:
- Click Specs tab
- Click Generate Spec
- Export as Markdown or JSON
5. Plan Your Roadmap
Via UI:
- Click Roadmap tab
- Click + New Milestone
- Add features to milestone
- Set target dates
- Export timeline
6. View Tech Stack
Via UI:
- Click Tech Stack tab
- See all dependencies and versions
- Identify outdated packages
- 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 --helpAPI 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 queueExample:
# 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
- Run the wizard —
opnix wizardwalks you through initial setup - Review Canvas — Check that module detection is accurate
- Create baseline spec — Use
/specto document current state - Set up roadmap — Plan your next features
Daily Workflow
- Start Opnix —
opnixin your project directory - Review tickets — Check what needs to be done
- Update as you work — Mark tickets complete, create new features
- Generate docs — Keep documentation in sync
Team Collaboration
- Export documentation — Share specs and diagrams with team
- Use roadmap — Keep everyone aligned on priorities
- Track with tickets — Maintain shared task visibility
- 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
- Install Opnix in your project directory
- Run the setup wizard — Answer questions about your project
- Review the Canvas — See your initial architecture
- Generate baseline docs — Export specs and diagrams
- Set up roadmap — Plan your first features
Managing an Existing Project
- Run module detection — Get current architecture state
- Create features — Use
/new-featurefor new work - Track in roadmap — Organize by milestone
- Generate tickets — Auto-create from acceptance criteria
- Export documentation — Keep stakeholders informed
Onboarding New Team Members
- Export architecture diagram — Show system overview
- Share auto-generated specs — Up-to-date technical docs
- Provide module canvas — Interactive exploration
- Generate runbooks — Operational procedures
Refactoring & Technical Debt
- Visualize dependencies — See what's coupled
- Identify problem modules — Health indicators
- Plan refactoring — Create features with clear criteria
- Track progress — Use roadmap milestones
- 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 buildKey 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 serverExporting & 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"
- Use Canvas to visualize current dependencies
- Identify clean separation boundaries
- Create features for each new service
- Track migration progress in Roadmap
- Generate architecture diagrams for documentation
Example 2: Compliance Documentation
"We need SOC2 documentation"
- Run
/runbookfor compliance templates - Generate tech stack inventory
- Export architecture diagrams
- Create operational runbooks
- Maintain version history for audit trail
Example 3: Developer Onboarding
"New team member starts Monday"
- Export current architecture diagram
- Generate up-to-date specification
- Provide module canvas for exploration
- Share feature roadmap
- Link to auto-generated runbooks
Example 4: Technical Debt Planning
"We need to tackle accumulated debt"
- Module detection identifies problem areas
- Create features for refactoring work
- Map dependencies to avoid breaks
- Track progress with tickets
- Update documentation automatically
Advanced Features
Bug Workflow Enforcement
Structured bug lifecycle with commands:
pnpm bug:start— Begin bug workflowpnpm bug:complete— Finish with validationpnpm 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 viewpnpm 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.
