How kenhtaymay/tinhtinh works
Project type and purpose
• This is an Android mobile application called “tinhtinh” that listens for incoming bank notifications, parses out transaction details (amount, date/time, description), and provides a custom user experience (e.g., visual confetti effects via the Konfetti libraries and presumably audio alerts).
• The README confirms it hooks into Android’s notification system (requires notification-read permission) and uses a regex in NotificationListener.kt to extract transaction data from MBBank messages.
File structure
• Top level:
• settings.gradle.kts & gradle/ wrapper: multi-module Gradle project
• app/: the primary Android application module
– src/main: UI (MainActivity), BroadcastReceivers (BootReceiver, NotificationListener), resources (layouts, drawables, raw MP3, XML rules)
– build.gradle.kts: module config
• app/konfetti: three library submodules under the app directory
– core/: business-logic/data structures for confetti (Particle, PartySystem, emitter configs) plus unit tests
– xml/: Android-View-based Konfetti integration
– compose/: Jetpack Compose–based Konfetti integration
• gradle/libs.versions.toml: dependency versions
• Patterns:
• Multi-module structure (app + three reusable libraries)
• Separation of concerns: core library for confetti business logic; two UI adapters (XML and Compose).
Key README insights
• Describes how to change the message-parsing pattern in NotificationListener.kt
Final advice
• Every module and resource as a separate component
• Review the end-to-end flow: from device boot → service registration → notification receipt → data extraction → UI update → confetti animation → optional audio alert