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

opencode-devglobe

v2.0.1

Published

DevGlobe plugin for OpenCode - appear active on the globe while coding with AI

Readme

DevGlobe — OpenCode Plugin

Track your OpenCode activity on the DevGlobe world map.

Prerequisites

Install

Add opencode-devglobe to your opencode.json:

{
  "plugin": ["opencode-devglobe"]
}

OpenCode installs the plugin automatically on startup via npm.

git clone https://github.com/Nako0/devglobe-extension
cd devglobe-extension/opencode-plugin
npm install && npm run build

Then in your opencode.json:

{
  "plugin": ["file:///path/to/devglobe-extension/opencode-plugin/dist/index.js"]
}

Setup

After installing, restart OpenCode and ask it to set up DevGlobe:

setup devglobe with my key devglobe_YOUR_KEY_HERE

Get your API key at devglobe.app/dashboard/settings.

OpenCode will call the devglobe_setup tool, which saves your key to ~/.devglobe/config.toml (mode 0600). Heartbeats start automatically while you code.

Visibility settings (anonymous mode, repo sharing on the live globe, profile mode) are managed on devglobe.app/dashboard/settings.

Alternative: manual setup

mkdir -p ~/.devglobe
cat > ~/.devglobe/config.toml <<'EOF'
api_key = "YOUR_API_KEY"
EOF

Or use an environment variable (add to ~/.zshrc or ~/.bashrc):

export DEVGLOBE_API_KEY="your-api-key-here"

Commands

The plugin registers tools that the AI agent can call on your behalf. Just ask in natural language:

| What you say | Tool called | Description | |--------------|-------------|-------------| | "setup devglobe with key X" | devglobe_setup | Configure your API key (writes to ~/.devglobe/config.toml) | | "set my devglobe status to Working on X" | devglobe_status | Set a status message on your globe profile | | "check devglobe status" | devglobe_check | Verify installation (config, API key, privacy flags) |

How it works

The plugin hooks into OpenCode's tool.execute.after and file.edited events to detect coding activity. It sends a heartbeat to DevGlobe at most once per minute via the shared devglobe-core. It automatically detects:

  • The programming language from the files you interact with (exact file paths from tool calls)
  • Your git repository (origin URL, branch, and the current file relative to the repo root)

Your coding session then appears live on the DevGlobe map with the editor shown as opencode.

A forced heartbeat is sent when the session goes idle or is deleted, ensuring your last activity is always recorded.

Updating

Since the plugin is installed from npm, OpenCode fetches the latest version automatically. To force an update, remove the cache:

rm -rf ~/.cache/opencode/node_modules/opencode-devglobe

Then restart OpenCode.

Privacy

The plugin sends programming language, editor name, OS, coding time, the origin remote URL of your current git repo (when present), branch name, and the file path relative to your repo root — never an absolute home path.

Files outside any git repository are not tracked beyond their language. We never read source code, file contents, keystrokes, or commit messages.

Local privacy flags can be toggled in ~/.devglobe/config.toml under [privacy]: hide_file_names, hide_branch_names, hide_project_names (the project flag also hides branches).

Globe-side visibility (anonymous mode, repo sharing on the live globe, profile mode) is managed on devglobe.app/dashboard/settings.

Support