whatisgithub

What is bilibili-entocn?

meowgoober/bilibili-entocn — explained in plain English

Analysis updated 2026-05-18

1JavaScriptAudience · generalSetup · easy

In one sentence

A browser extension that auto translates your English typing into Chinese inside Bilibili's comment, search, and danmaku boxes.

Mindmap

mindmap
  root((Bilibili-EnToCn))
    What it does
      Translates typed text
      English to Chinese
      Works in comments search danmaku
    Tech stack
      JavaScript
      Browser extension
    Use cases
      Better search results
      Join Chinese comments
      No separate translator tab
    Audience
      English speaking Bilibili users
    Setup
      Load unpacked in dev mode
      Pick translation engine

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Translate a search query to Chinese before searching so more videos and creators show up.

USE CASE 2

Type an English comment or reply and convert it to Chinese with a keyboard shortcut.

USE CASE 3

Chat in Bilibili's danmaku overlay without leaving the page to use a separate translator.

What is it built with?

JavaScriptBrowser Extension

How does it compare?

meowgoober/bilibili-entocn0xmukesh/docusaurus-tutoriala15n/andrewscheuermann
Stars111
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-12-272015-01-11
MaintenanceDormantDormant
Setup difficultyeasyeasymoderate
Complexity2/51/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

So what is it?

Bilibili-EnToCn is a browser extension that translates English text into Chinese while you type inside text fields on Bilibili, a Chinese video platform. It works in comment boxes, search fields, and the danmaku bar, which is the scrolling comment overlay that appears on top of videos. The extension runs quietly in the background with no extra buttons or panels to manage, and it uses native browser input events so Bilibili's own website code recognizes the translated text as if you had typed it directly. The main reason to use this tool is that Bilibili's search and community features are built around Chinese characters. Typing a search in English often returns few or no results, so translating a query before searching opens up far more videos and creators to find. Similarly, most people who post and comment on Bilibili write in Chinese, so translating your own comments lets you take part in conversations, reply to creators, and ask questions in a way people are likely to understand. There are two ways to trigger a translation. The first is to type your English text into any input field and press Alt+T (or Option+T on a Mac), and the field flashes blue briefly before the Chinese translation appears. The second is to type "/zh" followed by your English text, then press Enter or Tab, which removes the "/zh" prefix and replaces it with the translated text. Installing the extension requires developer mode since it is not yet listed on the Chrome Web Store. A user downloads the repository as a ZIP file, unzips it, opens their browser's extensions page (Chrome, Edge, or Brave all work), turns on developer mode, and loads the unpacked folder. From there, the extension can be configured to use one of three translation services: Google Translate, which needs no setup, or DeepL and Microsoft Translator, which both require the user to supply their own API key. The project is small, currently with a single star, and written in JavaScript. It is aimed at English speakers who want an easier way to browse and interact with Bilibili without switching between translation tools and the site itself.

Copy-paste prompts

Prompt 1
Explain how the Alt+T shortcut and the /zh command work in Bilibili-EnToCn.
Prompt 2
Walk me through loading Bilibili-EnToCn as an unpacked extension in developer mode.
Prompt 3
Help me set up a DeepL API key for Bilibili-EnToCn's translation settings.
Prompt 4
What are the tradeoffs between Google Translate, DeepL, and Microsoft Translator in this extension?

Frequently asked questions

What is bilibili-entocn?

A browser extension that auto translates your English typing into Chinese inside Bilibili's comment, search, and danmaku boxes.

What language is bilibili-entocn written in?

Mainly JavaScript. The stack also includes JavaScript, Browser Extension.

How hard is bilibili-entocn to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is bilibili-entocn for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.