메뉴
HN
Hacker News 16일 전

오픈소스 AI 당뇨 관리 플랫폼: GlycemicGPT

IMP
6/10
핵심 요약

해커뉴스에 당뇨병 환자를 위한 오픈소스 AI 기반 당뇨 관리 플랫폼인 'GlycemicGPT'가 소개되었습니다. 이 플랫폼은 사용자의 연속혈당측정기(CGM) 및 인슐린 펌프와 직접 연동하여 실시간 모니터링, 식단 분석, 패턴 인식 등의 기능을 제공합니다. 사용자가 직접 호스팅하는 셀프 호스팅(Self-hosted) 방식과 자체 AI 키(BYOAI)를 사용하는 구조를 채택하여 의료 데이터의 보안과 프라이버시를 강화한 것이 특징입니다.

번역된 본문

GlycemicGPT: AI 기반 분석을 핵심으로 하는 오픈소스 당뇨 플랫폼. 누구도 당뇨병을 혼자서 관리해서는 안 되기 때문입니다.

[중요한 안전 경고] 이 소프트웨어는 내분비학자나 의료진을 대체하기 위해 설계되지 않았습니다. GlycemicGPT는 AI가 생성한 제안만을 제공하며, 전문적인 의료 서비스와 함께 보조 도구로만 사용되어야 합니다.

알파 소프트웨어 -- 이 프로젝트는 현재 활발히 개발 중입니다. 작동이 가능하며 개발자가 매일 사용하고 있지만, 광범위한 테스트를 거치지 않았습니다. 본인 책임하에 사용하고 항상 담당 의료진과 상담하십시오.

개요 GlycemicGPT는 AI 기반 분석을 기반으로 구축된 오픈소스 당뇨 플랫폼입니다. 실시간 모니터링, 일일 AI 브리핑, 패턴 감지, 대화형 AI 채팅 및 보호자 경고 기능을 통해 CGM(연속혈당측정기) 및 인슐린 펌프에 직접 연결되어 완벽한 독립 실행형 환경을 제공합니다.

이미 Nightscout을 사용 중이신가요? GlycemicGPT는 기존 인스턴스에서 데이터를 가져와 현재 설정의 변경 없이 AI 분석을 추가할 수 있습니다. 다른 도구와의 관계 페이지에서 정직한 비교를 확인하세요.

현재 지원되는 기기:

  • Dexcom G7 (CGM / 클라우드 API / 검증 완료)
  • Tandem t:slim X2 (인슐린 펌프 / BLE(직접) + 클라우드 API / 검증 완료)
  • Tandem Mobi (인슐린 펌프 / BLE(직접) + 클라우드 API / 프로토콜 호환 - 참고 사항 확인)

Tandem Mobi 참고: Mobi는 t:slim X2와 동일한 BLE 프로토콜, 인증 및 데이터 형식을 사용합니다. 당사의 Tandem 플러그인은 두 모델 모두에서 데이터를 읽지만, Mobi 지원은 실제 하드웨어에 대해 검증되지 않았습니다. 프로토콜 호환성이 테스트되지 않은 기기에서의 올바른 작동을 보장하지는 않습니다. Mobi 하드웨어와의 사용은 전적으로 본인의 위험 부담입니다. 자세한 책임 조항은 MEDICAL-DISCLAIMER.md를 참조하세요. Mobi를 소유하고 있고 데이터 읽기 검증을 도울 수 있다면 이슈를 열어주세요.

추가 펌프 및 CGM에서 데이터를 읽는 기능에 대한 지원이 계획 중입니다. 모바일 앱은 커뮤니티 기기 데이터 드라이버를 위한 기능 기반 플러그인 아키텍처를 사용합니다. 기기에 대한 데이터 읽기 지원을 추가하고 싶다면 CONTRIBUTING.md를 참조하세요. 오늘날 기기가 지원되지 않는 경우, 권장되는 방법은 예정된 Nightscout 통합입니다. 이 기능이 구현되면 Nightscout으로 들어가는 모든 데이터가 GlycemicGPT로 들어갑니다.

