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

widgio

v0.1.4

Published

Stream animated SVG/HTML widgets from terminal agents to a browser companion

Downloads

680

Readme

widgio

Stream animated SVG / HTML widgets from terminal coding agents to a browser companion. Diagrams, mockups, comparison cards, mini interactive demos — rendered live next to your conversation.

Works with Claude Code and Codex.

agent --[shell]--> widgio CLI --[http]--> daemon --[sse]--> browser
                                              ^
                                              └─ http://127.0.0.1:4242

The agent decides when a visual would clarify its answer, calls widgio show … (or streams chunks via widgio start / chunk / end), and the companion tab renders it with a soft "drawing in" animation.


Install

One command, any agent (Claude Code, Codex, Cursor, OpenCode, …) — via skills.sh:

npx skills add jnsahaj/widgio -g

That drops the skill into your agent's skills directory (~/.claude/skills/widgio/, ~/.codex/skills/widgio/, etc.). Add -a claude-code (or -a codex) to scope to a single agent if you have more than one installed.

The skill ships an auto-bootstrap line — the first time the agent runs a widgio command, it'll npm install -g widgio itself if the binary isn't on $PATH. So npx skills add is all you need; the CLI takes care of itself.

If you'd rather pre-install the binary:

npm i -g widgio          # or: pnpm add -g widgio / yarn global add widgio / bun add -g widgio

Restart your agent after install — the skill loads on next session.

Manual install (no npx)

Drop skills/widgio/SKILL.md (plain markdown, no agent-specific syntax) into wherever your agent reads skills:

# Claude Code
git clone https://github.com/jnsahaj/widgio /tmp/widgio \
  && rm -rf ~/.claude/skills/widgio \
  && mv /tmp/widgio/skills/widgio ~/.claude/skills/widgio \
  && rm -rf /tmp/widgio

# Codex — same command, swap ~/.claude for ~/.codex

Make sure widgio is on $PATH (or let the skill self-bootstrap).


Updating

Three things move independently: the CLI, the skill, and the daemon (which is just a process the CLI auto-spawns — restart it after a CLI update with widgio stop).

Update the CLI

npm i -g widgio                  # or: pnpm add -g widgio / yarn global add widgio / bun add -g widgio
widgio --version                 # confirm the new version
widgio stop                      # so the next call spawns a fresh daemon

Update the skill

Re-run the install — npx skills add is idempotent and pulls the latest:

npx skills add jnsahaj/widgio -g

Restart your agent (or open a new session) afterwards.


Use it

Once a widget arrives, open the companion tab:

widgio open

Render a one-shot widget:

widgio show --title hello --loading "rendering" <<'EOF'
<svg viewBox="0 0 680 200" xmlns="http://www.w3.org/2000/svg">
  <text x="340" y="100" text-anchor="middle" font-size="24">Hello widgio</text>
</svg>
EOF

Or stream a diagram in semantic chunks (preferred for non-trivial diagrams — each chunk fades in):

widgio start --id oauth --title "OAuth flow" --mode svg \
            --viewBox "0 0 680 320"

widgio chunk --label "actors" <<'EOF'
<g>...</g>
EOF

widgio chunk --label "edges" <<'EOF'
<g>...</g>
EOF

widgio end

Other commands:

widgio read-me --module diagram   # design system reference for the agent
widgio status                     # daemon status
widgio stop                       # kill the daemon
widgio --version                  # print version (also: -v)

License

MIT — see LICENSE.