Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Connection examples
The same client connection snippet works in both Node and the browser. We intentionally repeat the snippet so each runtime section is copy-paste self-contained without scrolling.
Node
import { createClient } from './client.ts';
const c = createClient({ url: process.env.URL });
await c.connect();
Browser
import { createClient } from './client.ts';
const c = createClient({ url: process.env.URL });
await c.connect();
Edge runtime
import { createClient } from './client.ts';
const c = createClient({ url: process.env.URL });
await c.connect();
Notes
The client config is identical across runtimes; only transport selection differs internally.