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

@tingwujs/components

v0.0.5

Published

本项目包含以下核心功能:

Readme

听悟大模型前端项目

📋 特性

本项目包含以下核心功能:

🎵 音视频文件上传

支持上传音频/视频文件进行离线转录

🎤 实时录音

支持实时语音识别和转录

📄 智能纪要结果页

  • 实时录音智能纪要: 用户实时发言的场景下,及时记录下用户发言的对应信息
    • 核心是基于前端的媒体技术,通过音频收集,音视频通信转写,自动帮用户转化为文字纪要
  • 离线纪要整理: 通过各类AI智能扩展,帮助用户高效快速的整理纪要
    • 当前支持2大类:1)实时录音智能纪要结束归档;2)本地音视频上传转写(其他离线纪要留档的形式)

🌐 在线体验 Live Demo

点击上方链接体验完整功能,或查看下方截图了解核心特性

🚀 快速开始

1. 启动项目并查看效果

按照以下步骤启动项目:

环境要求

  • Node.js: 版本 ≥ 18.0.0
  • 包管理器: npm

启动步骤

  1. 获取项目代码 访问 通义听悟智能纪要应用,在「进阶:二次开发」模块下载源码包

  2. 安装依赖

    cd tingwu-web
    npm install
  3. 配置 API 密钥(重要!)

    编辑 .env 文件,将以下配置替换为你的实际值:

    // TODO 修改成自己的API_KEY和APP_ID
    REACT_APP_API_KEY = xxxxx;
    REACT_APP_APP_ID = xxxxx;
  4. 启动开发服务器

    npm run start
  5. 查看效果

    打开浏览器访问:http://localhost:3000

    项目会自动打开浏览器并显示听悟大模型的前端界面。

2. 前置准备清单

在启动项目之前,需要完成以下准备工作:

| 步骤 | 操作说明 | 获取地址 | | ---- | -------------------- | ----------------------------------------------------------------------------------------------------- | | 1 | 注册阿里云账号 | 阿里云官网 | | 2 | 开通百炼模型服务 | 百炼控制台 | | 3 | 获取 API Key | API Key 管理 | | 4 | 获取 App ID | 应用管理 |

详细获取步骤

API Key 获取步骤:

  1. 登录 阿里云百炼控制台
  2. 在左侧导航栏选择 "API-KEY"
  3. 点击 "创建新的 API Key"
  4. 复制生成的 API Key

App ID 获取步骤:

  1. 登录 阿里云百炼控制台
  2. 点击"创建应用" 生成自己的应用
  3. 每个应用卡片都有 "应用 ID"

🔧 开发说明

项目结构

tingwu-web/
├── packages/
│   ├── tingwu-example/     # 示例应用(主要启动入口)
│   ├── @tingwu/service/     # API 服务层
│   ├── tingwu-components/  # 组件库
│   ├── @tingwu/core/       # 核心逻辑
│   ├── @tingwu/summary/       # 听悟智能纪要详情页
│   ├── @tingwu/home/       # 开启智能纪要的配置页
│   └── ...                # 其他包

主要命令

  • npm run start: 启动开发服务器
  • npm run build: 构建生产版本
  • npm run lint: 代码检查
  • npm run test: 运行测试

⚠️ 注意事项

  1. API 密钥安全: 请勿将 API Key 提交到代码仓库,建议使用环境变量管理
  2. 浏览器权限: 实时录音功能需要浏览器麦克风权限
  3. 网络要求: 项目需要访问阿里云百炼服务,请确保网络连接正常
  4. ⚠️ 重要说明: 本项目的多包均未发布到 npm 公开库,如果开发使用,建议自己按需使用,如果需要发布 npm 包,需要自己重新命名

🆘 常见问题

Q: 启动后页面空白? A: 请检查是否已正确配置 API_KEY 和 APP_ID

Q: 实时录音无法使用? A: 请确保浏览器已授权麦克风权限,并在 HTTPS 环境下使用

Q: 文件上传失败? A: 请检查文件格式是否支持,以及 API 密钥是否有效

📞 技术支持

如有问题,请联系开发团队或查看项目文档。

📄 许可证

本项目是自由软件:您可以根据自由软件基金会发布的 GNU 通用公共许可证的条款重新分发和/或修改它,许可证版本 3,或(根据您的选择)任何更高版本。

完整的许可证文本请查看 LICENSE 文件。

SPDX-License-Identifier: GPL-3.0-or-later