Skip to main content
Safdar.
HomeAboutProjectsBlogContact
Resume
Safdar.

AI Engineer & Full Stack Developer building intelligent systems.

Quick Links

  • Home
  • About
  • Projects
  • Blog
  • Contact
  • Privacy Policy

Connect

safdarayub@gmail.com

Kohat District, KP, Pakistan

© 2026 Safdar Ayub. All rights reserved.RSS Feed
  1. Home
  2. Projects
  3. BusBot Pakistan
Back to Projects
Platinum TierAI Applications

BusBot Pakistan — Urdu Voice Bus Route Finder

Pakistan's first AI-powered public bus guide — speak in Urdu, get your route. Built for Google AI Seekho 2026 competition, covering Lahore, Karachi, and Islamabad with community-driven route data.

Last updated April 2026

View on GitHubLive Site

Overview

Pakistan's first AI-powered public bus guide. Millions of daily commuters in Lahore, Karachi, and Islamabad rely on buses with no reliable digital map — route information is shared by word of mouth, and most apps are English-only. BusBot Pakistan solves this by letting users speak their origin and destination in Urdu and receive a conversational route response in the same language.

Built in one day for the AI Seekho 2026 competition (Google + Government of Pakistan, App Banao track) using Google AI Studio Vibe Coding. Deployed on Google Cloud Run with a fully RTL Urdu interface and Pakistan Green theme.

How It Works

StepWhat Happens
1. InputUser speaks or types a route query in Urdu (e.g. “Johar Town se Liberty kaise jaun?”)
2. VoiceWeb Speech API transcribes Urdu speech to text natively in Chrome/Android
3. AI ProcessingGemini 3 Flash Preview receives query + city context + pre-seeded route database
4. ReasoningAI identifies origin/destination, matches stops, and formats a friendly Urdu reply
5. OutputBus number, boarding/alighting stops, estimated fare, and travel time — in conversational Urdu

Key Features

  • Urdu Voice Input: Tap the mic and speak — Web Speech API handles transcription natively
  • Multi-City Support: Lahore, Karachi, and Islamabad with pre-seeded route data
  • Community Driven: Logged-in users can add new routes to help fellow commuters (Firebase Google Sign-In)
  • Smart Caching: LocalStorage caching of results for lightning-fast repeated queries
  • Automatic Retry Logic: Multi-stage retries with backoff to handle platform spikes
  • One-Tap Sharing: Share routes via WhatsApp/social on mobile, copy to clipboard on desktop
  • RTL Urdu Interface: Fully right-to-left layout with Pakistan Green theme
  • Persistent Preferences: Remembers your last selected city via LocalStorage

Route Database

CityPre-seeded Routes
LahoreBus 27, 5, 12, 8, 3
KarachiW11, 3A, 4K, K-11, N-3
IslamabadTerminal 1, Feeder 3, Metro Feeder

Competition Context

Built for AI Seekho 2026 — a national AI competition organized by Google and the Government of Pakistan under the App Banao (Build an App) track. The project was built entirely in one day using Google AI Studio's Vibe Coding workflow, demonstrating how AI tools can enable rapid development of high-utility civic applications.

Tech Stack
ReactGemini 3 FlashFirebase FirestoreWeb Speech APIGoogle Cloud RunTailwind CSSFramer Motion

Interested in similar work?

I build AI agents, full-stack applications, and cloud-native systems. Let's discuss your next project.

Get in Touch

Other Projects

Personal AI Employee screenshot
Platinum TierAI Agents
Personal AI Employee

A 24/7 autonomous AI agent that monitors Gmail, WhatsApp, and filesystem — drafts responses on a cloud VM while you're offline, then executes with your approval when you reconnect.

PythonFastMCPClaude CodeGmail OAuth2Playwright
View DetailsGitHub
AI/ML Job Market Intelligence Pipeline screenshot
ML Pipelines
AI/ML Job Market Intelligence Pipeline

End-to-end ML pipeline that scrapes RemoteOK, clusters jobs with K-Means + TF-IDF, classifies seniority across 3 models, generates LLM market insights via Groq LLaMA 3.3 70B, and pushes automated reports to Google Sheets — all from one API call.

Pythonscikit-learnFastAPIPostgreSQLGroq API
View DetailsGitHub
AHF Auto Parts screenshot
Platinum TierFull Stack
AHF Auto Parts

Production-grade e-commerce platform for a Japan-based auto parts business — vehicle compatibility lookup, Stripe checkout, admin dashboard, and full order management.

Next.jsTypeScriptPostgreSQLPrismaNextAuth.js
View DetailsGitHub