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

@huangzhuxing/dbc

v0.0.1

Published

[![DBC CI](https://github.com/huangzhuxing/dbc/actions/workflows/ci.yml/badge.svg)](https://github.com/huangzhuxing/dbc/actions/workflows/ci.yml)

Readme

DBC (Database Copilot)

DBC CI

DBC Screenshot

This repository contains DBC (Database Copilot), an intelligent database management CLI tool that simplifies database operations for DBAs and developers. Built on the foundation of Gemini CLI, DBC brings AI-powered database management to your terminal.

With DBC (Database Copilot) you can:

  • Connect to multiple database types (MySQL, PostgreSQL, MongoDB, Redis, etc.) with natural language commands
  • Execute SQL queries using plain English - no need to remember complex syntax
  • Manage database drivers intelligently with automatic installation and version management
  • Perform database health checks and monitoring with AI-powered insights
  • Handle database migrations, backups, and recovery operations safely
  • Switch between different database connections seamlessly
  • Get intelligent suggestions for query optimization and performance tuning

Quickstart

  1. Prerequisites: Ensure you have Node.js version 18 or higher installed.

  2. Run the CLI: Execute the following command in your terminal:

    npx @huangzhuxing/dbc

    Or install it with:

    npm install -g @huangzhuxing/dbc
    dbc
  3. Pick a color theme

  4. Configure your first database connection: DBC will guide you through setting up your database connections with natural language prompts.

You are now ready to use DBC (Database Copilot)!

For advanced use or increased limits:

If you need to use a specific model or require a higher request capacity, you can use an API key:

  1. Generate a key from Google AI Studio.

  2. Set it as an environment variable in your terminal. Replace YOUR_API_KEY with your generated key.

    export GEMINI_API_KEY="YOUR_API_KEY"

For other authentication methods, including Google Workspace accounts, see the authentication guide.

Examples

Once DBC is running, you can start managing your databases with natural language.

Connect to a MySQL database:

dbc
> Connect to MySQL database at localhost:3306 with username admin

Query your database with natural language:

dbc
> Show me all users who registered in the last 7 days
> Find the top 10 products by sales volume this month
> Check the health of my database connections

Next steps

Troubleshooting

Head over to the troubleshooting guide if you're having issues.

Popular tasks

Database Connection Management

Start by running dbc and set up your database connections.

> Connect to my production MySQL database
> Switch to my development PostgreSQL instance

Query and Analysis

> Show me all tables in this database
> Find slow running queries from the last hour

Database Operations

> Create a backup of the users table
> Check database performance metrics

Schema Management

> Show me the schema for the orders table
> Find all foreign key relationships in this database

Monitoring and Health Checks

> Check the health of all my database connections
> Show me database size and storage usage

Terms of Service and Privacy Notice

For details on the terms of service and privacy notice applicable to your use of Gemini CLI, see the Terms of Service and Privacy Notice.