A modern, cross-platform driving license exam simulator for the official Albanian DPSHTRR driving test.
🏠 Dashboard
|
✍️ Exam Simulation
|
🗺️ Question Map
|
🔍 Zoomable Signs
|
📊 Exam Results
|
🚦 Signs Catalog
|
📝 Mistakes
|
📈 Statistics
|
⚙️ Preferences
|
ℹ️ Guidelines & Info
|
- 🇦🇱 Official DPSHTRR Question Bank: Comprehensive question database for Albanian driving licenses across multiple vehicle categories.
- 🚗 Multi-Category Support:
- Category A1, A2, B1, B: 40 questions, 40 minutes, maximum 4 errors allowed.
- Category C1, C: Commercial vehicle tests with tailored questions and limits.
- Category D1, D: Passenger transit and heavy transport license questionnaires.
- ⏱️ Realistic Exam Mode & Quick Tests: Full 40-question timed exams or 10-question Quick Tests (
Test i Shpejtë), real-time countdown timer, dynamic progress tracking, and authentic true/false question flow. - 🗺️ Interactive Question Map: Instant grid overview to navigate between answered, unanswered, and flagged questions at any point during the test.
- 🚦 Signs & Intersections Catalog: Searchable, filterable reference of traffic signs (warning, prohibitory & mandatory) and road intersections.
- 📝 Mistakes Notebook: Automatically tracks missed questions by license category so you can search, review, and practice weak areas.
- 🔍 High-Definition Sign Zooming: Pinch-to-zoom and pan support for inspecting complex road intersection diagrams, traffic police gestures, and road signs.
- 📊 In-Depth Performance Analytics:
- Exam readiness indicator (
Gatishmëria për Provim) based on recent performance. - Instant score breakdown with pass/fail evaluation upon exam completion.
- Question-by-question mistake review with correct answer verification.
- Historical exam logs, score trends, and progress tracking over time.
- Exam readiness indicator (
- 📴 100% Offline-First: No internet connection required during study or testing. All databases, media assets, and logic run entirely locally.
- 🎨 Material 3 Expressive & Glassmorphism: Fluid dark/light theme switching, Haze glassmorphic floating navigation bar, multi-language support, sound/haptics toggles, and responsive UI layouts.
MerrPatenten is architected using Kotlin Multiplatform (KMP) and Jetpack Compose Multiplatform (CMP) with clean modularization principles:
MerrPatenten
├── androidApp/ # Native Android application target
├── iosApp/ # iOS SwiftUI application target
├── desktopApp/ # Desktop JVM target with Compose Hot Reload & MCP
│
├── shared-ui/ # Shared Compose UI entry, NavHost & Koin bindings
│
├── shared-feature/ # Isolated feature modules
│ ├── dashboard/ # Category selection, readiness meter & navigation actions
│ ├── exam/ # Exam pager, question map, countdown & result sheets
│ ├── catalog/ # Searchable traffic signs & intersections catalog
│ ├── mistakes/ # Mistakes notebook & targeted practice flows
│ ├── statistics/ # Historical test analytics & performance tracking
│ ├── preferences/ # User preferences, themes, language, audio & app metadata
│ └── image-details/ # Zoomable gestures and traffic sign inspections
│
└── shared-core/ # Foundational domain & data modules
├── model/ # Domain models & entities (Question, ExamResult, Category)
├── database/ # Room KMP + SQLite Bundled schema & DAOs
├── datastore/ # Multiplatform DataStore for user settings
├── data/ # Repositories & data source implementations
├── navigation/ # Type-safe Navigation 3 routes & destinations
└── design-system/ # Material 3 theme, tokens, components & resources
| Layer / Concern | Technology |
|---|---|
| Language | Kotlin 2.5.0-RC (Multiplatform) |
| UI Toolkit | Compose Multiplatform 1.13 / Jetpack Compose |
| Design System | Compose Material 3 Expressive + Haze 2.1 Glassmorphism |
| Navigation | Jetpack Navigation 3 Multiplatform (androidx.navigation3 1.2) |
| Lifecycle & State | JetBrains Lifecycle & ViewModel Multiplatform (androidx.lifecycle 2.11) |
| Local Database | Room Multiplatform 2.8 + SQLite Bundled Driver |
| Key-Value Storage | AndroidX DataStore Multiplatform 1.3 |
| Dependency Injection | Koin 4.3 (Compiler Plugin + BOM + Compose) |
| Image Loading | Coil 3.6 (Multiplatform) |
| Hot Reload & Tooling | JetBrains Compose Hot Reload + Model Context Protocol (MCP) Server |
- JDK 17 or 21+ (e.g. JetBrains Runtime / OpenJDK / Azul Zulu)
- Android Studio Ladybug | Meerkat or IntelliJ IDEA with Kotlin & Compose Multiplatform plugins
- Android SDK (API 35+)
- Xcode 16+ (for building and running the iOS target on macOS)
# Run the desktop application
./gradlew :desktopApp:run
# Run with Compose Hot Reload enabled
./gradlew :desktopApp:hotRun# Build and install debug APK to connected device/emulator
./gradlew :androidApp:installDebugOpen iosApp/iosApp.xcworkspace in Xcode, select a simulator or physical iOS device, and press Run (Cmd + R).
This repository includes built-in support for the Model Context Protocol (MCP) via Compose Hot Reload:
# Launch the MCP server over stdio for AI agent pairing & live UI inspection
./gradlew --no-daemon --quiet --console=plain :desktopApp:hotMcpServerThe MCP server enables external agents and tools to:
- Inspect the live semantic tree (
get_semantic_tree) - Interact with UI elements (
click,scroll,type_text) - Check application health & reload state (
status,await_reload) - Capture live UI snapshots & screenshots (
take_screenshot)
Ky aplikacion nuk është i lidhur zyrtarisht me Drejtorinë e Përgjithshme të Shërbimeve të Transportit Rrugor (DPSHTRR). Pyetësorët dhe materialet shërbejnë ekskluzivisht për qëllime edukative dhe përgatitore.
This application is an educational and preparation tool based on public driving test curricula and is not officially affiliated with DPSHTRR.
Distributed under the MIT License. See LICENSE for more information.










