{"id":13431728,"url":"https://github.com/msojocs/bilibili-linux","last_synced_at":"2026-07-25T03:00:37.231Z","repository":{"id":37764546,"uuid":"491511991","full_name":"msojocs/bilibili-linux","owner":"msojocs","description":"基于哔哩哔哩官方客户端移植的Linux版本 支持漫游","archived":false,"fork":false,"pushed_at":"2026-06-13T02:11:21.000Z","size":7036,"stargazers_count":1261,"open_issues_count":18,"forks_count":62,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-06-30T08:23:34.593Z","etag":null,"topics":["bilibili","bilibili-client","electron","linux"],"latest_commit_sha":null,"homepage":"https://www.jysafe.cn/","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/msojocs.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.MD","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":"2022-05-12T12:50:02.000Z","updated_at":"2026-06-29T14:57:43.000Z","dependencies_parsed_at":"2023-02-10T21:45:24.443Z","dependency_job_id":"faaa6c8b-3b68-4117-8ccc-5bc3ffeb8115","html_url":"https://github.com/msojocs/bilibili-linux","commit_stats":null,"previous_names":[],"tags_count":102,"template":false,"template_full_name":null,"purl":"pkg:github/msojocs/bilibili-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fbilibili-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fbilibili-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fbilibili-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fbilibili-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msojocs","download_url":"https://codeload.github.com/msojocs/bilibili-linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msojocs%2Fbilibili-linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35863583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-25T02:00:06.922Z","response_time":64,"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":["bilibili","bilibili-client","electron","linux"],"created_at":"2024-07-31T02:01:05.406Z","updated_at":"2026-07-25T03:00:37.222Z","avatar_url":"https://github.com/msojocs.png","language":"TypeScript","funding_links":[],"categories":["第三方客户端"],"sub_categories":["直播脚本"],"readme":"**简体中文 | [繁體中文](README_zh-tw.MD) | [English](README_en.MD)**\n\n\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"./res/icons/bilibili.svg\" height=\"100px\" width=\"100px\"/\u003e\n\n  \u003ch3\u003e哔哩哔哩 Linux版\u003c/h3\u003e\n  \u003cbr\u003e\n\n----\n\n[![aur](https://img.shields.io/aur/version/bilibili-bin)](https://aur.archlinux.org/packages/bilibili-bin)\n\n  这是哔哩哔哩 Linux版\n  \n  SVG图标来自 [@Peternal](https://github.com/Peternal)\n\n  \u003cbr\u003e\n\u003c/div\u003e\n\n## 介绍\n\n本项目用到了：\n\n1. 反混淆\n2. 调试\n3. 脑子\n\n本项目完全开源，且没有任何代码加密操作，如有疑虑请自行审查代码或停止使用相关文件。\n\n## 特点\n\n1. 没有讨厌的标题栏\n2. 支持小分辨率屏幕全屏\n3. 检查更新支持\n4. 有能够关闭程序的菜单\n5. 支持漫游\n6. 外区搜索\n7. [弹幕共享](docs/help/弹幕共享.MD)\n\n## 使用方法\n\n### 自动化构建\n\n请到 Release 页面下载：\n\nhttps://github.com/msojocs/bilibili-linux/releases\n\n即时构建版本：\n\nhttps://github.com/msojocs/bilibili-linux/releases/tag/continuous\n\n### 手动构建\n\n1. 拉取代码\n   ```\n   git clone https://github.com/msojocs/bilibili-linux.git\n   cd bilibili-linux\n   ```\n2. 安装\n   ```\n   tools/setup-bilibili.sh\n   ```\n3. 启动\n   ```\n   bin/bilibili\n   ```\n### AppImage 安装\n\n请使用 [AppImageLauncher](https://github.com/TheAssassin/AppImageLauncher)\n\n## Gentoo Linux\n\nEmerge from [gentoo-zh overlay](https://github.com/microcai/gentoo-zh/tree/master/media-video/bilibili).\n\n### 额外补充\n\n如果阁下不喜欢电脑多装一个 Electron，可以自行提取发布版的 `app.asar` 并使用已安装 Electron 启动，建议的 Electron 版本是：`43.1.1`（`VaapiOnNvidiaGPUs` 需要 Electron 43+ / Chromium 130+）\n\n## GPU 加速配置\n\nElectron 43 (Chromium 150) 支持 Linux 下 VA-API 硬件视频解码。以下为推荐配置：\n\n### NVIDIA GPU\n\n1. 安装 VA-API → NVDEC 后端：\n   ```bash\n   # Arch Linux\n   sudo pacman -S libva-nvidia-driver\n   # Debian/Ubuntu\n   sudo apt install libva-nvidia-driver\n   ```\n\n2. 设置环境变量（libva 需要此变量定位 NVIDIA 后端）：\n   ```bash\n   export LIBVA_DRIVER_NAME=nvidia\n   ```\n\n3. 在 `~/.config/bilibili/bilibili-flags.conf` 中配置：\n\n   ```\n   --ignore-gpu-blocklist\n   --enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks,PlatformHEVCDecoderSupport\n   --enable-gpu-rasterization\n   --enable-zero-copy\n   --disable-gpu-sandbox\n   ```\n\n   \u003e **说明**：\n   \u003e - `VaapiOnNvidiaGPUs` (Chromium 130+) 绕过 vaapi_wrapper 对 NVIDIA 设备的跳过检查\n   \u003e - `AcceleratedVideoDecodeLinuxGL` / `AcceleratedVideoDecodeLinuxZeroCopyGL` 为 Chromium 150 推荐的 GL 零拷贝解码路径\n   \u003e - Electron 28 不支持以上 feature，NVIDIA 视频硬解需要 Electron 43+\n\n### Intel / AMD GPU\n\n```\n--ignore-gpu-blocklist\n--enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiVideoDecoder,VaapiIgnoreDriverChecks,PlatformHEVCDecoderSupport\n--enable-gpu-rasterization\n--enable-zero-copy\n--disable-gpu-sandbox\n```\n\nIntel 核显与 AMD 独显/核显使用 Mesa VA-API 后端，无需额外安装驱动或设置环境变量。\n\n### 验证硬解\n\n播放视频后检查 GPU 解码引擎是否工作：\n\n```bash\ncat /proc/$(pgrep -f \"type=gpu-process.*bilibili\")/fdinfo/* | grep drm-engine-video\n```\n\n非零数值表示 GPU 解码引擎正在工作。也可访问 `chrome://gpu` 查看 \"Video Decode\" 状态。\n\n### 注意\n\n- `--use-gl=angle --use-angle=gl` 在部分 Linux 桌面环境（尤其是 Wayland）下可能导致 VA-API 解码失效，建议使用 Electron 默认的 EGL/GLX 后端。\n- 如果系统开启了代理（如 Clash），`bilipc.bilibili.com` 经代理可能无法解析导致白屏。Electron 43+ 版本已内置代理绕过处理。\n\n## 开发者工具\n\n### F12 开发者面板\n\n现已支持自行打开开发者工具，方法如下：\n\n现已支持自行打开开发者工具，方法如下：\n\n尝试按下\u003ckbd\u003eF12\u003c/kbd\u003e，如果没有反应就是没有开启；\n\n登录界面有两层，内层右键打开，外层\u003ckbd\u003eF12\u003c/kbd\u003e打开。\n\n## 关于龙芯\n\nhttps://areweloongyet.com/docs/loong-or-loongarch\n\n|发行版|架构标识符|\n|------|----------|\n|AOSC OS|`loongarch64`|\n|Debian|\u003cul\u003e\u003cli\u003e旧世界：`loongarch64`\u003c/li\u003e\u003cli\u003e新世界：`loong64`\u003c/li\u003e\u003c/ul\u003e|\n|Gentoo|`loong`|\n|Loong Arch Linux|`loong64`|\n|RPM 系|`loongarch64`|\n|Slackware|`loong64`|\n\n## 空降助手\n\n自动帮助阁下空降至关键位置。\n\n你需要提前安装`python3`软件包与`faster_whisper` `torch`模块。\n\n参考文档：[AiTranscribe](docs/AiTranscribe.MD)\n\n| 选项 | 说明 |\n|------|-----|\n| Whisper代理 | 模型下载需要代理, 形如：`http://127.0.0.1:1080` |\n| LD_LIBRARY_PATH | 可能遇到 `cudnn` 库找不到，[参考此处](https://github.com/MahmoudAshraf97/whisper-diarization/issues/259) |\n| AI识别TOKEN | https://www.bigmodel.cn/ 的Token，使用免费模型 `glm-4.5-flash` |\n\n## 切换语言\n\n1. 在主页点击右下角设定按钮\n2. 进入“其它设定”\n3. 在“语言设定”区域选择你想要的语言\n\n## 更新日志\n\n[CHANGELOG.md](CHANGELOG.md)\n\n## 预览\n\n![推荐](res/screenshots/1.png)\n\n![直播](res/screenshots/live.png)\n\n![检查更新](res/screenshots/update.png)\n\n![退出](res/screenshots/exit.png)\n\n![漫游](res/screenshots/roaming.png)\n\n## 感谢以下项目\n\n1. [BiliRoaming](https://github.com/yujincheng08/BiliRoaming)\n2. [解除B站区域限制](https://github.com/ipcjs/bilibili-helper)\n3. [小电视空降助手](https://github.com/hanydd/BilibiliSponsorBlock)\n\n## 免责声明\n\nLicense 仅对本项目生效，不针对其产物。\n\n哔哩哔哩客户端版权归上海宽娱数码科技有限公司所有；\n\n对于使用本项目产生的额外问题，如账户封禁被盗等，维护者不对此负责，请谨慎使用；\n\n如有不当之处，请联系本人，邮箱：jiyecafe@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsojocs%2Fbilibili-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsojocs%2Fbilibili-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsojocs%2Fbilibili-linux/lists"}