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

@owenbush/decodie-ui

v1.4.0

Published

Presentation layer for Decodie

Readme

Decodie UI

A browsable, filterable interface for exploring learning entries generated by the decodie-skill during coding sessions.

Features

  • Structured lessons -- entries are automatically grouped into topic-based lessons, sorted by difficulty. Create custom lessons with ordering and per-entry notes.
  • Progress tracking -- mark entries as learned and track progress through each lesson with visual indicators.
  • Sequential navigation -- step through lessons entry by entry with next/previous controls and a sidebar outline.
  • Smart filtering -- filter by experience level, topic, decision type, session, and lifecycle. Switch between lesson and entry views.
  • Interactive Q&A -- highlight text and ask follow-up questions via LLM-powered chat with conversation persistence.
  • Code references -- content-based anchoring that survives refactoring.
  • Syntax highlighting -- code displayed alongside explanations.
  • External doc links -- automatic links to php.net, MDN, framework docs, etc.

Prerequisites

  • Node.js 18+

Quick Start

Run directly from npm without installing:

npx @owenbush/decodie-ui serve --dir /path/to/project

This starts the server pointing at a project directory that contains a .decodie/ folder. Open http://localhost:8081.

Install the Commands

The Decodie commands for Claude Code can be installed with a single command:

npx @owenbush/decodie-ui install-skill

This downloads the command files from the decodie-skill repo into ~/.claude/commands/decodie/, giving you:

  • /decodie:observe — Document decisions as you code
  • /decodie:analyze — Analyze existing code retroactively
  • /decodie:ask — Ask questions about entries

To install at project level instead (shared with your team):

npx @owenbush/decodie-ui install-skill --scope project

Development

git clone https://github.com/owenbush/decodie-ui.git
cd decodie-ui
npm install
npx tsx src/cli.ts serve --dir /path/to/project

Production

npm run build
node dist/cli.js serve --dir /path/to/project

Q&A Setup

Q&A lets you ask follow-up questions about any learning entry. Credentials are stored in .decodie/.env (not tracked by git). Set one of the following:

  • CLAUDE_CODE_OAUTH_TOKEN -- uses your Claude Pro/Max subscription (run claude setup-token to obtain a token).
  • CLAUDE_API_KEY -- pay-per-token billing (get a key at console.anthropic.com).

The Settings page in the UI shows setup instructions.

Conversation Persistence

Q&A conversations are saved to .decodie/conversations/ as JSON files (one per entry) and persist across sessions. Revisit any entry to pick up where you left off.

API Endpoints

| Method | Path | Description | |--------|------|-------------| | GET | /api/status | Service health and entry statistics | | GET | /api/entries | List entries with filtering support | | GET | /api/entries/:id | Get a single entry with full content | | PATCH | /api/entries/:id | Update entry fields (lifecycle, pinned) | | GET | /api/config | Read user configuration | | GET | /api/lessons | List all lessons (auto-generated + custom) | | GET | /api/lessons/:id | Get lesson detail with ordered entries | | POST | /api/lessons | Create a custom lesson | | PUT | /api/lessons/:id | Update a custom lesson | | DELETE | /api/lessons/:id | Delete a custom lesson | | GET | /api/progress | Get progress data (learned entries) | | POST | /api/progress/:entryId/learn | Mark an entry as learned | | DELETE | /api/progress/:entryId/learn | Unmark an entry as learned | | GET | /api/qa/status | Check whether Q&A is enabled | | POST | /api/qa | Ask a question about an entry (SSE stream) | | GET | /api/conversations | List entry IDs that have saved conversations | | GET | /api/conversations/:entryId | Get a saved conversation | | PUT | /api/conversations/:entryId | Save or update a conversation | | DELETE | /api/conversations/:entryId | Delete a saved conversation |

Tests

npm test

Data Format

The .decodie/ directory structure and JSON schemas are defined in the decodie-skill repository under schema/.

Related Repositories