惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
U
Unit 42
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
Stack Overflow Blog
Stack Overflow Blog
爱范儿
爱范儿
博客园 - 司徒正美
Vercel News
Vercel News
I
InfoQ
GbyAI
GbyAI
C
Check Point Blog
B
Blog RSS Feed
Martin Fowler
Martin Fowler
B
Blog
MyScale Blog
MyScale Blog
腾讯CDC
博客园 - Franky
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 三生石上(FineUI控件)

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I Built a Free AI Business Manager for Street Vendors in ...
Abhinav Gupta · 2026-05-31 · via DEV Community

Abhinav Gupta

How I Built a Bilingual AI-Powered Business Manager for Street Vendors in Jamshedpur

The Problem

Walk through any street in Jamshedpur, Jharkhand, and you'll find hundreds of small shop owners and hawkers running their entire business from memory — stock levels, daily sales, employee wages, profit margins. They have no tools. Notebooks get lost. Mental math fails. And at the end of the day, most don't even know if they made a profit.

These vendors are not tech-illiterate. They have smartphones. They use WhatsApp. But every existing business app is either too complex, too expensive, or only available in English.

I wanted to solve that.


The Solution — Dukaan Manager

Dukaan Manager is a free, offline-capable Progressive Web App (PWA) and Android app built for small shop owners and street vendors in India. It runs entirely in the browser — no server, no subscription, no data charges beyond the initial load.

Built using HTML, CSS, JavaScript, and powered by the Gemini 2.0 Flash API, it gives every small vendor access to a smart business advisor in their pocket.


What It Does

📦 Stock Management

Vendors can add items by name or photo. Each item stores buying price, selling price, and quantity. The app automatically calculates profit margins and flags low-stock items with colour-coded alerts.

💰 Daily Sales Recording

Sales are recorded item by item, linked to which employee made the sale. The app auto-fills prices and calculates the total. Unsaved drafts survive accidental page refreshes using sessionStorage.

👥 Employee Tracking

Add employees with their role, salary, phone number, and joining date. Mark daily attendance (present/absent) with one tap. Track total sales made by each employee across all time.

📅 Sales History

Every saved sale is stored permanently in the browser's localStorage. History is grouped by date, collapsible, and shows daily revenue and profit — clean and simple.

🤖 AI Business Advisor (Gemini-Powered)

This is where Google AI comes in. Using the Gemini 2.0 Flash API, vendors can ask natural language questions about their business:

  • "Which item gives me the most profit?"
  • "What should I restock tomorrow?"
  • "Are my prices competitive?"
  • "Which employee sold the most this week?"

Gemini receives the full context — stock data, today's sales, employee info, and the last 7 days of history — and responds with practical, concise advice tailored to that specific vendor's shop.

🌐 Hindi + English Toggle

With one tap, the entire app switches between English and Hindi (Devanagari script). Gemini also responds in whichever language the vendor prefers. This was a critical feature — most vendors in Jharkhand are far more comfortable in Hindi.


The Local Problem It Solves

In Jamshedpur and across Tier 2 and Tier 3 India, small vendors face three core problems:

  1. No visibility — they don't know their profit until much later, if ever
  2. No tools — existing apps are designed for larger businesses
  3. Language barrier — English-only apps exclude most of the target users

Dukaan Manager addresses all three. It's free, it works offline, it speaks Hindi, and it puts an AI advisor — powered by Google Gemini — in the hands of someone who has never had access to business intelligence before.


Tech Stack

Layer Technology
Frontend HTML5, CSS3, Vanilla JavaScript
AI Gemini 2.0 Flash API
Storage localStorage + sessionStorage
Distribution PWA (browser) + Android APK via WebIntoApp
Languages English + Hindi (Devanagari)

No backend. No database. No cost to run. Just a single HTML file that works anywhere.


What I Learned

Building with the Gemini API was surprisingly powerful. By passing structured business context — stock, sales, employees — into each prompt, I could turn a general-purpose model into a shop-specific advisor. The responses were practical, local, and genuinely useful.

The biggest challenge was making the app robust for real-world use: preventing data loss, handling float arithmetic correctly, protecting against XSS, and making sure the app felt native on a ₹8,000 Android phone.


Impact

Every small vendor who uses Dukaan Manager gets:

  • Real-time profit visibility
  • Stock alerts before they run out
  • A bilingual AI advisor — something previously available only to large businesses
  • Zero cost, zero data plan required after install

This is what Google AI for everyone looks like.


Try It

The app is a single HTML file — open it in any browser and it works instantly.

Built with: Gemini 2.0 Flash API · HTML/CSS/JS · localStorage · PWA

By: A builder from Jamshedpur, Jharkhand, India 🇮🇳


Built as part of Google's Meet the Builders — Gen AI Academy APAC Edition