{"id":49467771,"url":"https://github.com/jerryshell/batch-groq-stt","last_synced_at":"2026-04-30T13:04:33.106Z","repository":{"id":353024809,"uuid":"1196956256","full_name":"jerryshell/batch-groq-stt","owner":"jerryshell","description":"Batch Groq STT","archived":false,"fork":false,"pushed_at":"2026-04-22T05:30:18.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-22T07:30:03.281Z","etag":null,"topics":["audio","bun","flac","groq","json","m4a","mp3","mp4","mpeg","mpga","ogg","speech-to-text","srt","stt","txt","wav","webm","whisper","youtube","yt-dlp"],"latest_commit_sha":null,"homepage":"","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/jerryshell.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-31T07:40:33.000Z","updated_at":"2026-04-22T05:42:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jerryshell/batch-groq-stt","commit_stats":null,"previous_names":["jerryshell/batch-groq-stt"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jerryshell/batch-groq-stt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fbatch-groq-stt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fbatch-groq-stt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fbatch-groq-stt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fbatch-groq-stt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/batch-groq-stt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fbatch-groq-stt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32465008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["audio","bun","flac","groq","json","m4a","mp3","mp4","mpeg","mpga","ogg","speech-to-text","srt","stt","txt","wav","webm","whisper","youtube","yt-dlp"],"created_at":"2026-04-30T13:04:29.109Z","updated_at":"2026-04-30T13:04:33.101Z","avatar_url":"https://github.com/jerryshell.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Batch Groq STT\n\n批量将 `data/` 目录下的音频文件转录为文字，支持生成 JSON、SRT 字幕和 TXT 纯文本。\n\n## 支持的音频格式\n\n| 格式 | 扩展名           |\n| ---- | ---------------- |\n| FLAC | `.flac`          |\n| MP3  | `.mp3`           |\n| MP4  | `.mp4`           |\n| MPEG | `.mpeg`, `.mpga` |\n| M4A  | `.m4a`           |\n| OGG  | `.ogg`           |\n| WAV  | `.wav`           |\n| WebM | `.webm`          |\n\n## 文件大小限制\n\n- 免费版：最大 25MB\n- 开发版：最大 100MB（超过 25MB 会显示警告）\n\n## 环境要求\n\n- [Bun](https://bun.com)\n- [Groq API Key](https://console.groq.com/keys)\n\n## 安装\n\n```bash\nbun install\n```\n\n## 配置\n\n创建 `.env` 文件：\n\n```bash\nGROQ_API_KEY=\"your_api_key_here\"\n```\n\n## 下载音频\n\n可以使用 [yt-dlp](https://github.com/yt-dlp/yt-dlp) 从 YouTube 下载音频：\n\n```bash\nyt-dlp -t mp3 \"https://www.youtube.com/watch?v=UF8uR6Z6KLc\"\n```\n\n## 准备音频\n\n将待转录的音频文件放入 `data/` 目录。\n\n## 运行\n\n```bash\nbun run index.ts\n```\n\n## 输出\n\n每个音频文件会生成三个文件（以 `audio.mp3` 为例）：\n\n| 文件         | 说明                         |\n| ------------ | ---------------------------- |\n| `audio.json` | 完整转录结果（含时间戳段落） |\n| `audio.srt`  | SRT 字幕格式                 |\n| `audio.txt`  | 纯文本转录内容               |\n\n已存在的 JSON 文件会被跳过，不会重复转录。\n\n## 脚本\n\n```bash\nbun run lint      # 代码检查\nbun run lint:fix  # 自动修复\nbun run fmt       # 代码格式化\nbun run fmt:check # 检查格式\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fbatch-groq-stt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fbatch-groq-stt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fbatch-groq-stt/lists"}