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

glyphsmith

v0.1.1

Published

Agent-native SVG editor powered by Geometry AST and patch-based editing.

Readme

GlyphSmith is an SVG editor designed for both manual editing and AI-assisted editing. Instead of asking agents to rewrite whole SVG strings, GlyphSmith imports SVG into a Geometry AST, applies targeted patch operations, and exports SVG only at the boundary.

GlyphSmith editor

SVG
↓ Import
Geometry AST
↓ Patch Operations
Geometry AST
↓ Export
SVG

Status

GlyphSmith is in early development. The current release is CLI-first and focuses on local editor sessions, project files, SVG export, and MCP-based agent workflows.

Quick Start

Install GlyphSmith:

npm install -g glyphsmith

Start a new project:

glyphsmith my-logo

This opens ./my-logo.gs.json. If the file does not exist, GlyphSmith creates it automatically.

You can also run it without a global install:

npx glyphsmith my-logo

Agent Workflow

GlyphSmith keeps the Geometry AST as the source of truth. AI agents should modify projects through patch operations or MCP tools instead of regenerating SVG files.

Default local MCP endpoint:

http://127.0.0.1:6202/mcp

Register the local MCP endpoint:

glyphsmith mcp install codex --url http://127.0.0.1:6202/mcp
glyphsmith mcp install claude --url http://127.0.0.1:6202/mcp

Install GlyphSmith skills:

glyphsmith skills install codex
glyphsmith skills install claude

Project Files

GlyphSmith project files use the .gs.json extension and can contain multiple pages. One page maps to one SVG-equivalent Geometry AST document.

Examples:

examples/playground.gs.json
examples/glyphsmith.gs.json

CLI path resolution is deterministic:

glyphsmith              -> ./glyphsmith.gs.json
glyphsmith logo         -> ./logo.gs.json
glyphsmith logo.gs.json -> ./logo.gs.json

If the resolved project file does not exist, the CLI creates it and continues.

Repository Layout

apps/
├ cli/  Local host, CLI entrypoint, MCP coordination
└ web/  SvelteKit editor UI

packages/
├ ast/     Geometry AST definitions
├ editor/  Reusable editor interaction logic
├ kernel/  Geometry operations
├ mcp/     MCP server implementation
└ svg/     SVG import/export

README Assets

README images live in docs/images. App runtime assets live in apps/web/static.

Current README assets:

docs/images/app-icon.svg
docs/images/editor.png

Developer Workflow

Install dependencies:

pnpm install

Run GlyphSmith from this repository:

pnpm run build:cli
node apps/cli/dist/index.js my-logo

Run the default development project:

pnpm run dev

Development defaults:

Project: examples/playground.gs.json
UI:      http://localhost:6201
Host:    ws://localhost:6202/ws
MCP:     http://localhost:6202/mcp

Run the official GlyphSmith icon project:

pnpm run dev:icons

Export Icons

Export the icon project into the web app static directory:

pnpm run export:icons

The generated SVG files are written to:

apps/web/static/icons

Running the command again overwrites the generated icon output.

Package

Build the publishable CLI package:

pnpm run build:cli

Create a local npm tarball for inspection:

pnpm run pack:cli

The package is written to artifacts/npm and contains the bundled CLI, built web UI, and GlyphSmith skills.