{"id":13429856,"url":"https://github.com/IndieKKY/bilibili-subtitle","last_synced_at":"2025-03-16T04:31:10.881Z","repository":{"id":166303164,"uuid":"641824490","full_name":"IndieKKY/bilibili-subtitle","owner":"IndieKKY","description":"哔哩哔哩字幕列表浏览器扩展，功能包括点击跳转，下载字幕，总结字幕，翻译字幕等。","archived":false,"fork":false,"pushed_at":"2024-04-12T02:43:08.000Z","size":2717,"stargazers_count":459,"open_issues_count":10,"forks_count":34,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-12T09:56:05.850Z","etag":null,"topics":["bilibili","chrome-extension","subtitle"],"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/IndieKKY.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-05-17T08:40:16.000Z","updated_at":"2024-04-15T02:41:38.833Z","dependencies_parsed_at":"2023-12-24T02:20:30.876Z","dependency_job_id":"c6aa994d-9206-483b-a89b-a6e0f69e085f","html_url":"https://github.com/IndieKKY/bilibili-subtitle","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndieKKY%2Fbilibili-subtitle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndieKKY%2Fbilibili-subtitle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndieKKY%2Fbilibili-subtitle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndieKKY%2Fbilibili-subtitle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IndieKKY","download_url":"https://codeload.github.com/IndieKKY/bilibili-subtitle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826788,"owners_count":20354220,"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":["bilibili","chrome-extension","subtitle"],"created_at":"2024-07-31T02:00:46.687Z","updated_at":"2025-03-16T04:31:10.875Z","avatar_url":"https://github.com/IndieKKY.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","浏览器扩展"],"sub_categories":["主站扩展"],"readme":"## 简介\n\n哔哩哔哩字幕列表是一个浏览器扩展，旨在提供更高效和可控的视频信息获取方式。\n\n该扩展会显示视频的字幕列表，让用户能够快速浏览字幕内容，并通过点击跳转到相应的视频位置。同时，用户还可以方便地下载字幕文件。\n\n除此之外，该扩展还提供了视频字幕总结功能，帮助用户快速掌握视频的要点。\n\n该扩展主要面向知识学习类的视频，帮助用户更好地理解和总结视频内容。\n\n## 功能特点\n\n- 🎬 显示视频的字幕列表\n- 🔗 点击字幕跳转视频对应位置\n- 📥 多种格式复制与下载字幕\n- 📝 多种方式总结字幕\n- 🌍 翻译字幕\n- 🌑 深色主题\n\n## 下载扩展\n\n- [chrome商店](https://chrome.google.com/webstore/detail/bciglihaegkdhoogebcdblfhppoilclp)\n- [edge商店](https://microsoftedge.microsoft.com/addons/detail/lignnlhlpiefmcjkdkmfjdckhlaiajan)\n\n## 使用说明\n\n安装扩展后，在哔哩哔哩网站观看视频时，视频右侧会显示字幕列表面板。\n\n### 使用本地Ollama模型\n如果你使用本地Ollama模型，需要配置环境变量：`OLLAMA_ORIGINS=chrome-extension://bciglihaegkdhoogebcdblfhppoilclp`，否则访问会出现403错误。\n\n然后在插件配置里，apiKey随便填一个，服务器地址填`http://localhost:11434`，模型选自定义，然后填入自定义模型名如`llama2`。\n\n但是测试发现llama2 7b模型比较弱，无法返回需要的json格式，因此总结很可能会无法解析响应而报错(但提问功能不需要解析响应格式，因此没问题)。\n\n## 交流联系\n\ngithub: [IndieKKY](https://github.com/IndieKKY)\n\n## 问题反馈\n\n如果您在使用过程中遇到任何问题，或者有任何改进建议，请在项目的 **Issue 页面** 中提出。我们欢迎您的反馈，并会尽快回复和处理相关问题。\n\n## 开发指南\nnode版本：18.15.0\n包管理器：pnpm\n\n- 本地调试：`pnpm run dev`，然后浏览器扩展管理页面，开启开发者模式，再加载已解压的扩展程序，选择`dist`目录。\n- 打生产包：`pnpm run build`，然后浏览器扩展管理页面，开启开发者模式，再加载已解压的扩展程序，选择`dist`目录。\n\n注：`./push.sh`是作者自用脚本，可以忽略。\n\n提示：最新版浏览器安全方面有更新，开发调试可能有问题，会报csp错误！\n暂时的解决办法是`pnpm run dev`运行起来后，手动将`dist/manifest.json`文件里的web_accessible_resources里的use_dynamic_url都修改为false，然后浏览器扩展管理页面点击重载一下，就能正常（是@crxjs/vite-plugin依赖的问题，这个依赖很长时间没更新了，这个bug也没修复，暂时没发现更好的解决办法）。\n构建后正常，关键是fix.cjs里将use_dynamic_url设置为false的这个操作。\n\n## 贡献指南\n\n欢迎贡献代码或提出改进建议！如果您希望为该项目做出贡献，请遵循以下步骤：\n\n1. Fork该仓库到您自己的账号。\n2. 创建您的分支并进行修改。\n3. 提交修改前，请确保您的代码通过了所有的测试，并保持良好的代码风格。\n4. 提交 Pull Request，描述清楚您的修改内容和目的。\n5. 我们将仔细审查您的贡献，并与您进行讨论和反馈。\n6. 一旦您的贡献被接受并合并到主分支，您的修改将成为项目的一部分。\n\n## 许可证\n\n该项目采用 **MIT 许可证**，详情请参阅许可证文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIndieKKY%2Fbilibili-subtitle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIndieKKY%2Fbilibili-subtitle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIndieKKY%2Fbilibili-subtitle/lists"}