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

aiconductor

v1.0.3

Published

CLI tool for AICoductor Douyin APIs - video info, comments, user details, search, and speech-to-text

Readme

aiconductor

AICoductor 抖音数据提取 CLI 工具 - 获取视频详情、评论、用户信息、搜索、语音转文字。

安装

npm install -g aiconductor

配置

在当前工作目录下创建 .env 文件:

AICONDUCTOR_API_KEY=ak_xxxxxxxxxxxxxxxx

也可以通过 -k 选项在命令中直接传入 API Key,或设置系统环境变量 AICONDUCTOR_API_KEY

使用方法

aiconductor <命令> [选项]

命令列表

aiconductor douyin video-info <分享链接>

根据分享链接获取视频详情。

aiconductor douyin video-info "https://v.douyin.com/xxx/"
aiconductor douyin video-info "https://www.douyin.com/video/7521359198878240000" -f text

aiconductor douyin video-comments <视频链接>

获取视频评论列表。

aiconductor douyin video-comments "https://www.douyin.com/video/7521359198878240000"
aiconductor douyin video-comments "https://www.douyin.com/video/7521359198878240000" -n 10

选项:

  • -n, --max-count <数量> - 获取评论数量(默认:50)

aiconductor douyin user-videos <主页链接>

根据用户主页链接获取发布的视频列表。

aiconductor douyin user-videos "https://v.douyin.com/xxx/"
aiconductor douyin user-videos "https://v.douyin.com/xxx/" -p 2 -s 30

选项:

  • -p, --max-pages <页数> - 最大获取页数
  • -s, --max-seconds <秒数> - 最长运行时间(最大:50秒)

aiconductor douyin user-detail <主页链接>

根据用户主页链接获取用户详细信息。

aiconductor douyin user-detail "https://v.douyin.com/xxx/"

aiconductor douyin user-search <关键词>

根据关键词搜索抖音用户。

aiconductor douyin user-search "关键词"
aiconductor douyin user-search "关键词" --fans 1w_10w --user-type personal_user

选项:

  • --fans <粉丝数> - 按粉丝数筛选:0_1k(1千以下)、1k_1w(1千-1万)、1w_10w(1万-10万)、10w_100w(10万-100万)、100w_(100万以上)
  • --user-type <类型> - 按用户类型筛选:common_user(普通用户)、enterprise_user(企业认证)、personal_user(个人认证)
  • -p, --max-pages <页数> - 最大获取页数
  • -s, --max-seconds <秒数> - 最长运行时间(最大:50秒)

aiconductor douyin video-search <关键词>

根据关键词搜索抖音视频(快速模式)。

aiconductor douyin video-search "装修"

aiconductor douyin link-to-text <视频链接>

将视频语音转换为文字(增强版 v2)。

aiconductor douyin link-to-text "https://www.douyin.com/video/7521359198878240000"
aiconductor douyin link-to-text "https://v.douyin.com/xxx/"

通用选项

  • -k, --api-key <key> - API Key(优先级高于 .env 配置)
  • -f, --format <格式> - 输出格式:json(默认)或 text

输出格式

默认 JSON 输出:

{ "success": true, "data": { ... } }

错误输出:

{ "success": false, "error": "错误信息" }

成功退出码为 0,失败退出码为 1。

API Key 优先级

  1. 命令行 -k, --api-key 选项
  2. 系统环境变量 AICONDUCTOR_API_KEY
  3. 当前目录 .env 文件中的 AICONDUCTOR_API_KEY

许可证

ISC