{"id":14435295,"url":"https://github.com/iuroc/bilidown","last_synced_at":"2026-04-01T22:17:56.462Z","repository":{"id":252309215,"uuid":"840049887","full_name":"iuroc/bilidown","owner":"iuroc","description":"哔哩哔哩视频解析下载工具，支持 8K 视频、Hi-Res 音频、杜比视界下载、批量解析，可扫码登录，常驻托盘。","archived":false,"fork":false,"pushed_at":"2026-03-21T22:13:23.000Z","size":63590,"stargazers_count":1351,"open_issues_count":27,"forks_count":164,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-22T10:51:05.601Z","etag":null,"topics":["4k","8k","audio","bilibili","dolby","download","ffmpeg","flac","golang","hdr","hires","mp4","sqlite","vanjs","video"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iuroc.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":"2024-08-08T21:42:09.000Z","updated_at":"2026-03-22T07:19:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"54e5c939-5232-4056-8efb-ac3362a0689f","html_url":"https://github.com/iuroc/bilidown","commit_stats":null,"previous_names":["iuroc/bilidown"],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/iuroc/bilidown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuroc%2Fbilidown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuroc%2Fbilidown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuroc%2Fbilidown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuroc%2Fbilidown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iuroc","download_url":"https://codeload.github.com/iuroc/bilidown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iuroc%2Fbilidown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["4k","8k","audio","bilibili","dolby","download","ffmpeg","flac","golang","hdr","hires","mp4","sqlite","vanjs","video"],"created_at":"2024-08-31T04:00:38.067Z","updated_at":"2026-04-01T22:17:56.454Z","avatar_url":"https://github.com/iuroc.png","language":"TypeScript","funding_links":[],"categories":["下载工具"],"sub_categories":["直播脚本"],"readme":"# Bilidown\r\n\r\n[![GitHub Release](https://img.shields.io/github/v/release/iuroc/bilidown)](https://github.com/iuroc/bilidown/releases)\r\n\r\n哔哩哔哩视频解析下载工具，支持 8K 视频、Hi-Res 音频、杜比视界下载、批量解析，可扫码登录，常驻托盘。\r\n\r\n## 支持解析的链接类型\r\n\r\n-   【单个视频】https://www.bilibili.com/video/BV1LLDCYJEU3/\r\n-   【番剧和影视剧】https://www.bilibili.com/bangumi/play/ss48831\r\n-   【视频合集】https://space.bilibili.com/282565107/channel/collectiondetail?sid=1427135\r\n-   【收藏夹】https://space.bilibili.com/1176277996/favlist?fid=1234122612\r\n-   【UP 主空间地址】等待 3.x 版本支持\r\n\r\n## 使用说明\r\n\r\n1. 从 [Releases](https://github.com/iuroc/bilidown/releases) 下载适合您系统版本的安装包\r\n2. 非 Windows 系统，请先安装 [FFmpeg 工具](https://www.ffmpeg.org/)\r\n3. 将安装包解压后执行即可\r\n\r\n## 软件特色\r\n\r\n1. 前端采用 [Bootstrap](https://github.com/twbs/bootstrap) 和 [VanJS](https://github.com/vanjs-org/van) 构建，轻量美观\r\n2. 后端使用 Go 语言开发，数据库采用 SQlite，简化构建和部署过程\r\n3. 前端通过 [p-queue](https://github.com/sindresorhus/p-queue) 控制并发请求，加快批量解析速度\r\n\r\n## 其他说明\r\n\r\n-   本程序不支持也不建议 HTTP 代理，直接使用国内网络访问能提升批量解析的成功率和稳定性。\r\n\r\n## 打包可执行文件\r\n\r\n```shell\r\ngit clone https://github.com/iuroc/bilidown\r\ncd bilidown/client\r\npnpm install\r\npnpm build\r\ncd ../server\r\ngo mod tidy\r\nCGO_ENABLED=1 go build\r\n```\r\n\r\n## 交叉编译\r\n\r\n### 说明\r\n\r\n-   镜像名称：`iuroc/cgo-cross-build`\r\n-   支持的系统架构\r\n    -   `linux/amd64`\r\n    -   `windows/amd64`\r\n    -   `windows/386`\r\n    -   `windows/arm64`\r\n    -   `darwin/amd64`\r\n    -   `darwin/arm64`\r\n\r\n### 拉取镜像和项目源码\r\n\r\n```shell\r\ndocker pull iuroc/cgo-cross-build:latest\r\ngit clone https://github.com/iuroc/bilidown\r\n```\r\n\r\n### 交叉编译发行版\r\n\r\n\u003e 执行 `goreleaser` 命令时将自动执行 `pnpm build` 和 `go mod tidy`\r\n\r\n将 `ffmpeg.exe` 放入 `server/bin` 目录内。\r\n\r\n在项目根目录执行如下代码，进入 Docker 容器。\r\n\r\n```shell\r\ndocker run --rm -it -v .:/usr/src/data iuroc/cgo-cross-build\r\n```\r\n\r\n在容器内的终端执行如下代码，开始交叉编译。\r\n\r\n```shell\r\ncd server\r\ngit tag v2.1.1\r\ngoreleaser release --snapshot --clean\r\n# 正式发行\r\n# GITHUB_TOKEN=xxx goreleaser release --clean\r\n```\r\n\r\n### 编译指定系统架构\r\n\r\n```ini\r\n# 按上面的步骤进入 Docker 容器内终端\r\n\r\n# [darwin-amd64]\r\nGOOS=darwin\r\nGOARCH=amd64\r\nCC=o64-clang\r\nCGO_ENABLED=1\r\ngo build\r\n```\r\n\r\n### 非 Docker 环境编译\r\n\r\n在 Linux amd64 平台上执行 `go build` 时，您可能需要安装以下依赖包：  \r\n\r\n```bash\r\nsudo apt install pkg-config gcc libayatana-appindicator3-dev\r\n```\r\n\r\n## 开发环境\r\n\r\n```bash\r\n# client\r\npnpm install\r\npnpm dev\r\n# server\r\ngo build \u0026\u0026 ./bilidown\r\n```\r\n\r\n## 特别感谢\r\n\r\n-   [twbs/bootstrap](https://github.com/twbs/bootstrap) - 前端开发必备的响应式框架，简化页面布局\r\n-   [vanjs-org/van](https://github.com/vanjs-org/van) - 轻量级的前端框架，专注于构建高效应用\r\n-   [vitejs/vite](https://github.com/vitejs/vite) - 快速的前端构建工具，基于 ES 模块开发\r\n-   [SocialSisterYi/bilibili-API-collec](https://github.com/SocialSisterYi/bilibili-API-collect) - B 站 API 集合，支持多种操作接口\r\n-   [sindresorhus/p-queue](https://github.com/sindresorhus/p-queue) - 支持并发限制的 JavaScript 队列处理库\r\n-   [iuroc/vanjs-router](https://github.com/iuroc/vanjs-router) - 轻量级前端路由工具，适用于 Van.js 框架\r\n-   [uuidjs/uuid](https://www.npmjs.com/package/uuid) - 用于生成唯一标识符（UUID）的 JavaScript 库\r\n-   [getlantern/systray](https://github.com/getlantern/systray) - 简单的跨平台系统托盘图标库，支持图标管理\r\n-   [modernc.org/sqlite](https://pkg.go.dev/modernc.org/sqlite) - Go 语言的 SQLite3 数据库驱动，轻量高效\r\n-   [skip2/go-qrcode](https://github.com/skip2/go-qrcode) - 生成 QR 码的 Go 语言库，简单易用\r\n\r\n## 软件界面\r\n\r\n![](./docs/2024-11-05_090604.png)\r\n\r\n\r\n## Star History\r\n\r\n[![Star History Chart](https://api.star-history.com/svg?repos=iuroc/bilidown\u0026type=Date)](https://www.star-history.com/#iuroc/bilidown\u0026Date)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiuroc%2Fbilidown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiuroc%2Fbilidown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiuroc%2Fbilidown/lists"}