Skip to content

Shardlens

Product analytics and bot health for discord.js, self-hosted in one command. No privileged intents. User IDs never leave your bot.

Three lines in your bot

createShardlens(client, { endpoint, apiKey }). Works with the Guilds intent alone, on discord.js 14.12 or later and 15.

Private by construction

User IDs are hashed inside your bot with a salt that rotates and is then destroyed. Message content is never collected.

Bot health nobody else shows

Response times against the 3-second deadline, REST latency by route, 429s, the invalid-request budget and shard health.

Yours, self-hosted

docker compose up gives you the collector, PostgreSQL and the dashboard behind HTTPS. MIT-licensed.

The Shardlens overview page with fictional demo data: live tiles, servers, unique users and runs over 30 days