주요 기능:

  • AI 기반 일일 브리핑, 식단 분석 및 패턴 인식 (BYOAI — 본인의 AI 키 사용)
  • 임상 당뇨 지식 기반을 기반으로 한 대화형 AI 채팅
  • 보호자 에스컬레이션 및 다중 채널 전달(Telegram, 푸시, 인앱)이 포함된 구성 가능한 알림
  • 추세 차트 및 목표 범위 내 시간(Time in Range) 추적을 통한 실시간 혈당 모니터링
  • Tandem 펌프에 대한 BLE 연결 (기저 인슐린, 대량 인슐린, 체내 인슐린량(IoB), 저장소, 배터리)
  • 기존 생태계 사용자를 위한 Nightscout API 통합 (출시 예정)
  • Android 휴대폰 앱 + 워치페이스 컴플리케이션이 있는 Wear OS 컴패니언
  • 웹 대시보드 및 REST API가 포함된 셀프 호스팅(Self-hosted) Docker 스택
  • 최대 10년의 개인 당뇨 데이터 저장
  • 내분비학자 예약 시 사용 가능한 인쇄용 보고서

핵심 원칙:

  • 제안만 제공 -- 의료 기기를 제어하지 않음
  • BYOAI 아키텍처 -- 자체 AI 제공자 사용 (Claude, OpenAI, Ollama 또는 OpenAI 호환 엔드포인트)
  • 셀프 호스팅 -- 데이터가 자체 인프라(Docker 또는 Kubernetes)에 유지됨
  • 안전 우선 -- 사전 검증 계층, 긴급 에스컬레이션, 의료 면책 조항

빠른 시작: 친절한 안내를 찾고 계신가요? docs/get-started.md를 읽어보세요. 플랫폼, Android 컴패니언 앱, 선택적 워치페이스, AI 제공자 구성 및 세 가지 배포 경로(노트북 / Cloudflare 터널이 있는 홈 서버 / 클라우드 VPS)를 종합적으로 다룹니다.

아래의 한 줄 짜리 명령어는 스택에 이미 익숙한 개발자를 위한 것입니다.

git clone https://github.com/GlycemicGPT/GlycemicGPT.git cd GlycemicGPT cp .env.example .env docker compose up --build -d

서비스는 다음 주소에서 사용할 수 있습니다: 웹 UI: http://localhost:3000 API: http://localhost:8000 API 문서: http://localhost:8000/docs

