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

@rsktash/beads-ui

v0.1.51

Published

Web UI for [Beads](https://github.com/rsktash/beads) workspaces.

Readme

beads-ui

Web UI for Beads workspaces.

Install

npm install -g @rsktash/beads-ui

Usage

cd /path/to/your/beads-workspace
bd-ui start

Commands

| Command | Description | |-----------|--------------------------| | start | Start the UI server | | stop | Stop the UI server | | restart | Restart the UI server |

Options

| Flag | Description | Default | |------------------|-----------------------------------------|-------------| | -h, --help | Show help message | | | -v, --version | Show version | | | -d, --debug | Enable debug logging | | | --open | Open browser after start | | | --host <addr> | Bind address | 127.0.0.1 | | --port <num> | Bind port | 3333 |

Environment Variables

| Variable | Description | Default | |----------------------------|----------------------------------------------|-------------| | PORT | Server port | 3333 | | HOST | Bind address | 127.0.0.1 | | BEADS_DOLT_PASSWORD | Password for remote Dolt server connection | | | FILE_ATTACHMENT_BASE_URL | Base URL for resolving attach:// URIs | | | BEADS_UI_AUTH_FILE | Path to users JSON file for authentication | |

Authentication

Auth is optional. When BEADS_UI_AUTH_FILE points to a valid users file, login is required. When not set, auth is bypassed entirely.

Users file format

{
  "users": [
    { "username": "alice", "password": "secret", "role": "Developer" },
    { "username": "bob", "password": "guest", "role": "Viewer" }
  ]
}

Running with auth

BEADS_UI_AUTH_FILE=/path/to/users.json bd-ui start

Session tokens are stored in the browser's localStorage and kept in server memory. Tokens are invalidated on server restart.

Dolt Database Modes

Two Dolt connection modes, configured via .beads/metadata.json:

Embedded (default)

Spawns a local dolt sql-server from .beads/embeddeddolt/.

{
  "backend": "dolt",
  "dolt_database": "mydb"
}

Remote Server

Connects to an external Dolt server:

{
  "backend": "dolt",
  "dolt_mode": "server",
  "dolt_server_host": "127.0.0.1",
  "dolt_server_port": 3308,
  "dolt_server_user": "root",
  "dolt_database": "mydb"
}
BEADS_DOLT_PASSWORD=secret bd-ui start

Docker

services:
  beads-ui:
    image: ghcr.io/rsktash/beads-ui:latest
    ports:
      - "3333:3333"
    volumes:
      - /path/to/workspace:/workspace
    working_dir: /workspace
    environment:
      - HOST=0.0.0.0
      - BEADS_DOLT_PASSWORD=secret
      - BEADS_UI_AUTH_FILE=/workspace/.beads/users.json
      - FILE_ATTACHMENT_BASE_URL=https://files.example.com/attachments

Images published to ghcr.io/rsktash/beads-ui on version tags via GitHub Actions.

Markdown Features

Attachments

attach:// URIs for portable file references, resolved against FILE_ATTACHMENT_BASE_URL:

![Screenshot](attach://bead-42/screenshot.png)

Issue Mentions

#issue-id auto-links to the issue detail page:

See #proj-a1b for details. Depends on #proj-c3d.

Deep Linking

Sections and headings get unique element IDs for fragment linking:

  • Predefined sections: #description, #acceptance-criteria, #notes, #design
  • Content headings: auto-slugified (e.g., ## My Heading#my-heading)
[see details](/detail/proj-a1b#my-heading)

Theme

Solarized Light color palette with matching syntax highlighting.

CLI Tools

bd-grep

Grep across beads issue content with snippet output. Uses bd list for issue filtering, then greps field content for pattern matches.

bd-grep <pattern> [bd-list-flags] [--field fields] [-A N] [-B N] [-C N] [-i] [-l]

Examples:

bd-grep "timeline"                              # open issues, description
bd-grep "timeline" --all                        # include closed
bd-grep "route" -t epic                         # epics only
bd-grep "fallback" --field description,design   # multiple fields
bd-grep "composite" -C2                         # 2 lines context
bd-grep "trip.id" -l                            # list matching IDs only

Requires bd and jq.

License

MIT