Skip to content

A premium, mobile-first shopping assistant for Bangladesh. Features real-time commodity prices via official DAM synchronization, smart bilingual shopping lists with voice input, historical price trends, and intelligent budgeting tools. Built with Next.js, Capacitor, and TypeScript.

License

Notifications You must be signed in to change notification settings

ABiR994/Bazaar-Dor

Repository files navigation

Bazaar Dor (বাজার দর) 🛒

Bazaar Dor Logo

A premium, mobile-first "Shopping Helper" empowering consumers in Bangladesh with real-time market data and smart budgeting tools.

Next.js TypeScript Tailwind CSS Capacitor PWA


✨ Features

  • Live Market Monitoring
    Synchronized daily with official data from the Department of Agricultural Marketing (DAM). No more guessing prices.

  • Bilingual & Natural
    Full localization (BN/EN) with context-aware Bengali translations that feel native, including support for Bengali numerals (০-৯).

  • Visual Price Trends
    Interactive 7-day historical charts for every commodity, powered by Recharts, helping you identify the best time to buy.

  • Smart Shopping List
    A dedicated "Todo" system with Voice Input support (e.g., "২ কেজি চাল") and professional text export for WhatsApp/SMS.

  • Intelligent Budgeting
    Set your total budget and track spending in real-time. The progress bar shifts from Green to Red as you reach your limit.

  • Voice Search & Accessibility
    Hands-free product searching with bilingual speech recognition and haptic feedback for a premium tactile experience.

  • Technical Excellence
    Full offline reliability via Service Workers, persistent local storage, and automatic high-resolution asset generation for Android.


🚀 Tech Stack

Layer Technology
Framework Next.js 15+ (App Router)
Language TypeScript
Mobile Core Capacitor (Android/iOS)
Styling Tailwind CSS
Data Visualization Recharts
Icons Lucide React
Offline/PWA next-pwa + Workbox
Automation Python (Live Data Scraping)
CI/CD GitHub Actions (Automated APK)

🛠️ Installation & Setup

  1. Clone the repository:

    git clone https://github.com/ABiR994/Bazaar-Dor.git
    cd Bazaar-Dor
  2. Install dependencies:

    npm install
  3. Configure Environment:

    cp .env.example .env
  4. Synchronize Live Data: The app uses a Python script to fetch official prices.

    python3 scripts/update_prices.py
  5. Run Development Server:

    npm run dev

    Visit http://localhost:3000 to view the market feed.


📱 Mobile Build & APK

The project is pre-configured for automated Android builds.

  • Automatic Build: Every push to main triggers a GitHub Action that generates a fresh APK. Download it from the Actions tab.
  • Manual Asset Generation: To ensure pixel-perfect icons:
    npm run assets:generate
  • Local Native Build:
    npm run mobile:build
    npx cap open android

🔒 Privacy & Security

Bazaar Dor is designed with Privacy by Design:

  • Zero Tracking: No user data is ever sent to external servers.
  • Local Processing: Your shopping lists and favorites stay on your device.
  • Secure Backups: Encrypted JSON backups can be shared via the system share sheet.

🤖 Built With

This application was architected and developed using OpenCode and Antigravity, leveraging advanced agentic coding workflows to ensure clean architecture, reliable data scraping, and a professional-grade mobile experience.

"Empowering citizens through transparent data and smart tools."


📜 License

Distributed under the MIT License.


🛒 Market transparency for everyone.

About

A premium, mobile-first shopping assistant for Bangladesh. Features real-time commodity prices via official DAM synchronization, smart bilingual shopping lists with voice input, historical price trends, and intelligent budgeting tools. Built with Next.js, Capacitor, and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published