Offline, private, open-source wound-care AI for Morocco's disconnected clinics. VLM + segmentation, runs in-browser (WebGPU) or locally. By Jad Tounsi El Azzouzi.
See the codeOffline, private, open-source wound-care AI for healthcare in disconnected zones.
Built for nurses and clinics in isolated regions of Morocco (Merzouga, the High Atlas, the deep south) where there is no reliable internet and patient data must never leave the room.
Author: Jad Tounsi El Azzouzi · License: Apache-2.0 · For the Moroccan AI community 🇲🇦
A nurse photographs a wound or injury. SahhaAI, running 100% locally, will:
No cloud. No account. No data upload. Works on a plane, in the desert, in a power-cut clinic.
| Mode | Engine | Where | Use |
|---|---|---|---|
| Browser (WebGPU) | transformers.js + WebGPU | Any modern laptop/phone, in a browser tab | Zero install. Scan QR → app loads → models cached → unplug internet, keep working. |
| Local (MLX) | mlx-vlm | Apple Silicon Mac (M-series) | Faster, larger model, full power for the live demo. |
The same web app is hostable on Vercel and runnable straight from the link as a local PWA — open it once online, it caches everything, then runs with the network off.
mlx-community/Qwen2.5-VL-3B-Instruct-4bit — richer assessmentXenova/slimsam-77-uniform) — WebGPU# Browser / web app
cd SahhaAI
npm install
npm run dev # http://localhost:3000 — works offline after first load
# Local MLX (Apple Silicon)
cd mlx
pip install -r requirements.txt
python run_wound_vlm.py --image ../data/sample_wound.jpg --lang darija
python run_segmentation.py --image ../data/sample_wound.jpg
SahhaAI/
├── app/ Next.js web app (WebGPU, PWA, offline, 4 languages)
│ ├── lib/ in-browser inference (VLM + segmentation)
│ └── locales/ fr / ar / darija / en
├── mlx/ local Apple-Silicon inference (Python, mlx-vlm + LiteMedSAM)
├── deck/ Reveal.js pitch deck (open deck/index.html)
├── docs/ business model, deployment, model card, safety
├── scripts/ QR-code generator for the hosted link
└── data/ Moroccan materials reference + Darija glossary
SahhaAI is decision support, not a doctor. It assists trained health workers; it does not replace them. See docs/SAFETY.md. For life-threatening cases: stabilize and evacuate.
Apache-2.0 — free for everyone, forever. Built to be forked, improved, and deployed by anyone serving neglected communities.
— Jad Tounsi El Azzouzi
3 commits
TypeScript
40.7%
Python
36.2%
CSS
8.9%
HTML
8.9%
JavaScript
3.2%
Shell
2.0%
Offline, private, open-source wound-care AI for Morocco's disconnected clinics. VLM + segmentation, runs in-browser (WebGPU) or locally. By Jad Tounsi El Azzouzi.
See the codeOffline, private, open-source wound-care AI for healthcare in disconnected zones.
Built for nurses and clinics in isolated regions of Morocco (Merzouga, the High Atlas, the deep south) where there is no reliable internet and patient data must never leave the room.
Author: Jad Tounsi El Azzouzi · License: Apache-2.0 · For the Moroccan AI community 🇲🇦
A nurse photographs a wound or injury. SahhaAI, running 100% locally, will:
No cloud. No account. No data upload. Works on a plane, in the desert, in a power-cut clinic.
| Mode | Engine | Where | Use |
|---|---|---|---|
| Browser (WebGPU) | transformers.js + WebGPU | Any modern laptop/phone, in a browser tab | Zero install. Scan QR → app loads → models cached → unplug internet, keep working. |
| Local (MLX) | mlx-vlm | Apple Silicon Mac (M-series) | Faster, larger model, full power for the live demo. |
The same web app is hostable on Vercel and runnable straight from the link as a local PWA — open it once online, it caches everything, then runs with the network off.
mlx-community/Qwen2.5-VL-3B-Instruct-4bit — richer assessmentXenova/slimsam-77-uniform) — WebGPU# Browser / web app
cd SahhaAI
npm install
npm run dev # http://localhost:3000 — works offline after first load
# Local MLX (Apple Silicon)
cd mlx
pip install -r requirements.txt
python run_wound_vlm.py --image ../data/sample_wound.jpg --lang darija
python run_segmentation.py --image ../data/sample_wound.jpg
SahhaAI/
├── app/ Next.js web app (WebGPU, PWA, offline, 4 languages)
│ ├── lib/ in-browser inference (VLM + segmentation)
│ └── locales/ fr / ar / darija / en
├── mlx/ local Apple-Silicon inference (Python, mlx-vlm + LiteMedSAM)
├── deck/ Reveal.js pitch deck (open deck/index.html)
├── docs/ business model, deployment, model card, safety
├── scripts/ QR-code generator for the hosted link
└── data/ Moroccan materials reference + Darija glossary
SahhaAI is decision support, not a doctor. It assists trained health workers; it does not replace them. See docs/SAFETY.md. For life-threatening cases: stabilize and evacuate.
Apache-2.0 — free for everyone, forever. Built to be forked, improved, and deployed by anyone serving neglected communities.
— Jad Tounsi El Azzouzi
3 commits
TypeScript
40.7%
Python
36.2%
CSS
8.9%
HTML
8.9%
JavaScript
3.2%
Shell
2.0%