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

askdb-cli

v0.1.3

Published

Install and run a self-hosted AskDB instance, authenticated against your AskDB account.

Readme

askdb-cli

Installs and runs a self-hosted AskDB instance, authenticated against your AskDB account.

npm install -g askdb-cli
export ASKDB_IMAGE="ghcr.io/rophpad/askdb:latest"
askdb login [email protected]

That verifies your credentials against the platform, pulls the image, starts the container, and applies your licence. Then open http://localhost:3000 and sign in with the same email and password.

After login, add your AI API key in Settings → AI. The key is stored only in the self-hosted instance's persistent data volume.

Commands

| | | |---|---| | askdb login [email] | Sign in and install. Prompts for anything missing. | | askdb --login <email> <password> | Same, non-interactive. | | askdb start / stop | Start or stop the instance | | askdb status | Account, licence, and whether it is running | | askdb logs [-f] | Container logs | | askdb logout | Stop it and remove local credentials | | askdb --version / askdb -v | Print the installed CLI version |

What is stored, and where

Everything lives in ~/.askdb (0700), removed entirely by askdb logout.

| File | Contents | |---|---| | credentials.json | Email, licence key, and a scrypt digest of your password | | instance.env | Environment for the container, including that digest | | docker-compose.yml | Generated; regenerated on each login |

Your password is never written to disk. The CLI derives the digest in memory and passes only that to the instance, which is enough for it to verify your sign-in locally. A copy of these files does not let anyone sign in to the platform.

askdb --login email password leaves the password in your shell history and, briefly, in the process list. Prefer askdb login on any shared machine.

Requirements

Docker (with Compose v2) running, and Node 20+.

Configuration

| Variable | Default | | |---|---|---| | ASKDB_CLOUD_URL | https://askdb-local.vercel.app | Platform to authenticate against | | ASKDB_IMAGE | ghcr.io/rophpad/askdb:latest | Image to run | | ASKDB_PORT | 3000 | Host port | | ASKDB_HOME | ~/.askdb | Where credentials live | | DATABASE_URL | — | Optional; a database can also be added from the UI |

Offline behaviour

Sign-in requires reaching the platform — that check is the point. Once installed, the instance itself never calls out: licences are verified offline, so askdb start works with no network. If the registry is unreachable but the image is already present locally, the CLI says so and starts it anyway.