PiliBabel is an unofficial bilibili client with AI-powered interface, comment and danmaku translation for Android, Windows and Linux.
- v3.8.6
- Published at
- 12h ago
- 3
- Stars
- 105
- Download
- Synced at
- 10h ago
Latest release
v3.8.6Nov 10, 2026, 06:08 AMREADME
Project Overview
PiliBabel turns bilibili's Chinese interface, titles, comments and danmaku into the language you choose, using either a built-in model or your own OpenAI-compatible endpoint. It continues the PiliNara / PiliPlus line, keeps video, live, dynamics and offline caching, and adds a global translation layer on top. Builds cover Android, Windows and Linux, with Android 7.0 as the floor; the language list merges the official model's 151 languages with 6 more (Traditional Chinese, Simplified and Traditional Wu, mainland and Taiwan Hokkien, Zhuang) for 157 in total.
| Item | Value |
|---|---|
| Version | 3.8.6 |
| Platform | Android 7.0+, Windows, Linux |
| Stack | Flutter 3.47.2, Dart 3.13+ |
| Engines | Built-in Index-Translate-35B-A3B or a self-hosted OpenAI-compatible endpoint |
| License | GPL-3.0 |
Install it and the bundled free model translates the whole interface, no API key required.
Key Features
- Global UI translation: about 1,650 strings are wrapped with
uiTx(), covering navigation, video cards, detail pages, comments and dynamics - Two engines: the built-in engine calls the free
index-translate.bilibili.com/v1endpoint, while the own-API mode accepts any/chat/completionsaddress - Danmaku translation: a separate toggle in the player's top-right corner, off by default, pre-translating 15-second batches ahead of the playhead
- Subtitle translation: Chinese external subtitles are translated in context-aware chunks, with multi-track management and an offline Vietnamese dictionary
- Glossary: 15 tables cover Genshin Impact, Honkai: Star Rail, Arknights and others, five languages each, more than 11,600 terms in total
- Headphone sync: the player defaults to mpv's AudioTrack backend in the order
audiotrack,aaudio,opensles, aligning audio and video from measured latency - Offline audio cache: Hi-Res, Dolby Atmos, 192K, 132K and 64K tiers, saved in the original CDN container as m4a, mp3, flac, wav, aac or ogg
- Download to folder: video is fetched as a single
fnval=1stream into a playable MP4, audio keeps its original format, and existing files are never overwritten - Overseas CDN preference:
*.akamaized.net,mirror*ovandcn-hk-eq-bcacheedges are preferred when present
How to Use
- On first launch, accept the onboarding dialog that enables translation and selects the built-in model
- Pick a target language; choosing Simplified Chinese shows the original text and sends no requests
- On the AI features page, switch engines, entering a base URL, API key and model name for the own-API mode
- Open any video and the interface and titles are queued for translation, with results cached in GetStorage
- For danmaku, turn on the toggle in the player's top-right corner and confirm the prompt
- To cache audio or download video, use the video page menu entries for cached audio and download to local folder
Target Audience
- Non-Chinese bilibili viewers
- Users needing Traditional Chinese or dialect UI
- Anime viewers who prefer Japanese audio
- Users running their own translation endpoint
- Desktop users who browse bilibili
System Requirements
| Item | Requirement |
|---|---|
| OS | Android 7.0+, Windows, Linux |
| SDK levels | minSdk 24, targetSdk 37 |
| Build stack | Flutter 3.47.2, Dart 3.13+ |
| Network | Access to bilibili APIs and the chosen translation endpoint |
| Storage | A writable folder for downloads and subtitle caches |
Notes
- Simplified Chinese passthrough: a
zh-CNtarget returns the original text without any request - Batching differs: the built-in engine sends one string per request, while own-API mode sends up to 16 per request with at most 10 in flight
- Danmaku lag: on very dense danmaku the original may appear first and is replaced in place once the translation lands
- Network needed: without a connection, every target except Simplified Chinese stays untranslated
- Unpackaged platforms: iOS and tablet builds are not provided