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

@votadev/tooncode

v2.6.9

Published

πŸ‡ΉπŸ‡­ Thai AI Coding Agent CLI β€” powered by free models. 21 tools, multi-agent team, semantic search, browser automation, MCP servers.

Downloads

5,562

Readme

ToonCode β€” πŸ‡ΉπŸ‡­ Thai Coding Agent CLI

by VotaLab | v2.6.1 | Thai AI Coding Agent powered by free AI models

  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
     β•šβ•β•    β•šβ•β•β•β•β•β•  β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β•

ToonCode is a free, open-source Thai AI coding agent that runs in your terminal. It uses free AI models (no API key needed) and provides a professional coding experience with 21 tools, 32 skills, multi-agent teams, semantic search, browser automation, MCP server support, and more.


Features

21 Built-in Tools

ToonCode comes with a comprehensive set of tools that the AI can use autonomously:

| Category | Tool | Description | |----------|------|-------------| | File | read | Read files with line numbers | | | write | Create/overwrite files (shows diff) | | | edit | String replacement in files (shows diff) | | | multi_edit | Batch edits across multiple files in one call | | | glob | Find files by pattern (e.g. **/*.py) | | | grep | Search file contents with regex | | | list_dir | Browse directory structure | | Shell | bash | Run shell commands (auto-detects PowerShell on Windows, bash on Mac/Linux) | | Web | web_search | Search the web via DuckDuckGo | | | web_fetch | Fetch and extract web page content | | | http | Full HTTP client β€” GET/POST/PUT/DELETE with headers, auth, JSON body | | Browser | browser | Playwright browser automation β€” open pages, click, fill forms, take screenshots, read console, monitor network | | System | screenshot | Capture desktop or window screenshot with OCR | | Agent | spawn_agent | Spawn sub-agents (coder, reviewer, tester, researcher) | | | bosshelp | Escalate difficult tasks to Boss AI (more powerful model) | | Memory | memory_save | Save notes for future sessions | | | memory_search | Search past memories by keyword | | Tasks | task_create | Create a tracked task | | | task_update | Update task status (pending/in_progress/done) | | | task_list | View all tasks and progress |

32 Built-in Skills

Skills are pre-built prompt templates organized by category. Use them with slash commands:

| Category | Skills | Example | |----------|--------|---------| | Code (10) | refactor, review, test, lint, explain, optimize, scaffold, types, convert, deps | /refactor src/utils.py | | Debug (4) | fix, error, perf, trace | /fix β€” auto-detect and fix bugs | | Git (3) | commit, changelog, pr | /commit β€” smart commit message | | DevOps (2) | docker, ci | /docker β€” generate Dockerfile | | Docs (2) | readme, api | /readme β€” generate README | | Data (3) | migrate, seed, sql | /sql β€” query helper | | API (2) | endpoint, mock | /endpoint β€” create new API endpoint | | Architecture (3) | diagram, pattern, split | /diagram β€” generate architecture diagram | | Security (2) | audit, secrets | /audit β€” OWASP Top 10 security audit |

Slash Commands

| Command | Description | |---------|-------------| | /help | Show all commands | | /model [name] | Switch AI model | | /boss <task> | Create detailed implementation plan using Boss AI | | /team <task> | Start multi-agent team (see below) | | /plan | Toggle Plan Mode (AI plans only, no edits) | | /do | Execute pending tasks | | /tasks | Show task progress | | /continue, /c | Continue where AI left off | | /save, /s | Save session | | /resume, /r | Load saved session | | /compact | Compress conversation context | | /memory | Browse saved memories | | /semantic <query> | Semantic search across codebase (requires LanceDB) | | /index | Rebuild codebase structure index | | /paste, /v | Send clipboard content to AI | | /send <msg> | Chat between ToonCode windows | | /bg, /ps | Manage background processes | | /commit | Git add & commit with smart message | | /diff | Git diff | | /status | Git status | | /undo | Undo last file edit | | /init | Create TOONCODE.md (auto-imports CLAUDE.md etc.) | | /config | Show/edit configuration | | /skills | List all 32 built-in skills | | /cost | Token usage statistics |

Multi-Agent Team System

ToonCode's most powerful feature. Spawn a team of specialized AI agents that coordinate and collaborate on complex tasks:

/team ΰΈͺΰΈ£ΰΉ‰ΰΈ²ΰΈ‡ΰΉ€ΰΈ§ΰΉ‡ΰΈš portfolio             # Default: planner + frontend + backend + reviewer
/team build REST API --roles planner,backend,tester   # Custom roles

13 Agent Roles

| Role | Emoji | Thai Name | Specialty | |------|-------|-----------|-----------| | Planner | πŸ“‹ | ΰΈͺฑชาฒ | Breaks tasks into steps, assigns work to agents | | Supervisor | 🧠 | ΰΈͺุภาพร | Monitors progress, resolves conflicts | | Frontend | 🎨 | ΰΈ“ΰΈ±ΰΈΰΈžΰΈ₯ | Builds UI β€” HTML/CSS/JS/React | | Backend | βš™οΈ | วิชัฒ | APIs, databases, server logic | | Reviewer | πŸ” | ΰΈ‘ΰΈ²ΰΈ₯ΰΈ΅ | Code review, finds bugs, suggests improvements | | Tester | πŸ§ͺ | ΰΈ˜ΰΈ™ΰΈ² | Writes and runs tests | | Researcher | πŸ”¬ | ΰΈ›ΰΈ΄ΰΈ’ΰΈ° | Finds info, gathers data, provides sources | | Analyst | πŸ“Š | ΰΈ™ΰΈ ΰΈ² | Data analysis, comparisons, insights | | Writer | ✍️ | กานดา | Articles, docs, reports, plans | | Editor | πŸ“ | ΰΈ­ΰΈ£ΰΈΈΰΈ“ | Reviews and improves written content | | Designer | 🎯 | พิฑพ์ | Architecture, schemas, UI layouts |

How Teams Work

  1. Planner receives the task and breaks it into sub-tasks
  2. Tasks are assigned to specialized agents via JSON messages on a shared channel
  3. Each agent works independently with access to all 21 tools
  4. A shared task board tracks progress (pending / in_progress / done)
  5. Agents communicate results back through the shared channel
  6. Supervisor monitors progress and resolves conflicts when needed
  7. Agents can dynamically spawn new agents if the task requires it

Available AI Models

| Model | Context Window | Notes | |-------|---------------|-------| | big-pickle | 200K | Default β€” strong at coding tasks | | minimax-m2.5-free | 204K | Good all-round performance | | nemotron-3-super-free | 131K | Fast execution | | gpt-5-nano | 1M | Largest context for big projects |

  • Auto-fallback: if a model fails, ToonCode automatically tries the next available model
  • Per-model config: each model can have its own API URL and key
  • Switch models anytime with /model <name>

Project Context Awareness

ToonCode automatically reads and understands your project:

  • Context Files β€” auto-imports TOONCODE.md, CLAUDE.md, GEMINI.md, .cursorrules, COPILOT.md
  • Codebase Indexing β€” scans project structure, extracts function/class symbols from code
  • Tech Stack Detection β€” auto-detects frameworks (FastAPI, React, Next.js, Django, Express, Go, Rust, etc.)
  • Semantic Search β€” optional vector-based code search using LanceDB for finding similar patterns

Browser Automation

Control a real browser powered by Playwright:

❯ ΰΉ€ΰΈ›ΰΈ΄ΰΈ” google ΰΈ„ΰΉ‰ΰΈ™ΰΈ«ΰΈ² "ToonCode" แΰΈ₯ΰΉ‰ΰΈ§ΰΈͺΰΈ£ΰΈΈΰΈ›ΰΈœΰΈ₯ΰΈ₯ัพธ์

AI β†’ browser open https://google.com/search?q=ToonCode
AI β†’ browser text        # reads page content
AI β†’ browser screenshot  # captures the page
AI β†’ browser console     # checks JS errors
AI β†’ browser network     # monitors API calls

Requires: pip install playwright && playwright install chromium

MCP Server Support

Extend ToonCode with custom tools via Model Context Protocol servers:

// ~/.tooncode/mcp.json
{
  "servers": {
    "my-tool": {
      "command": "python",
      "args": ["path/to/server.py"],
      "env": { "API_KEY": "..." }
    }
  }
}

MCP servers are discovered automatically β€” their tools become available to the AI alongside built-in tools.

Session & Memory

  • Save/Resume β€” save conversations with /save, resume later with /resume
  • Persistent Memory β€” AI saves important notes across sessions via memory_save
  • Edit History β€” tracks recent file edits, supports /undo

Cross-Platform

| Feature | Windows | Mac | Linux | |---------|:-------:|:---:|:-----:| | All 21 tools | βœ… | βœ… | βœ… | | Shell | PowerShell | bash | bash | | Screenshot | ImageGrab | screencapture | scrot | | Clipboard | Get-Clipboard | pbpaste | xclip | | Browser | βœ… | βœ… | βœ… |


Requirements

  • Python 3.10+
  • Git
  • Node.js 16+ (optional, for npm install method)

Installation

Method 1: One-line install (recommended)

Mac / Linux:

curl -fsSL https://raw.githubusercontent.com/votadev/tooncode/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/votadev/tooncode/main/install.bat -OutFile install.bat; .\install.bat

Method 2: npm

npm install -g @votadev/tooncode

Method 3: Git clone

git clone https://github.com/votadev/tooncode.git ~/.tooncode
pip install -r ~/.tooncode/requirements.txt
python ~/.tooncode/tooncode.py

Add to PATH:

Mac/Linux β€” add to ~/.bashrc or ~/.zshrc:

alias tooncode="python ~/.tooncode/tooncode.py"

Windows β€” create tooncode.cmd in a PATH directory:

@echo off
python %USERPROFILE%\.tooncode\tooncode.py %*

Method 4: Just copy the folder

cd /path/to/tooncode
pip install -r requirements.txt
python tooncode.py

Quick Start

tooncode                                    # Start in current directory
tooncode big-pickle                         # Start with specific model
tooncode minimax-m2.5-free ~/my-project     # Model + directory

Configuration

Settings (~/.tooncode/settings.json)

{
  "api_url": "https://opencode.ai/zen/v1/messages",
  "api_key": "public",
  "default_model": "big-pickle",
  "models": [
    { "name": "big-pickle", "context": 200000 },
    { "name": "custom-model", "api_url": "...", "api_key": "..." }
  ],
  "auto_approve": true
}

Custom Skills

Add .md files to ~/.tooncode/skills/<category>/:

---
name: my-skill
description: What this skill does
---

Your prompt template here. Use {{input}} for user input.

Update

cd ~/.tooncode && git pull

License

MIT β€” Free to use, modify, and distribute.

Made with ❀️ by VotaLab