Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
// Every other language's server lines, from the app's packs (server-lines.ts reads English). The server loads this when
// it starts (server/index.ts), and so does a test that checks a line in another language; before that, a line reads in
// English. Only tests that load this read a translation, so only they run with the locale tests (scripts/ci-scope.mjs).
import de from "../src/locales/de.json" with { type: "json" };
import es from "../src/locales/es.json" with { type: "json" };
import fr from "../src/locales/fr.json" with { type: "json" };
import hi from "../src/locales/hi.json" with { type: "json" };
import it from "../src/locales/it.json" with { type: "json" };
import ja from "../src/locales/ja.json" with { type: "json" };
import ko from "../src/locales/ko.json" with { type: "json" };
import pl from "../src/locales/pl.json" with { type: "json" };
import ptBr from "../src/locales/pt-br.json" with { type: "json" };
import ru from "../src/locales/ru.json" with { type: "json" };
import th from "../src/locales/th.json" with { type: "json" };
import tr from "../src/locales/tr.json" with { type: "json" };
import uk from "../src/locales/uk.json" with { type: "json" };
import vi from "../src/locales/vi.json" with { type: "json" };
import zhTw from "../src/locales/zh-tw.json" with { type: "json" };
import zh from "../src/locales/zh.json" with { type: "json" };
import { addServerLinePacks } from "./server-lines.ts";
addServerLinePacks({ de, es, fr, hi, it, ja, ko, pl, "pt-br": ptBr, ru, th, tr, uk, vi, zh, "zh-tw": zhTw });