July 08, 2025 by Pushpanathan.J (Kannan), ASHWINI Gudalur
In this blog, Kannan from ASHWINI Gudalur shares how their team solved the challenge of delivering offline health videos in remote areas using Avni and a Progressive Web App. A hands-on story of innovation, field realities, and building scalable tech for impact.
In our ongoing efforts to make community health outreach more effective, we recently faced a very real challenge on the ground: how do we make educational content available offline to our Health Animators (HAs), especially in places where the internet is not available?
This is the story of how we struggled, hacked, failed, and eventually triumphed—with the help of Avni, a local server, some bugs, and a sprinkle of Progressive Web App magic.
We use Avni for our community data collection, and it's been instrumental for our Health Animators in the field. But we had a new requirement.
Let’s say a Health Animator wants to explain breastfeeding techniques to an ANC mother in a remote village. How do they show a video or a visual aid without the internet?
We needed a way to:
The idea? Embed context-specific video links inside the Avni documentation feature.
Our first idea was a bit unconventional, but surprisingly, it almost did the trick.
We thought: what if we host a local web server directly on the mobile device? That way, all our videos and HTML content could live right there, offline. Then, from Avni, we could redirect to a local web address.
We used a simple tool like Simple HTTP Server PLUS to host the content. And boom—when we opened it in the mobile browser, it worked like a charm. Videos played, pages loaded. It looked like we cracked it!
But... Avni said, "Domain undefined."
This was when the real adventure began.
Avni kept throwing errors like:
We took the issue to the Avni team, and the response was heartening. People jumped in with suggestions, helped us investigate, and worked toward resolving the issue.
We learned that:
localhost
or non-HTTPS links easily.Frustrating. Promising idea, half-baked execution.
That’s when Vinay from the Avni team suggested a better approach: why not use a Progressive Web App?
Here’s what made it the perfect fit:
It was like turning a clunky diesel tractor into an electric scooter.
Now, our Health Animators just:
We’re able to update content without touching every device. Life is good.
What started as a simple idea to serve offline videos turned into a lesson in web architecture, mobile security, and human perseverance.
From “domain not defined” to context-rich health education at the fingertips of our HAs—this was a journey worth documenting.
And the best part?
Next time someone in the team asks,
“Can we show a video offline?”
We’ll just smile and say,
“Already done.”
Tags