SarvaMitra
Everyone's companion.
Created on 22nd June 2025
•
SarvaMitra
Everyone's companion.
The problem SarvaMitra solves
Despite advancements in AI and accessibility tools, individuals with visual or hearing impairments still face significant barriers in interacting with digital content—especially across dynamic, image-rich, or multi-language websites. There is a critical need for real-time, intelligent, and multimodal assistance that can read, translate, and describe digital environments in a way that feels natural and empowering.
SarvaMitra is an AI-powered assistive agent built for individuals with visual impairments, making websites more accessible using intelligent voice, text, and image understanding. It can be operated entirely without mouse or vision(once you get the hang of the shortcut
s).
Challenges I ran into
-
DOM Chunking Complexity
Extracting meaningful content blocks is non-trivial.
Parent/ancestor nodes often duplicate inner text. Leaf-node filtering and excluding nodes with less than 20characters was essential.

As you can see, multiple chunks contain the same text, each chunk is a child of the previous. -
Incomplete Text-to-Speech Coverage
Some long or complex text nodes weren’t being fully read aloud. Divided the text into batches and tried to piece it together. -
Chrome Extension Permission Management
Required mic access, clipboard access, and custom keybindings, it was hard to get the exact code for this, had to go through google docs, developer forums, stack overflow, then found some old reddit post which had the key to this. -
Image Filtering
Not all images are relevant. needed to exclude images of less size, since they could be icons, logos, etc. Also filtered out all invisible links. -
Image processing
Built background processing with image deduplication and caching for faster VLM results. Ran all images of the website as a asynchronous Background Task in FastAPI, allowing this to be non-blocking such that other APIs can be responded to in normal time -
Asynchronous Backend Coordination
Ensuring image descriptions are ready without delaying the UI required custom background queues and preloading logic. I wanted to send the image descriptions back to the frontend, so that I could display on hovering, but couldnt figure out right method (either chrome messages or websockets)
Progress made before hackathon
I did not write a single line of code before the hackathon. I spent 2 hours after the hackathon started, to ideate. I have taken inspiration of the backend structure from my previous projects. I have created this repository after the start of the hackathon and vibecoded the entire frontend part.
Tracks Applied (1)
Sarvam AI Track
Sarvam.ai
Technologies used