慣性聚合 高效追蹤和閱讀你感興趣的部落格、新聞、科技資訊
閱讀原文 在慣性聚合中打開

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

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 Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
Health Connect + Gemma = HealthOps
Chijioke Osa · 2026-05-24 · via DEV Community

這是一份提交給Gemma 4挑戰的參賽作品:用Gemma 4

你的家人每天都產生健康數據。步數、睡眠、心率、血氧,默默地、持續地。但當發生事情時,沒有人有任何預警。作為一名學生醫生,我經常看到同樣的情況:手機裡堆滿健康數據的家庭,直到他們已經坐在診間裡,才有人連接起這些點。

我所建立的

HealthOps 是一個為同居一家所設計的私人健康智慧系統。
您的 Android 手機已經是一台功能強大的健康物聯網設備。透過 Android HealthConnect,它持續從所有安裝的健康和健身應用程式、步數、睡眠階段、靜息心率、血氧量等數據中匯聚,整合成一個單一的本地 API。HealthOps 連接到這個 API,每 15 分鐘掃描每位家人的手機,透過本地 Wi-Fi 同步變更記錄到家庭伺服器,並為每個人建立一個時間序列的健康圖像。Gemma 4 然後將這些原始信號轉換為結構化的觀察結果和全家都能實際使用的平鋪直敘敘述。
所有東西都留在房子裡,你可以在10分鐘內開始.

演示

GitHub Release — 下載APK
Docker Image

代碼

GitHub Repository

測試說明

在伺服器上(你家庭WiFi中的任何電腦):

確保已安裝 Docker,然後為您的作業系統執行下方腳本。它將自動啟動所有內容.

Mac / Linux:

curl -fsSL https://raw.githubusercontent.com/CijeTheCreator/healthops/main/run.sh -o /tmp/run.sh && bash /tmp/run.sh

進入全螢幕模式 離開全螢幕模式

Windows (PowerShell):

irm https://raw.githubusercontent.com/CijeTheCreator/healthops/main/run.ps1 -OutFile "$env:TEMP\run.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\run.ps1"

進入全螢幕模式 離開全螢幕模式

啟動時,會詢問您是否想要完全私有的本地模式,或是有 Gemini API 金鑰。啟動後,您需要的伺服器地址將會印在終端機上。您的應用程式將可從您網路上的任何裝置存取.

在每部 Android 手機上:

安裝 APK. 打開它並填寫三件事:你的名字、你的WiFi網絡名稱,以及終端中打印的伺服器地址。就這樣,手機將自動開始同步.

為每位家人重複手機設定.

我如何使用Gemma 4

HealthOps完全在Gemma 4上運行,在本地家庭伺服器上,該流程有兩個階段:

1. 信號處理
原始健康連接記錄以每部手機的增量推送形式到達。Gemma 將它們轉換為形態為 {signal, observation, time} 的結構化觀察,解讀過去 30 個健康指標的滾動窗口中的模式,而不是將每條記錄獨立處理.

2. Q&A 代理
任何家庭成員都可以在指定時間窗內就健康數據提出自然語言問題:「爸爸的靜息心率這個月有怎樣的趨勢?」「這個星期有人睡得不好嗎?」 Gemma 會為任何成員跨過整個時間序列進行推理。

3. 每週摘要
每週,一份報告代理會為每位家人編寫一份簡潔的健康敘述。

為何是 Gemma 4 特別地

HealthOps 根據您的設定使用兩種模型配置。
在完全私密模式下,它運行 Gemma 4 E4B。它在基本上任何3-4年内製造的筆記型電腦上都能運行,速度快到足以實時響應,輕量到足以安靜地與您的其他應用程式並行運行。對於大多數家庭來說,這就是他們所需要的。
如果您選擇使用Gemma API金鑰,HealthOps將提升至Gemma 4 27B A4B。由於我們不再受本地硬體限制的束縛,我們可以擁有一個顯著更大的模型,這在每週摘要和Q&A代理的品質上都有所體現.

硬體

M1 Pro MacBook Pro (Server)
Google Pixel 10 Pro XL(模擬器)