🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.
Python ai-agentai-assistantchatbotclaudecomputer-usedeepseekdesktop-appdshelectronfeishugeminigptgrokllmlocal-firstmodelflaremulti-modelopenai-compatiblepersonal-ai-agentwechat
/** Animate headings without splitting Korean words or Japanese loanwords mid-line. */
export function headingUnits(text: string, lang: string): string[] {
if (lang === "zh") return Array.from(text);
if (lang === "ja") return Array.from(new Intl.Segmenter("ja", { granularity: "word" }).segment(text), (part) => part.segment);
return text.split(/(\s+)/).filter(Boolean);
}