Usage statistics
To learn how many people run Jingmei, the bot sends an anonymous instance-level report to PostHog. It is on by default, and the first start prints a notice once.
- Sent: a random instance id generated locally (kept in
<dataDir>/telemetry.json, unrelated to tokens or group ids), the Jingmei and Bun versions, OS and architecture, which platforms and features are enabled (booleans), and the number of personas and channels, bucketed only (0,1,2-5,6-20,21+). - Never sent: tokens or keys, group / channel / member ids, message or prompt content, paths, hostnames, model names. Every event carries
$geoip_disable, and the PostHog project discards client IPs, so no IP is stored. - Frequency: once at start, then every 24 hours; failures are silent and never affect the bot.
- Inspect:
bun run jingmei telemetryprints the exact event that would be sent next. - Turn off: set
"telemetry": { "enabled": false }injingmei.config.json, or setDO_NOT_TRACK=1in the environment. - Wiring: while
POSTHOG_KEYinsrc/tools/telemetry.tsis empty nothing is sent; setup is in docs/deploy.md (Chinese).
