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

@chhsiching/doubao-cli

v1.2.0

Published

豆包 AI 命令行工具 — 通过 bb-browser CLI 化豆包 Web 端所有功能

Readme

doubao-cli

A command-line interface for interacting with Doubao AI through browser automation.

Built on top of bb-browser — a CLI + MCP server for programmatic browser control.

Quick Start

Prerequisites

Install

git clone [email protected]:ChHsiching/doubao-cli.git
cd doubao-cli
npm install

This automatically installs bb-browser and copies adapters into place.

Login

# Phone + verification code (recommended)
./doubao-cli login 13800138000           # Send code to phone
./doubao-cli login 13800138000 123456    # Login with code

# Or interactive mode — prompts for phone and code
./doubao-cli login

If phone login is unavailable, use browser login as a fallback:

./doubao-cli login --web

A Chrome window opens for manual login. After completing login, press Enter in the terminal.

After login, verify with:

./doubao-cli account

Usage

./doubao-cli "hello"                          # Quick chat
./doubao-cli image "a cat wearing sunglasses"  # Generate image
./doubao-cli translate --to-english "你好"     # Translate
./doubao-cli coding "write quicksort"          # Coding mode
./doubao-cli math "solve x^2 + 3x - 4 = 0"   # Math mode
./doubao-cli help                              # All commands

Available Commands

| Command | Description | |---------|-------------| | doubao-cli "message" | Send a message | | doubao-cli image <desc> | AI image generation | | doubao-cli translate <text> | Translation | | doubao-cli coding <prompt> | Code assistant | | doubao-cli math <problem> | Math solver | | doubao-cli writing <prompt> | Writing assistant | | doubao-cli research <topic> | Deep research | | doubao-cli ppt <topic> | PPT generation | | doubao-cli login | Login (interactive) | | doubao-cli login --web | Login (browser) | | doubao-cli list | List conversations | | doubao-cli new | New conversation | | doubao-cli last | Last response | | doubao-cli retry | Regenerate response | | doubao-cli account | Account info |

How It Works

doubao-cli uses bb-browser to drive a local Chrome instance via the Chrome DevTools Protocol. It operates entirely within your own browser session — no API keys, no third-party servers, no data leaves your machine.

Disclaimer

This project is created for educational and personal learning purposes only.

It is a browser automation tool that helps users interact with their own web sessions via the command line. It does not bypass authentication, scrape data at scale, or access any non-public APIs.

The name "doubao" refers to the Doubao web application for identification purposes only. This project is not affiliated with, endorsed by, or connected to ByteDance or the Doubao team.

Users are solely responsible for ensuring their use complies with the terms of service of any web platform.

License

This project is licensed under CC BY-NC 4.0. Commercial use is not permitted.