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

@vibeperks/opencode

v0.1.0

Published

VibePerks sponsor unit for OpenCode - one quiet sponsor line in the TUI footer that earns you credit while your agent works.

Readme

VibePerks for OpenCode (native plugin)

A native OpenCode plugin that renders one quiet sponsor line in the OpenCode TUI footer (the app_bottom slot, visible on every screen) while your agent works - and nothing about your code, prompts, or files ever leaves your machine.

sponsored  Fast APIs for every chain - alchemy.com

This is the real footer integration built on OpenCode's TypeScript plugin API (OpenCode's plugin surface is JS/TS only, so the footer cannot be reached from Go).

How it works

Two concerns, deliberately separated so the TUI never waits on a server:

  • The footer renders from the local KV cache (api.kv) - instant and offline-safe. It only ever shows what is already cached.
  • The worker runs off the session.status lifecycle. On a real prompt (the busy transition) it records the previously displayed impression, serves the next ad (GET /v1/ads/serve), and flushes buffered impressions (POST /v1/impressions). On idle it records the displayed impression and flushes. A serve only happens once per rotate window, so an idle terminal costs nothing.

All network, auth, caching, and the contract live in the small TypeScript client in src/ (client.ts, config.ts, engine.ts, store.ts). The plugin entry src/tui.tsx is the single fail-silent boundary: every lifecycle handler runs inside one try/catch so any client error is swallowed and OpenCode is never broken or slowed. That boundary is the only place errors are swallowed.

What leaves your machine

| Leaves your machine | Never leaves your machine | |---|---| | Device token (to authenticate) | Your code or file contents | | Display facts: how long an ad was shown, CLI + plugin version | Your prompts or OpenCode's replies | | | File names, paths, or repo names |

Configuration

The plugin reads the same local config as the other VibePerks CLI adapters, so one login configures them all:

  • Config file: ~/.vibeperks/config.json (override the directory with $VIBEPERKS_HOME), shape { "api_base", "device_token", "opt_out" }.
  • Env overrides: $VIBEPERKS_DEVICE_TOKEN (device token), $VIBEPERKS_API (API base).
  • Opt out by setting "opt_out": true in the config file - the plugin then fetches nothing and reports nothing.

With no device token configured the footer shows a muted vibeperks placeholder and makes zero network calls.

Install

Install the plugin:

opencode plugin @vibeperks/opencode

Then link your device once (token from the VibePerks website) by writing it to the shared config or exporting VIBEPERKS_DEVICE_TOKEN.

Develop

Requires Node 22+.

npm install            # dev deps (typescript, vitest, prettier)
npm run typecheck      # typecheck the client logic
npm run typecheck:tui  # typecheck the JSX entry (installs OpenCode peer deps first)
npm test               # vitest: unit + mocked-contract + privacy tests
npm run format:check   # prettier

The OpenCode runtime provides the peer dependencies (@opencode-ai/plugin, @opentui/solid, solid-js); they are not bundled.

License

Source-available under the PolyForm Shield License 1.0.0. You may read, audit, and use this code, but not to build a product that competes with VibePerks. Copyright (c) 2026 VibePerks.