Skip to content

hi-manshu/tracey

Repository files navigation

Tracey

Tracey

Kotlin Multiplatform SDK for recording gestures, screen views, breadcrumbs,
and crashes — then replaying them as a timeline on Android and iOS.

Maven Central License KMP Buy Me a Coffee



What Tracey does

👆 Gesture recording Captures clicks, scrolls, swipes, long presses, and pinches with zero instrumentation
🗺️ Screen views Tracks every navigation event automatically via tracey-navigation or manually
🍞 Breadcrumbs Log arbitrary events from anywhere — cart updates, API errors, feature flags
💥 Crash replay Snapshots the event ring-buffer on crash and replays it on next launch
🔒 Privacy masking Mark sensitive composables — they render normally but are blacked out in captures
🔌 Custom reporters Route captured sessions to Logcat, Crashlytics, Sentry, Slack, or your own backend

1773644484947374.mp4

---

Quick start

// 1. Add the dependency
commonMain.dependencies {
    implementation("com.himanshoe:tracey:<version>")
}

// 2. Install once in Application.onCreate() or iOS entry point
Tracey.install(TraceyConfig(reporters = listOf(LogcatReporter())))

// 3. Wrap your root composable
setContent {
    TraceyHost(traceyConfig = rememberTraceyConfig(reporters = listOf(LogcatReporter()))) {
        MyApp()
    }
}

Documentation


License

Copyright 2026 Himanshu Singh

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Made with ❤️ by Himanshu Singh

About

A flight recorder for your Compose app — catch every interaction before the crash.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages