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

termcode

v0.5.0

Published

Superior terminal AI coding agent with enterprise-grade security, intelligent error recovery, performance monitoring, and plugin system - Advanced Claude Code alternative

Readme

TermCoder — Superior Terminal AI Coding Agent

Next-generation terminal coding agent with advanced architecture and enterprise-grade features

npm version License: MIT GitHub stars

🚀 Quick Start

npm install -g termcode@latest
termcode --repo .
# Interactive setup wizard will configure your AI providers

🎯 Why TermCoder Over Claude Code?

| Feature | Claude Code | TermCoder | |---------|-------------|-----------| | AI Providers | Anthropic only | 7+ providers (OpenAI, Anthropic, xAI, Google, Mistral, Cohere, Ollama) | | Security | Basic validation | Advanced security sandbox with 30+ rules | | Intelligence | Static | AI-powered error recovery & smart suggestions | | Performance | No monitoring | Real-time performance analytics & optimization | | Extensibility | Limited | Full plugin system with marketplace | | Workflow | Basic diffs | Enhanced diff management with conflict resolution |

🏗️ Advanced Architecture

🛡️ Enterprise Security

  • Multi-layered sandbox with dynamic policy enforcement
  • AI-powered anomaly detection for suspicious commands
  • Security rule engine with 30+ built-in security patterns
  • Command validation with whitelist/blacklist management

🧠 Intelligent Systems

  • Smart error recovery with 15+ error pattern recognition
  • AI-powered suggestions with context awareness and learning
  • Performance monitoring with real-time metrics and optimization
  • Hook system for pre/post execution validation and customization

🔌 Extensible Platform

  • Plugin system with lifecycle management and dependency resolution
  • Marketplace integration for community extensions
  • Hook architecture for custom workflow integration
  • MCP support for external data source connectivity

🤖 Multi-Provider AI Support

| Provider | Models | Status | |----------|---------|---------| | OpenAI | GPT-4o, GPT-4o-mini, GPT-4-turbo | ✅ Full support | | Anthropic | Claude 3.5 Sonnet, Claude 3 Opus/Sonnet | ✅ Full support | | xAI | Grok Beta, Grok Vision | ✅ Full support | | Google | Gemini 1.5 Pro/Flash, Gemini 1.0 Pro | ✅ Full support | | Mistral | Mistral Large/Medium, Codestral | ✅ Full support | | Cohere | Command R/R+, Command | ✅ Full support | | Ollama | Any local model (Llama, CodeLlama, etc.) | ✅ Full support |

⚡ Core Features

Smart Terminal Experience

termcode --repo .
[termcoder] > Add user authentication with JWT tokens
[termcoder] > /provider anthropic    # Switch to Claude
[termcoder] > /performance          # View performance metrics
[termcoder] > test && build         # Run tests and build
[termcoder] > pr "Add JWT auth"     # Create pull request

Advanced Command System

  • Smart suggestions with AI-powered autocomplete
  • Context awareness with project type detection
  • Pattern learning from user behavior
  • Intelligent recovery from errors and failures

Enhanced Workflow Management

  • Branch isolation with automatic git branch creation
  • Conflict resolution with 3-way merge capabilities
  • Session persistence with complete audit trails
  • Rollback system for safe experimentation

🎮 Interactive Commands

Provider Management

/provider <name>       # Switch AI provider
/model <id>           # Change model
/health               # Check provider status
/keys                 # API key management

Advanced Features

/performance          # Performance analytics & optimization
/security             # Security sandbox statistics
/intelligence         # AI error recovery stats
/hooks               # Active system hooks
/plugins             # Plugin system management
/suggestions         # Smart suggestion analytics
/diffs               # Diff management status
/workspace           # Workspace information

Development Tools

test                 # Auto-detect and run tests
lint                 # Run project linter
build                # Run project build
!<command>           # Safe shell execution

Git Workflow

merge                # Apply changes to main
rollback             # Discard all changes  
pr "title"           # Create GitHub PR
status               # Git status

🔧 Installation & Setup

Method 1: NPM (Recommended)

npm install -g termcode
termcode --repo /path/to/project

Method 2: From Source

git clone https://github.com/dhrxv8/TermCoder.git
cd TermCoder
npm install && npm run build && npm link

API Key Setup

Get your API keys from:

Keys are stored securely in OS keychain during setup.

📊 Advanced Capabilities

Performance Intelligence

  • Real-time AI call monitoring with latency tracking
  • Resource usage analysis and optimization suggestions
  • Provider performance comparison and recommendations
  • Automated performance alerts and thresholds

Security Architecture

  • Dynamic command validation with security policies
  • Credential leak detection and prevention
  • Suspicious pattern recognition with AI analysis
  • Compliance reporting and audit trails

Smart Workflow

  • Context-aware task suggestions based on project type
  • Intelligent conflict resolution for merge operations
  • Automated error recovery with suggested fixes
  • Learning system that improves with usage patterns

🛡️ Enterprise-Grade Safety

  • Isolated execution with temporary git branches
  • Clean state validation prevents data loss
  • Auto-commit system with descriptive messages
  • Rollback capabilities for safe experimentation
  • Budget controls across all AI providers
  • Audit logging for compliance requirements

📈 Performance & Monitoring

TermCoder provides comprehensive monitoring and analytics:

  • Response time tracking across all AI providers
  • Cost optimization suggestions based on usage patterns
  • Error rate monitoring with intelligent recovery
  • Resource utilization analysis and recommendations
  • Provider health checks with automatic failover

🔌 Plugin Ecosystem

Extend TermCoder with plugins:

/plugins                    # View installed plugins
termcode plugin install git-enhanced    # Install plugin
termcode plugin search security        # Search marketplace

Built-in plugin types:

  • Security scanners for vulnerability detection
  • Code analyzers for quality metrics
  • Workflow integrations for CI/CD systems
  • AI provider extensions for custom models

🚀 Advanced Usage Examples

Multi-Provider Workflow

termcode --repo .
[termcoder] > /provider openai
[termcoder] > Add React components    # Fast with GPT-4o
[termcoder] > /provider anthropic  
[termcoder] > Review code quality     # Thorough with Claude
[termcoder] > /provider ollama
[termcoder] > Add tests              # Private with local model

Performance Optimization

[termcoder] > /performance
⚡ Performance Statistics:
  Total Metrics: 847
  Avg Response Time: 2,341ms  
  Success Rate: 94.2%
  
  Recommendations:
    HIGH Switch from slow provider
    MED  Consider using faster model

Security Monitoring

[termcoder] > /security  
🛡️ Security Statistics:
  Total Violations: 12
  By Severity:
    critical: 0
    high: 2
    medium: 5
    low: 5

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

  • Built as a superior alternative to Claude Code
  • Inspired by the need for multi-provider flexibility
  • Thanks to the AI community for feedback and contributions

TermCoder — Where AI meets Terminal Excellence 🚀

Built with advanced architecture for developers who demand more