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

doubao-tui

v0.8.17

Published

Install and run doubao and doubao-tui binaries from GitHub release artifacts.

Readme

doubao-tui

Install and run the doubao and doubao-tui binaries from GitHub release artifacts.

Install

npm install -g doubao-tui
# or
pnpm add -g doubao-tui

For project-local usage:

npm install doubao-tui
npx doubao-tui --help

postinstall downloads platform binaries into bin/downloads/ and exposes doubao and doubao-tui commands.

First run

doubao login --api-key "YOUR_ARK_API_KEY"
doubao doctor
doubao

The doubao facade and doubao-tui binary share ~/.doubao/config.toml for Doubao auth and default model settings. Common TUI commands are available directly through the facade, including doubao doctor, doubao models, doubao sessions, and doubao resume --last.

The app talks to Volcengine Ark's OpenAI-compatible Chat Completions API. Set DOUBAO_BASE_URL only if you need to point at a compatible gateway.

NVIDIA NIM-hosted Doubao Seed Pro is also supported:

doubao auth set --provider nvidia-nim --api-key "YOUR_NVIDIA_API_KEY"
doubao --provider nvidia-nim

For a single process, set DOUBAO_PROVIDER=nvidia-nim and NVIDIA_API_KEY or NVIDIA_NIM_API_KEY (with DOUBAO_API_KEY as a compatibility fallback). The NIM default model is doubao-ai/doubao-seed-2-0-pro-260215 and the default base URL is https://integrate.api.nvidia.com/v1. With --provider nvidia-nim, --model doubao-seed-2-0-lite-260428 maps to doubao-ai/doubao-seed-2-0-lite-260428.

Supported platforms

Prebuilt binaries for the GitHub release are downloaded automatically:

  • Linux x64
  • Linux arm64 (v0.8.8+)
  • macOS x64 / arm64
  • Windows x64

Other platform/architecture combinations (musl, riscv64, FreeBSD, …) aren't shipped as prebuilts. The postinstall will exit with a clear error pointing you at cargo install doubao-tui-cli doubao-tui --locked and the full docs/INSTALL.md build-from-source guide.

Configuration

  • Default binary version comes from doubaoBinaryVersion in package.json.
  • Set DOUBAO_TUI_VERSION or DOUBAO_VERSION to override the release version.
  • Set DOUBAO_TUI_GITHUB_REPO or DOUBAO_GITHUB_REPO to override the source repo (defaults to freestylefly/Doubao-TUI).
  • Set DOUBAO_TUI_FORCE_DOWNLOAD=1 to force download even when the cached binary is already present.
  • Set DOUBAO_TUI_DISABLE_INSTALL=1 to skip install-time download.
  • Set DOUBAO_TUI_OPTIONAL_INSTALL=1 to make the postinstall step warn and exit 0 on download/extract errors instead of failing npm install (useful in CI matrices).

Release integrity

  • npm publish runs a release-asset check to ensure all required binary assets exist for the target GitHub release before publishing.
  • Install-time downloads are verified against the release checksum manifest before the wrapper marks them executable.
  • Set DOUBAO_TUI_RELEASE_BASE_URL to point the installer at a local or staged release-asset directory for smoke tests.