TextAndDrive is an Android app for voice-based messaging while driving or multitasking. It integrates with Beeper on-device to let you speak commands to send texts across apps like WhatsApp and iMessage, with incoming messages read aloud. Powered by AI with Marvin's sarcastic personality from The Hitchhiker's Guide to the Galaxy, it processes natural voice inputs securely with a private LLM and with few tweaks can be made zero trust private.
Built for the Junction 2025 AI Agent Hackathon.
final.webm
You can download the compiled APK directly from this repository:
- Direct (raw) file: https://raw.githubusercontent.com/ahtavarasmus/TextAndDrive/main/marvin.apk
- Verified SHA256:
13c367fb165a719c8c369493a6f57a1484046ffc5969a0d8d7911665cd0f0b1a - File size: 16,135,317 bytes
- Record: Press and hold anywhere on the screen to capture voice via microphone.
- Process: Release to transcribe (Tinfoil STT), analyze intent (Tinfoil LLM with Beeper tools), and act (e.g., send message).
- Respond: Wait for TTS confirmation or message readout.
Demo mode uses mock chats; real mode accesses your Beeper data.
- Android 8.0+ device with Beeper installed (same device required).
- ElevenLabs and Tinfoil API keys.
- Android Studio or Gradle for building.
- Clone:
git clone https://github.com/ahtavarasmus/TextAndDrive.git && cd TextAndDrive - Connect device (USB Debugging on).
- Add keys to
local.properties:ELEVENLABS_API_KEY=your_key TINFOIL_API_KEY=your_key - Build:
./gradlew installDebug(CLI) or Run in Android Studio.
- Launch and choose Demo (no Beeper) or Real mode.
- Grant permissions: Beeper read/send, microphone (and notifications on Android 13+).
- Interact: Hold screen to speak (e.g., "Send message to Mom on whatsapp that I'm running late"), release, and listen for response.
- "Read chats from Rasmus on discord".
- Voice Pipeline: Tinfoil STT for input; ElevenLabs TTS for output.
- Smart Actions: AI fetches/sends chats/messages via Beeper; supports queries like "What's new from Ford?"
- Modes: Demo (Marvin's chats mock data) vs. Real (your chats).
- Privacy: On-device Beeper access (use Beeper's on-device chats for full e2ee); Transcription and LLM processing happen without third party. For full verifiability, add Tinfoil TTS + pre-call verifier (for zero trust privacy).
- Safety: Hands-free only—test safely, obey laws. Only recommended to be used while driving cars inside video games.
Apache 2.0 Licensed. Questions? Issues.


