BHV: A Single-Command Beehive Alternative #62
Replies: 5 comments 2 replies
-
|
@kunal-595 good work. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @pradeeban Screen.Recording.2026-01-30.033234.1.1.mp4following up on the earlier discussion i have now implmented and documented the parts we aligned on:
All of this is kept intentionally minimal and written as architecture notes. Wanted to check if this direction and level of detail is ok from your side so far? Before moving further, i wanted to ask would it be ok if i share my proposal draft dirctly with you for feedback? let me know what you would prefer. |
Beta Was this translation helpful? Give feedback.
-
|
thanks, that works for me. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @pradeeban , |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@pradeeban , please have a look , thank you
BHV: A Simpler Beehive for GSoC 2026
Category: Show and Tell
Live Demo - https://bhv-prototype-v2.vercel.app/
Why I Built This
Beehive was ambitious and powerful, but the complexity made it hard for small clinics to adopt. I want to honor the original goals while simplifying the execution.
So I built BHV (Behavioral Health Vault) — a ground-up rewrite focused on one thing: making it actually deployable by real clinics.
The Project Requirements & How BHV Tackles Them
1. Single Command Deployment
The Requirement: Clinics need software they can run without a DevOps team.
How BHV Solves It:
git clone https://github.com/kunal-595/bhv-prototype-v2.git cd bhv-prototype-v2 docker-compose up -dThat's it. Flask, MongoDB, networking — everything boots together. No manual database setup, no service orchestration, no configuration files to edit.
2. Simple, Human-Readable Code
The Requirement: Future maintainers should understand the codebase in hours, not weeks.
How BHV Solves It:
No framework magic. No abstract factories wrapping factories. A junior developer can read this and know exactly what's happening. The entire codebase is ~15 files of explicit Python.
3. Works Offline (Air-Gapped Clinics)
The Requirement: Rural and secure clinics often have unreliable or no internet.
How BHV Solves It:
Local mode stores images in
./data/with a self-describingmanifest.json. Even if the database crashes, patient data is recoverable from the filesystem alone.4. No Cloud Expertise Required
The Requirement: Clinics don't have AWS/Azure specialists on staff.
How BHV Solves It: We use GitHub private repositories as the storage backend.
Why GitHub? Because every clinic already has someone with a GitHub account. We get cloud backup and version history without teaching anyone about S3 buckets or IAM roles.
5. Privacy-First Architecture
The Requirement: Health data needs proper isolation and integrity checks.
How BHV Solves It:
Why This Could Replace Beehive
docker-compose upBHV isn't trying to be clever. It's trying to be deployable by someone with Docker installed and 20 minutes.
Current Progress (60 of 350 hours)
Try It
Looking for Feedback
Two specific questions:
GitHub Storage — Any concerns with using GitHub API for 2-5MB image files? Rate limiting experiences?
Offline Sync — When a user uploads offline then connects later, should we do last-write-wins or create conflict copies?
Thanks for reading. Happy to answer any questions.
— Kunal
Beta Was this translation helpful? Give feedback.
All reactions