Joftal
850a9db269
addLives 和 putRawConfig 提前获取 inst,消除链式调用的 nil panic 风险
2026-02-25 10:47:12 +08:00
Joftal
d46b8d25b3
修复循环监控时间失效的问题
2026-02-23 20:09:37 +08:00
kira1928
943aaf1844
录制失败时醒目提醒
2026-02-20 05:57:00 +09:00
kira1928
3d73e8d70a
新增录制时自动解析实际分辨率显示在webui;添加直播流 url 和 header 信息到 webui;修复统计界面的部分bug
2026-02-20 04:15:10 +09:00
kira1928
8d38c5e0ba
新增并发测试
2026-02-19 17:54:41 +09:00
kira1928
1c7547081d
默认启用崩溃检测
2026-02-19 17:50:36 +09:00
kira1928
185785cd44
使用实例取代指针,彻底杜绝空指针问题。
2026-02-19 17:36:23 +09:00
kira1928
507e7c286b
解决inst.Lives 线程安全问题
2026-02-19 17:11:00 +09:00
kira1928
4c0d2fa6b6
完善自动更新功能 ( #1073 )
...
* 完善自动更新功能
* 修复 CI error
* 根据review意见更新代码
* 修复e2e CI
2026-02-18 02:19:53 +09:00
kira1928
1cdf122995
完善自动更新功能
2026-02-05 00:30:13 +09:00
15b0b12777
0.8.0/dev ( #1061 )
...
* Initial plan
* Initial plan for hierarchical configuration system
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Implement hierarchical configuration system with platform and room-level overrides
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Add config validation, platform key mapping, and hierarchical config example
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Add enhanced GUI configuration interface with hierarchical config support
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Complete implementation with documentation and working web UI demo
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 根据反馈完善层级配置系统:移除二进制文件,更新中文界面,支持所有直播平台
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 改进配置界面:添加YAML解析库,输出模板预览和详细工具提示
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 完善监控列表界面:增加直播间详细信息展开功能
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 修复后端API支持和前端功能,添加日志查看功能
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 修复前端编译错误,调整优化package.json
* 实现真实的层级配置系统:添加日志存储,解析配置,更新所有组件使用解析后配置
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 实现层级配置系统:支持平台级设置、中文GUI界面、监控详情展示和真实数据后端
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 实现真实的平台访问频率限制功能
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 为所有主要直播平台添加访问频率限制支持
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 完成层级配置系统:平台访问频率限制功能全面实现
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 实现层级配置系统:支持平台级设置、中文GUI界面、监控详情展示、真实数据后端和统一访问频率限制
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 修复CI lint错误:添加webapp默认构建文件
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* feat: 新增ntfy通知功能
* feat: 添加停止录制时的ntfy推送通知
* 优化ntfy推送通知
* Update src/notify/ntfy/ntfy.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix test error
* 为每个直播间分别保留一组直播间自己的log信息,供前端取用。
前端监控列表的详细信息现在由SSE实时更新。
为详情页面的日志增加了一些便利功能。
* 升级antd v3 -> v6
* 升级 react-router-dom v5-> v6
* 优化层级设置UI,访问频率限制逻辑等
* code refine
* fix CI error
* Fix CI error
* Fix CI error
* Fix "Component state update uses potentially inconsistent value" issue
* 根据代码review修复问题:替换废弃方法,添加null检查,修复state更新和变量使用
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 修复CI编译错误:添加default构建文件并修正handler.go中的变量引用
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Initial plan
* Implement real-time countdown for next GetInfo request
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Add real-time download speed display for recording streams
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Fix setState callbacks to return prevState instead of null
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Use safe type assertion for RecorderManager to prevent panic
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Address PR review comments: add periodic SSE broadcast, fix optional chaining, cleanup memory leaks
- Add periodic (3s) broadcast of recorder status via SSE for real-time download speed updates
- Use optional chaining (?.) for safer recorder_status.speed access
- Remove redundant nil check for recorder in GetRecorder
- Clean up countdownTimers state when rows are collapsed to prevent memory leak
- Use Math.ceil() for countdown initialization to avoid premature "available" display
- Set up broadcast callback in server initialization to avoid circular dependencies
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Fix race condition and improve comments in status broadcaster
- Add sync.WaitGroup to ensure broadcaster goroutine exits cleanly
- Update comments to reflect callback-based implementation
- Ensure proper cleanup sequence in Close() method
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Improve error handling in recorder status retrieval
- Add warning log when GetStatus() fails for better observability
- Simplify logic by assigning status regardless of nil value
- Helps with debugging recorder status issues
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Improve countdown display and download speed formatting
- Add SSE list threshold config (default 50 rooms) in RPC settings
- Change download speed format from "0.562x" to "MB/s" or "KB/s" based on bitrate
- Update recorder status broadcast interval from 3s to 5s
- Fix countdown display: use "距离下次刷新" instead of "距下次GetInfo请求"
- Change "立即可用" to "正在刷新" for better UX
- Implement auto-calibrating countdown that adjusts with SSE updates
- Track last update times to maintain accurate countdown state
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Add list-level SSE subscription with configurable threshold
- Enable SSE for live room list by default when room count < threshold
- Automatically switch to detail-only SSE when list exceeds threshold
- Update SSE subscription strategy dynamically when rooms added/removed
- Wildcard SSE subscription ('*') receives all live_update events
- List refreshes automatically when receiving SSE updates
- Clean up list-level subscription on component unmount
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* 任务系统 init
* 新增任务列表,直播事件功能和对应数据库
* 修复新增功能前后端bug
* 暂时commit部分修改内容,还未充分检查
* 0.8.0/dev (#1059 )
* 优化视频播放界面,新增退出视频播放按钮(支持ESC退出)
* 文件列表新增文件重命名和删除操作,支持批量操作
* 设置界面引入前端校验,确保前后端参数一致性,之前前端非法参数可以保存到后端config,如最小录制时长。本次修改在前端加入校验提示,非法参数直接拦截并提示有效值
* 哔哩哔哩cookie功能优化,新增扫码登录和验证机制
* 哔哩哔哩cookie界面优化
* fix code review
* 修复重命名、删除、批量操作的越权问题
* 表单验证间隔检测规则保持这里为0
* 完善报错
* 回滚误改的listening_count
* 修改文案
* 修复哔哩哔哩cookie界面api反复调用问题
* 补充console
* 重复的 ESC 键监听器问题修复
* 修复cookie潜在的内存问题
* cookie错误处理日志
* 错误日志改进
* 补充注释
* 调整文件编码转义,支持特殊字符,国际化,emojy等
* 修复--rsp是ReadableStream,只能读一次。如果 rsp.json() 失败后再去 rsp.text() 会失败。所以原始代码 clone 了一个 response 使用。
* 实现直播流选择,可选画质设置
* ci: 对齐版本、修复 lint 警告并添加开发工具模板
版本对齐:
- 将 CI 中的 Go 版本从 1.24 更新到 1.25 (匹配 go.mod)
- 将 Node.js 配置改为使用 .node-version 文件 (v20.10.0)
- 升级 actions/setup-go 到 v5, actions/setup-node 到 v4
Lint 修复:
- 修复 staticcheck 警告 (S1039, ST1023, S1009, QF1008)
- 删除未使用的函数:
- recorder.go: renderUploadPath, logAvailableStreams, extractRoomID
- store.go: getIntFromMap, getFloat64FromMap
- runjob_windows.go: runWithKillOnClose
- 重新生成 mock 文件
开发环境:
- 添加 VS Code 调试配置模板 (.vscode/launch.example.json)
- 更新 .gitignore 支持本地 launch.json 自定义
- 更新 README 添加使用说明
* feat: 添加版本统计、更新器增强与开发环境改进
版本统计:
- 新增 telemetry 包,仅统计程序版本号
- 用于了解用户更新程序的整体趋势
- 不收集平台、架构或任何其他个人数据
更新器增强:
- 实现 SHA256 校验和验证,确保下载完整性
- 支持 tar.gz 和 zip 压缩包解压
- 优先使用 bililive-go.com 代理,回退到 GitHub 直连
开发环境:
- 升级 Go 版本到 1.25
- 新增 tools/devtools.go 管理开发工具依赖 (delve, gopls, staticcheck)
- Makefile 添加 help 命令
- 新增 test/ 目录和 launcher 测试基础设施
* fix: 修复前端 ESLint 警告并启用严格模式构建
ESLint 修复:
- config-info/index.tsx: 移除未使用的 useNavigate 和 addPlatformVisible
- history-panel/index.tsx: 移除未使用的 List、UserOutlined、HistoryResponse
- live-list/index.tsx: 移除未使用的 Modal
构建配置改进:
- 默认 build 命令使用 CI=true 模式,警告视为错误
- 添加 cross-env 依赖实现跨平台环境变量设置
- 添加 yarn lint 命令进行独立 ESLint 检查
- ESLint 配置中将 no-unused-vars 规则设为 error
这确保本地开发与 CI 行为一致,尽早发现代码问题
* 删除未使用的golang函数
* feat: 添加 Playwright E2E 测试框架
- 集成 Playwright 进行端到端测试
- 使用 osrp-stream-tester 作为测试流服务器
- 添加基础 UI 测试和直播录制测试用例
- 创建 GitHub Actions E2E 测试工作流
- 更新 Makefile 添加测试相关命令
使用方法:
- make install-e2e # 安装测试依赖
- make test-e2e # 运行 E2E 测试
- make test-e2e-ui # 带 UI 运行测试
* fix: 添加 package-lock.json 以修复 CI
* feat: 添加 Playwright E2E 测试框架、相关测试用例和 GitHub Actions 工作流。
* ci: 新增 Playwright E2E 测试工作流。
* feat: 添加 Playwright E2E 测试 GitHub Actions 工作流。
* feat: 添加 E2E 测试的 GitHub Actions 工作流。
* feat: 添加端到端测试以及对应的 GitHub Actions CI 工作流
* feat: 新增录制功能的端到端测试
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
Co-authored-by: July <31428852+onlyjuly@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Joftal <42807405+Joftal@users.noreply.github.com >
2026-01-31 03:44:14 +09:00
Copilot and kira1928
4b2b515222
Enable weak TLS 1.2 cipher suites for edgesrv.com domains ( #1050 )
...
* Initial plan
* Add TLS cipher suite support for edgesrv.com with error logging
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Refactor TLS config: extract shared function and improve error detection
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Further refine TLS error detection and extract hostname helper
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Fix ineffassign lint error in NewBaseLive function
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Address code review feedback: use DialContext, improve TLS error detection, extract common logic
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Address code review: improve TLS handling, add tests, enhance transport config
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Refine TLS config: remove duplicate init, optimize warning log, remove unnecessary GCM ciphers
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Fix race condition in ByteCounter creation with atomic GetOrCreateConnCounter
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Use sync.Once for edgesrv warning log instead of mutex+bool
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
* Extract HTTP transport config to newProductionTransport helper function
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
2026-01-03 01:36:54 +09:00
Copilot and kira1928
31613152da
Change default RPC bind from 127.0.0.1:8080 to :8080 ( #1049 )
...
* Initial plan
* 将默认 RPC bind 地址从 127.0.0.1:8080 改为 :8080
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kira1928 <2352900+kira1928@users.noreply.github.com >
2026-01-01 19:40:17 +09:00
kira1928
0fb23db4b0
把config和logger改为全局实例,另外保留config yml文件内的注释文本 ( #1048 )
...
* 把config和logger从instance成员改为全局实例
* 保留config.yml文件内的注释文本;修复之前漏掉的一些logger调用代码
* code refine
* code refine
2025-12-31 22:14:59 +09:00
kira1928
dd26a4bce1
修复 lint ci error
2025-11-02 21:11:28 +09:00
kira1928
10d1b13069
feat: 更新配置处理逻辑以支持动态设置AppDataPath和只读工具目录
2025-10-26 22:19:16 +09:00
kira1928
0f1e59b6bb
feat: 更新remotetools依赖至v0.3.3;增强Dockerfile以支持容器内工具目录配置;添加isInContainer函数以判断运行环境
2025-10-26 21:49:53 +09:00
kira1928
630beb7ea1
feat: 更新remotetools依赖至v0.3.2;添加ToolRootFolder配置以支持可写工具目录;更新LiveInfo组件以显示Docker相关信息
2025-10-26 18:39:28 +09:00
kira1928
aa9cb5eaa0
feat: 更新依赖和配置以支持内置工具同步;升级多个GitHub Actions和Docker相关依赖
2025-10-26 00:37:45 +09:00
kira1928
2a7ce006cf
feat: 更新release.yaml以支持10个分片构建;添加对arm架构的Node.js下载链接和新版本的biliLive-tools支持
2025-10-24 22:16:10 +09:00
kira1928
b1bae3abcc
feat: 更新release.yaml以支持10个分片构建;更新remote-tools-config.json中的ffmpeg下载链接为最新版本
2025-10-23 23:11:44 +09:00
kira1928
d487cf497a
feat: 实现分片构建支持,优化CI并行处理逻辑;更新release脚本以支持分片索引
2025-10-23 20:15:37 +09:00
kira1928
c22a32bc3a
尝试修复CI
2025-10-23 19:21:42 +09:00
kira1928
73da48f236
feat: 更新Dockerfile和release脚本以确保BuildKit挂载的bin目录存在,并优化并行构建逻辑
2025-10-23 19:01:38 +09:00
kira1928
9a0a569d46
fix: 更新Docker构建平台,移除对linux/386的支持;优化缓存设置
2025-10-23 18:31:39 +09:00
kira1928
be545b0f55
fix: 移除Docker构建平台中的linux/arm/v6支持
2025-10-23 18:06:32 +09:00
kira1928
c9d7cb8239
feat: 更新Dockerfile以使用Ubuntu替代Alpine,优化依赖安装;新增btools支持 ( #997 )
2025-10-23 16:53:07 +09:00
kira1928
78565d22bb
修复某些抖音直播间没有标题信息的问题 ( #984 )
2025-10-11 20:49:59 +09:00
kira1928
534fbcd3e5
增加外部工具下载功能和界面;使用录播姬修复flv ( #970 )
...
* feat(tools): integrate RemoteTools for FFmpeg management and add tools menu link
* fix CI error
* 增加录制flv后用录播姬修复的设置和实现
* fix CI Lint error
2025-10-05 20:01:32 +09:00
Tao
236b9d24d3
fix(parser): rm ffmpeg bsf:a aac_adtstoasc ( #873 )
2025-09-27 19:02:04 +09:00
jonpostel/
d3903930d2
feat(notify): 新增Telegram和email 录制通知功能 ( #935 )
...
* feat(notify): 新增Telegram和邮件通知功能
新增Telegram和邮件通知服务,用户可在直播开始、结束和异常时接收通知。添加相关配置项和文档说明,并更新依赖。
新增通知模块,支持Telegram和邮件两种通知方式。用户可在配置文件中启用相应服务并设置参数。添加了测试用例和示例图片。
更新了README和文档,详细说明通知功能的配置和使用方法。同时添加了相关依赖包。
* 修复 Copilot,golangci-lint 的问题
* 完善 Copilot 建议
* fix: 修复listener_test.go中GetRawUrl和DispatchEvent方法调用未预期的问题
* 添加 GetRawUrl,GetPlatformCNName 测试预期调用。让测试完善通过。
* Delete coverage.txt
* end fix and end test,简化通知代码.
* 发现一个bug,有一定几率拿不到主播名称。如果拿不到就从缓存中拿。
2025-09-27 12:28:40 +09:00
kira1928 and Copilot
b390730b18
修复从配置页面添加直播间时可能添加重复直播间的bug ( #936 )
...
* 修复从配置页面添加直播间时可能添加重复直播间的bug
* Update src/servers/handler.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-24 01:31:10 +09:00
kira1928
132bb58e10
把 0.7.35 版的抖音获取逻辑作为后备方法 ( #937 )
2025-09-24 01:30:47 +09:00
kira1928
7ece0df59f
fix nil panic ( #931 )
2025-09-13 19:31:20 +09:00
kira1928
f698ac0c6d
修复启动时立即访问网页UI导致的panic ( #929 )
2025-09-13 19:06:18 +09:00
kira1928
1a15c4148d
获取不到直播间信息时显示提示信息;系统状态显示是否在容器中
2025-09-13 17:31:11 +09:00
kira1928
13c43cddd4
修复运行时修改配置失败的bug ( #904 )
...
* 修复运行时修改配置失败的bug
* fix test
2025-08-10 02:28:54 +09:00
xobexo
817f24b344
✨ feat: 新增 主播昵称 (#901 )
2025-08-09 23:46:54 +09:00
xobexo
35519c93f1
🐞 fix: 增大 直播间数量上限到4096 (#900 )
2025-08-09 16:10:33 +09:00
xobexo
b879ccac1b
Add traffic analyzer ( #899 )
...
* ✨ feat: 增加流量统计功能
* 🌈 style: 删除 冗余定义
2025-08-09 16:04:04 +09:00
kira1928
92fdc0618e
fix build script ( #898 )
2025-08-08 15:53:43 +09:00
kira1928
e5760212c6
fix build script ( #895 )
2025-08-06 19:55:32 +09:00
kira1928
3ba2397978
fix CI error ( #894 )
...
* fix CI error
* fix golangci-lint errors
2025-08-06 19:16:11 +09:00
xobexo and curry_a
fbf606cd24
✨ feat: 修复抖音 新增抖音app链接分享支持 (#891 )
...
Co-authored-by: curry_a <sameterms@outlook.com >
2025-08-06 17:24:42 +09:00
Chigusa
a3851d8a93
code clean ( #869 )
...
* - run go fmt
- "github.com/golang/mock" are no longer maintained, use "go.uber.org/mock"
* update go version to 1.24
* add golangci-lint
* - replace interface{} to any (Go 1.18 feature)
- fix non-compliant code
2025-08-01 22:54:11 +09:00
kira1928
9851081ecb
migrated build system to pure golang ( #889 )
...
* migrated build system to pure golang
* fix makefile typo
2025-07-28 20:03:40 +09:00
murphy
7fe866f102
兼容克拉直播分享链接格式 ( #875 )
...
已在本地测试通过,感谢贡献代码!
2025-07-27 17:16:57 +09:00
Chigusa
3321ac0b32
replace hr3lxphr6j/bililive-go to bililive-go/bililive-go ( #868 )
2025-06-11 12:48:35 +08:00
nopast
84b325d01c
Fix/xiaohongshu record stream ( #847 )
...
* fix: xiaohongshu stream url fixed
* fix: xiaohongshu stream end status detect fixed
2025-06-11 12:04:10 +08:00
kira1928
81523f59d1
fix panic
2025-03-24 19:32:10 +09:00