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/bd-web

v0.10.2

Published

Web UI for beads issue tracker

Readme

@rsktash/bd-web

Web UI for bd. Same workspace, runs locally or on a server, no Go runtime needed.

npm install -g @rsktash/bd-web
cd /path/to/your/bd-workspace   # contains .bd/config
bd-web start
# → http://127.0.0.1:3333

Stack

  • Server: Hono + @hono/node-server, pg, better-sqlite3
  • Client: Vite + React 19 + TanStack Router + TanStack Query + Tailwind v4

Environment

| var | purpose | |---|---| | BD_DB | override DSN (otherwise read from .bd/config) | | BD_DB_PASSWORD | postgres password (or put it in .bd/.env) | | BD_WEB_AUTH_FILE | enable optional auth — JSON {users:[{username,password,role}]} | | HOST, PORT | bind (default 127.0.0.1:3333) | | DEBUG | extra logging |

Development

cd web/
npm install
npm run dev   # vite at 5173 + hono at 3333; vite proxies /api -> hono

npm run build writes to web/dist/. npm start runs the Hono server, which serves both /api/* and the built client at /.

Releases

Tag v* to publish:

git tag v0.1.1 && git push origin v0.1.1

That triggers two GitHub Actions:

  • .github/workflows/publish.ymlnpm publish --provenance --access public for @rsktash/bd-web. Required repo secret: NPM_TOKEN.
  • .github/workflows/docker.yml — pushes ghcr.io/rsktash/bd-web:{version}, :{major}.{minor}, and :latest. Uses the built-in GITHUB_TOKEN.

Bump web/package.json before tagging.

Routes

  • / — board (kanban by status; ready issues at top)
  • /list — table view with filters
  • /issue/<id> — detail with markdown sections, deps, comments
  • /projects — postgres-only; lists schemas containing a config table

The header always shows the project prefix, current user, and backend driver.

Docker

The repo ships a multi-stage Dockerfile. It builds the client, keeps only production deps, and runs node server/index.js as PID 1.

For the full stack (Postgres + bd-web together), use the root-level docker-compose.yml:

# from repo root
cp .env.example .env             # set POSTGRES_PASSWORD and BD_PREFIX
docker compose --profile full up -d --build
# → http://127.0.0.1:3333

For an existing database, just run the bd-web container directly:

docker run --rm -p 3333:3333 \
  -e BD_DB="postgres://[email protected]:5432/tracker?sslmode=disable&search_path=myproject" \
  -e BD_DB_PASSWORD=mypassword \
  -e HOST=0.0.0.0 \
  $(docker build -q ./web)

To enable auth, mount a users JSON file and point at it:

docker run --rm -p 3333:3333 \
  -v $(pwd)/users.json:/etc/bd/users.json:ro \
  -e BD_DB=... -e BD_DB_PASSWORD=... \
  -e BD_WEB_AUTH_FILE=/etc/bd/users.json \
  $(docker build -q ./web)

users.json shape:

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

CLI setup (Go)

The companion CLI bd lives in this repo's parent directory. Install and initialise from the project README:

go install github.com/rsktash/beads/cmd/bd@latest
bd init --prefix myproject \
  --db "postgres://[email protected]:5432/tracker?sslmode=disable"
export BD_DB_PASSWORD=...
bd create "first issue" -p 0
bd-web start                 # uses the same .bd/config