{"id":13618331,"url":"https://github.com/rerender2021/heard","last_synced_at":"2025-04-14T10:31:46.476Z","repository":{"id":153016433,"uuid":"618753989","full_name":"rerender2021/heard","owner":"rerender2021","description":"A simple subtitle generator powered by whisper \u0026 avernakis react.","archived":false,"fork":false,"pushed_at":"2023-04-22T14:53:06.000Z","size":14327,"stargazers_count":65,"open_issues_count":7,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T03:36:57.750Z","etag":null,"topics":["avernakis","desktop","react","subtitle","whisper","windows"],"latest_commit_sha":null,"homepage":"https://rerender2021.github.io/products/heard/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rerender2021.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-25T08:49:54.000Z","updated_at":"2024-10-12T15:03:16.000Z","dependencies_parsed_at":"2024-01-19T11:07:41.729Z","dependency_job_id":null,"html_url":"https://github.com/rerender2021/heard","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"qber-soft/Ave-React-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerender2021%2Fheard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerender2021%2Fheard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerender2021%2Fheard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rerender2021%2Fheard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rerender2021","download_url":"https://codeload.github.com/rerender2021/heard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248862681,"owners_count":21173859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avernakis","desktop","react","subtitle","whisper","windows"],"created_at":"2024-08-01T20:01:58.889Z","updated_at":"2025-04-14T10:31:41.465Z","avatar_url":"https://github.com/rerender2021.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"375\" src=\"./docs/images/logo.png\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![build](https://github.com/rerender2021/heard/actions/workflows/build.yml/badge.svg?branch=main\u0026event=push)](https://github.com/rerender2021/heard/actions/workflows/build.yml) [![pack](https://github.com/rerender2021/heard/actions/workflows/pack.yml/badge.svg?branch=main\u0026event=push)](https://github.com/rerender2021/heard/actions/workflows/pack.yml)\n\n \u003c/div\u003e\n \n# 简介\n\n听到了! (Heard) 是一个字幕生成器，原理：\n\n-   使用 [Whisper](https://github.com/openai/whisper) 生成字幕，支持 GPU 模式\n-   GUI 部分则是使用 [Ave React](https://qber-soft.github.io/Ave-React-Docs/) 开发的\n\n![heard-usage](./docs/images/heard-usage.png)\n\n使用它可以生成 srt 格式字幕：\n\n![srt-demo](./docs/images/srt-demo.png)\n\n演示视频见:\n\n- [听到了！Whisper \u0026 GPU 离线字幕提取](https://www.bilibili.com/video/BV1FN411N7a5/)\n\n# 使用说明\n\n-   软件首页：https://rerender2021.github.io/products/heard/\n\n# 开发者向\n\n## 本地开发\n\n```bash\n\u003e npm install\n\u003e npm run dev\n```\n\n开发过程中需要确保本机启动了 Whisper 服务器: https://github.com/rerender2021/Whisper-API/releases/tag/1.0.0\n\n下载它，并解压到项目下，确保项目目录结构如下：\n\n```\n- whisper-gpu-server\n    - Whisper-API.exe\n    - ...\n- src\n- ...\n- package.json\n```\n\n- 此外，还需要安装 cuda 环境，注意版本：11.7：https://developer.nvidia.com/cuda-11-7-0-download-archive?target_os=Windows\u0026target_arch=x86_64\n\n验证 cuda 安装成功：命令行输入 `nvcc -V`，看输出：\n\n```bash\n  Copyright (c) 2005-2022 NVIDIA Corporation\n  Built on Tue_May__3_19:00:59_Pacific_Daylight_Time_2022\n  Cuda compilation tools, release 11.7, V11.7.64\n  Build cuda_11.7.r11.7/compiler.31294372_0\n```\n\n- 运行 Whisper 还需要安装 ffmpeg，验证是否安装成功：`ffmpeg -v`\n\n```bash\nffmpeg version 2022-02-10-git-b6bb6b9f22-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers\n  built with gcc 11.2.0 (Rev7, Built by MSYS2 project)\n  ...\n```\n\n## 功能扩展\n\n默认支持 Whisper 类型为 base 的模型（英语 \u0026 多语言），如果需要使用其它模型，可自行下载，并放在 `whisper-gpu-server\\model` 下。\n\n-   模型下载地址：https://github.com/openai/whisper/discussions/63#discussioncomment-3798552\n\n## 打包发布\n\n-   生成 exe\n\n```bash\n\u003e npm run release\n```\n\n# 开源协议\n\n[MIT](./LICENSE)\n\n# 赞赏\n\n`:)` 如果此软件值得赞赏，可以请作者看小说，一元足足可看八章呢。\n\n\u003cp align=\"left\"\u003e\n    \u003cimg width=\"300\" src=\"https://rerender2021.github.io/assets/donate.jpg\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerender2021%2Fheard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frerender2021%2Fheard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frerender2021%2Fheard/lists"}