Repository navigation
v0.1.0
π Telesense v0.1.0 β First Release
Lightweight behavioral telemetry for everyone.
We're thrilled to ship the first stable release of Telesense β a zero-dependency, self-hosted analytics SDK that fits in your application like it was always meant to be there.
β¨ What's included
- One script tag to get started β no build tooling, no setup ceremony
- Automatic behavior capture β clicks, scrolls, keypresses, mouse movement, visibility changes, and window resizing, all out of the box
- Custom events β track your own domain-specific actions with a clean API
- Smart security β sensitive input fields are auto-masked to protect user privacy
- Multiple transport options β send telemetry to your backend, Supabase, or localStorage
- Full TypeScript support β types ship with the package
- Ultra-lightweight β only 7.4 kB minified
- 100% open source β MIT licensed and self-hostable
π¦ How to use
Script tag (instant setup):
<script src="https://cdn.jsdelivr.net/npm/telesense/dist/tele.umd.min.js"></script>
<script>
tele.on('click', ev => console.log(`Click at ${ev.x}, ${ev.y}`));
</script>npm (for bundlers):
npm install telesenseimport tele from 'telesense';
tele.config({ endpoint: '/telemetry' });
tele.track('user_signup', { plan: 'pro' });π― Why Telesense?
Competing tools are bloated (60β120 kB), vendor-locked, and require third-party servers. Telesense is different:
| Feature | Telesense | Heap | Mixpanel | Hotjar |
|---|---|---|---|---|
| Self-hosted | β | β | β | β |
| Zero dependencies | β | β | β | β |
| Bundle size | 7.4 kB | ~120 kB | ~80 kB | ~60 kB |
| Custom transport | β | β | β | β |
| TypeScript ready | β | partial | partial | β |
| Open source | β | β | β | β |
π Resources
- Live demo β see it in action
- Full documentation β all APIs and examples
- Getting started guide β 2-minute setup
Ready to add telemetry to your app? β Get started