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

@chime-io/plugin-opencode

v2.0.0

Published

OpenCode plugin for mobile notifications - Telegram alerts for AI coding sessions

Readme

@chime-io/plugin-opencode

🔌 OpenCode plugin for Chime IO — Mobile notifications for AI coding sessions.

Receive instant Telegram notifications when your OpenCode sessions complete, error, or need your attention. Never miss an important AI coding moment again.


Features

  • 🔔 Real-time notifications — Get notified on session stop, errors, and permission requests
  • 📊 Rich context — Includes session stats, token usage, and duration
  • 🔗 Git integration — Shows branch, commit, and repository information
  • 🎨 Customizable format — Configure detail levels and output format
  • 🔕 Silent mode — Send notifications without disturbing

Installation

From NPM (Recommended)

opencode plugin install @chime-io/plugin-opencode

From Source (Monorepo)

# Install dependencies
pnpm rush:install

# Build the plugin
pnpm --filter @chime-io/plugin-opencode build

# The plugin entry point is at:
# packages/opencode/dist/plugin.js

Configuration

Set environment variables to configure the plugin:

# Required
export TELEGRAM_BOT_TOKEN="your_bot_token"
export TELEGRAM_USER_ID="your_user_id"

# Optional
export TELEGRAM_PARSE_MODE="HTML"     # HTML, Markdown, or MarkdownV2
export TELEGRAM_SILENT="0"             # 1 for silent notifications

Getting Your Credentials

  1. Bot Token: Message @BotFather and create a new bot
  2. User ID: Message @userinfobot to get your ID

Usage

Once installed and configured, the plugin automatically hooks into OpenCode events:

| Event | Notification | |-------|-------------| | Session Stop | ✅ Task completed with summary | | Session Error | 🚨 Error details and context | | Permission Request | ⚡ Immediate alert when approval needed |


API

Plugin Entry Point

// Load the plugin
import plugin from '@chime-io/plugin-opencode';

// Plugin is automatically registered with OpenCode

Formatter

import { formatNotification } from '@chime-io/plugin-opencode/format';

const message = formatNotification({
  event: 'stop',
  sessionId: 'abc-123',
  duration: 120,
  tokenUsage: 1500
});

Development

# Run tests
pnpm --filter @chime-io/plugin-opencode test

# Type check
pnpm --filter @chime-io/plugin-opencode typecheck

# Build
pnpm --filter @chime-io/plugin-opencode build

# Watch mode
pnpm --filter @chime-io/plugin-opencode build:watch

Plugin Architecture

src/
├── index.ts           # Main plugin entry
├── formatter.ts       # Message formatting
├── notifier-plugin.ts # Plugin registration
└── test/             # Test files

Related Packages


Documentation

📖 Full Documentation


License

MIT — See LICENSE for details.