Repository navigation
Releases
v0.2.0
🚀 Telesense v0.2.0 — Mobile-First Expansion
Bringing Telesense to mobile experiences with full touch event support, improved tooling, and streamlined CI/CD infrastructure.
✨ What's New
- Touch Event Tracking — Complete support for
touchstart,touchmove, andtouchendevents on mobile and tablet devices - Multi-touch Awareness — Capture simultaneous touch points and identify pinch, swipe, and multi-finger interactions
- Gesture Coordinates — Track precise touch coordinates including
clientX,clientY,screenX, andscreenYfor heatmap accuracy
🛠️ Infrastructure & Tooling
- Workflow Refactoring — Reorganized CI/CD structure for better maintainability and faster feedback loops
- Enhanced Node.js Support — Updated build and test environments to support modern Node.js versions
- Repository Cleanup — Simplified project structure and updated
.gitignorefor cleaner distributions - Improved Linting — Added ESLint configuration for consistent code quality across the SDK
🔧 Developer Experience
- Better Package Lock Management — Refined dependency resolution for more reliable installs
- CI Test Suite — New
test:ciscript for optimized GitHub Actions workflows - Demo Improvements — Fixed path resolution in demo scripts for easier local testing
📦 Bundle Size
Telesense v0.2.0 remains lightweight at <20 kB minified, with no increase in core footprint despite new mobile capabilities.
Ready to track mobile behavior? → Get started
v0.1.1
🔧 Telesense v0.1.1 — Security & Quality Improvements
A focused release with improved randomization, better CI/CD security, and demo fixes.
🔐 Security
- Enhanced session ID generation with cryptographic randomness (Web Crypto, Node.js fallback)
- Added CodeQL static analysis to workflow
- Applied principle of least privilege to GitHub Actions permissions
🐛 Bug Fixes & Polish
- Fixed demo script path resolution
- Added proper
background-clipCSS fallback for gradient text rendering - Improved license headers in distribution builds
🛠️ Tooling
- Updated GitHub Actions workflows with security best practices
- Refined package lock for better dependency management
Ready to add telemetry to your app? → Get started
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