원문 보기
원문 보기 (영어)
GlycemicGPT Open source diabetes platform with AI-powered analysis at its core. Because no one should manage diabetes alone. Overview • Quick Start • Architecture • Roadmap • Development • Contributing • Support • Disclaimer IMPORTANT SAFETY WARNING This software is NOT designed to replace your endocrinologist or healthcare provider. GlycemicGPT provides AI-generated suggestions only and should be used as a supplementary tool alongside professional medical care. ALPHA SOFTWARE -- This project is under active development. It is functional and in daily use by the developer, but has not been broadly tested. Use at your own risk and always consult your healthcare provider. Overview GlycemicGPT is an open source diabetes platform built around AI-powered analysis. It connects directly to your CGM and insulin pump for a full standalone experience — real-time monitoring, daily AI briefs, pattern detection, conversational AI chat, and caregiver alerting. Already running Nightscout? GlycemicGPT can also pull data from your existing instance and add AI analysis on top, no changes required to your current setup. See the Relationship to other tools page for the honest comparison. Currently supported devices: Device Type Connection Status Dexcom G7 CGM Cloud API Verified Tandem t:slim X2 Insulin Pump BLE (direct) + Cloud API Verified Tandem Mobi Insulin Pump BLE (direct) + Cloud API Protocol-compatible (see note) Tandem Mobi note: The Mobi uses the same BLE protocol, authentication, and data formats as the t:slim X2. Our Tandem plugin reads data from both models, but Mobi support has not been verified against physical hardware . Protocol compatibility does not guarantee correct operation on untested devices. Use with Mobi hardware is entirely at your own risk — see MEDICAL-DISCLAIMER.md for full liability terms. If you have a Mobi and can help validate data reading, please open an issue. Support for reading data from additional pumps and CGMs is planned. The mobile app uses a capability-based plugin architecture for community device data drivers — see CONTRIBUTING.md if you'd like to help add data reading support for your device. If your device isn't supported today, the recommended path is the upcoming Nightscout integration — once that lands, anything that flows into Nightscout flows into GlycemicGPT. What it does: AI-powered daily briefs, meal analysis, and pattern recognition (BYOAI — bring your own AI key) Conversational AI chat backed by clinical diabetes knowledge base Configurable alerts with caregiver escalation and multi-channel delivery (Telegram, push, in-app) Real-time glucose monitoring with trend charts and Time in Range tracking BLE connectivity to Tandem pumps (basal, bolus, IoB, reservoir, battery) Nightscout API integration for existing ecosystem users (coming soon) Android phone app + Wear OS companion with watch face complications Self-hosted Docker stack with web dashboard and REST API Up to 10 years of personal diabetes data storage Printable reports for endocrinologist appointments Key Principles: Suggestions only -- does not control medical devices BYOAI architecture -- bring your own AI provider (Claude, OpenAI, Ollama, or any OpenAI-compatible endpoint) Self-hosted -- your data stays on your infrastructure (Docker or Kubernetes) Safety-first -- pre-validation layer, emergency escalation, medical disclaimers Quick Start Looking for the friendly walkthrough? Read docs/get-started.md -- it covers the platform, the Android companion app, the optional watch face, AI provider configuration, and three deployment paths (laptop / home server with Cloudflare Tunnel / cloud VPS) end-to-end. The one-liner below is for developers who already know the stack. git clone https://github.com/GlycemicGPT/GlycemicGPT.git cd GlycemicGPT cp .env.example .env docker compose up --build -d Services will be available at: Web UI: http://localhost:3000 API: http://localhost:8000 API Docs: http://localhost:8000/docs For deployments beyond local development, see: Install with Docker -- the full Docker reference + decision table for picking a compose example Install with Kubernetes -- Kustomize-based K8s walkthrough with prebuilt images deploy/examples/public-cloud/ -- VPS with Caddy + automatic HTTPS deploy/examples/cloudflare-tunnel/ -- home server with Cloudflare-managed access (no port forwarding required) Architecture Component Technology Frontend Next.js 15, React 19, Tailwind CSS, shadcn/ui Backend FastAPI, Python 3.12 Mobile Kotlin, Jetpack Compose, BLE Wear OS Kotlin, Wear Compose, Watch Face Plugin System Community device data drivers via plugin architecture AI Sidecar TypeScript, Express, multi-provider proxy Database PostgreSQL 16, SQLAlchemy 2.0 Cache Redis 7 Development # Start the full stack docker compose up --build -d # Verify services curl localhost:8000/health # API curl localhost:3456/health # AI sidecar # Web UI at http://localhost:3000 See CONTRIBUTING.md for full development setup, branching strategy, and code style guidelines. Contributing We welcome contributions! Please read our Contributing Guide before submitting a pull request. Bug Reports Feature Requests Mobile App Issues Discussions (questions, ideas, show & tell) Community Discord (real-time chat, questions, dev coordination) Support the Project GlycemicGPT is free and open source. Funding flows through Open Collective , with full public transaction history. For a breakdown of how project funds are used, see the What the fund covers section in GOVERNANCE.md . Stars on GitHub help other people discover the project. License This project is licensed under the GNU General Public License v3.0 (GPL-3.0) . See the LICENSE file for details. Disclaimer See MEDICAL-DISCLAIMER.md for the complete medical and regulatory disclaimer. USE AT YOUR OWN RISK This Software is Not Medical Advice GlycemicGPT is experimental open-source software intended for educational and informational purposes only. It is NOT approved by the FDA or any regulatory body for medical use. AI Limitations AI can and will make mistakes. Large language models (LLMs) are known to: Hallucinate - generate plausible-sounding but incorrect information Misinterpret data - draw incorrect conclusions from your glucose readings Provide outdated information - not reflect the latest medical guidelines Lack context - not understand your complete medical history Critical Warnings Do not replace professional medical care. Always consult with your endocrinologist, diabetes educator, or healthcare provider before making any changes to your diabetes management. Verify all suggestions. Any insulin dosing, carb ratio, or correction factor suggestions from AI must be verified with your healthcare team before use. This is not a medical device. GlycemicGPT does not control any medical devices and provides suggestions only. Use extreme caution. Incorrect diabetes management can result in severe hypoglycemia, diabetic ketoacidosis (DKA), or other life-threatening conditions. Limitation of Liability THE AUTHORS AND CONTRIBUTORS OF THIS SOFTWARE ARE NOT LIABLE FOR ANY DAMAGES, INJURIES, OR ADVERSE HEALTH OUTCOMES RESULTING FROM THE USE OF THIS SOFTWARE. BY USING GLYCEMICGPT, YOU ACKNOWLEDGE THAT: You are using this software at your own risk You will not rely solely on AI-generated suggestions for medical decisions You understand that AI can make errors and hallucinate You will maintain regular care with qualified healthcare professionals You accept full responsibility for any decisions made based on this software's output If you experience a diabetes emergency, contact your healthcare provider or emergency services immediately. Do not rely on this software for emergency medical guidance. Built with care for the diabetes community. Stay safe. 💙