browser-translate

Open-source, privacy-first browser translation extension. Bring your own LLM key. Zero relay, zero telemetry

A new way for AI to search for data
View on GitHub
2GitHub stars

TypeScript

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit 1e01112e03 (2026-11-09).

Selected work

Lewen Cai
@Lewen-Cai

“no default model, no fallback, nothing on by default”. 38 files, 1,131 lines in src/core, src/storage, src/entrypoints.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-11-10. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

browser-extensionbyokchrome-extensionllmopenai-compatibletranslationtypescript

Example questions

The prompt

Paste it into your AI agent. It clones Lewen-Cai/browser-translate at the pinned commit and indexes it on your machine.

Search the GitHub repository Lewen-Cai/browser-translate with XERJ (https://hub.xerj.org/corpus/lewen-cai--browser-translate).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/Lewen-Cai/browser-translate browser-translate && git -C browser-translate checkout 1e01112e03e82d627d763505f0ea2ed7332fcf26
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./browser-translate --url http://127.0.0.1:9200 --prefix browser-translate --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: GPL-3.0. Read it for the approach only, do not copy code.

Related

Selected work and consent: the XERJ registry.