GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - elkimek/get-based: Private, local-first health intelligence for labs, 51 curated SNPs, wearables, light exposure, Biology Scores, optional AI, encrypted sync, sharing, and Agent Access.

BranchesTags
Open more actions menu

Latest commit

 

History

2,559 Commits
2,559 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.well-known
.well-known
 
 
api
api
 
 
app
app
 
 
bin
bin
 
 
brands
brands
 
 
css
css
 
 
data
data
 
 
deploy
deploy
 
 
engineering
engineering
 
 
js
js
 
 
lib
lib
 
 
scripts
scripts
 
 
server
server
 
 
shared
shared
 
 
tests
tests
 
 
tooling/svelte
tooling/svelte
 
 
types
types
 
 
vendor
vendor
 
 
.dockerignore
.dockerignore
 
 
.env.local.example
.env.local.example
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
AGENTS.md
AGENTS.md
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
MODULE_MAP.md
MODULE_MAP.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
THIRD_PARTY_LICENSES.md
THIRD_PARTY_LICENSES.md
 
 
avatar.svg
avatar.svg
 
 
banner.svg
banner.svg
 
 
dashboard.png
dashboard.png
 
 
dev-server.ts
dev-server.ts
 
 
er-mask.png
er-mask.png
 
 
er.svg
er.svg
 
 
google-health-scope-justification.md
google-health-scope-justification.md
 
 
icon-192.png
icon-192.png
 
 
icon-512.png
icon-512.png
 
 
icon.svg
icon.svg
 
 
index.html
index.html
 
 
manifest.json
manifest.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
playwright.config.ts
playwright.config.ts
 
 
playwright.display-pilot.config.ts
playwright.display-pilot.config.ts
 
 
playwright.evolu8.config.ts
playwright.evolu8.config.ts
 
 
playwright.firefox.config.ts
playwright.firefox.config.ts
 
 
playwright.native-compat.config.ts
playwright.native-compat.config.ts
 
 
playwright.pwa.config.ts
playwright.pwa.config.ts
 
 
playwright.sveltekit.config.ts
playwright.sveltekit.config.ts
 
 
robots.txt
robots.txt
 
 
run-tests.sh
run-tests.sh
 
 
service-worker-assets.ts
service-worker-assets.ts
 
 
service-worker-runtime.ts
service-worker-runtime.ts
 
 
service-worker.ts
service-worker.ts
 
 
sitemap.xml
sitemap.xml
 
 
styles.css
styles.css
 
 
themes-extra.css
themes-extra.css
 
 
tsconfig.bootstrap-migration.json
tsconfig.bootstrap-migration.json
 
 
tsconfig.checkjs.json
tsconfig.checkjs.json
 
 
tsconfig.fixture-migration.json
tsconfig.fixture-migration.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.migration-tests.json
tsconfig.migration-tests.json
 
 
tsconfig.migration.json
tsconfig.migration.json
 
 
tsconfig.server.json
tsconfig.server.json
 
 
tsconfig.service-worker.json
tsconfig.service-worker.json
 
 
tsconfig.svelte.json
tsconfig.svelte.json
 
 
tsconfig.worker-migration.json
tsconfig.worker-migration.json
 
 
update-vendor.sh
update-vendor.sh
 
 
vercel.json
vercel.json
 
 
version.ts
version.ts
 
 
vitest.config.ts
vitest.config.ts
 
 
vitest.critical.config.ts
vitest.critical.config.ts
 
 
wrangler.jsonc
wrangler.jsonc
 
 

Repository files navigation

getbased — personal health intelligence, under your control

getbased is an open-source, local-first health dashboard. Bring labs, DNA, wearables, light exposure, lifestyle context, notes and optional AI analysis into one browser-based workspace, with no account required.

Live demo · Self-host · Documentation · Discord · Nostr

Deploy with Vercel  Deploy to Cloudflare

Deploy your own personal HTTPS copy in one click (Vercel recommended — includes /api/proxy for wearables OAuth and UV lookups; Cloudflare Workers — static PWA on Cloudflare's global edge). Your deployment serves only the open-source app code while all health records stay in your browser. app.getbased.health runs in interactive demo mode for new visitors.

getbased Dashboard

What you can do

  • Import lab reports and review values, units, ranges and collection details before saving. Explore trends, calculated markers, date comparisons and Biology Scores.
  • Add raw DNA, wearable data and manual body measurements. Keep supplement, medication and cycle history alongside your records.
  • Track sun exposure, UV, indoor light, devices, room measurements and EMF assessments.
  • Record health history, diet, sleep, exercise, goals and notes. Use separate profiles and create tailored reports.
  • Ask optional AI questions using selected health context, your documents and interpretive lenses. Voice can run on-device or through a selected service.
  • Export backups, optionally protect browser storage with a passphrase, sync encrypted profiles or share a password-protected copy.

The app groups these tools into Labs, Genome, Body, Light and Insight. Biology Scores and AI explanations support learning and wellness; they do not replace medical diagnosis or professional care.

See the user guides and release notes for details.

Your data and optional connections

Profile data stays in browser storage by default. Keep backups: local-first storage does not protect against clearing browser data or losing a device. The installable PWA supports offline use after its assets are available; network integrations and initial model downloads still need connectivity.

AI, connected wearables, encrypted sync, sharing, external Knowledge Bases and Agent Access are optional. Enabling them changes which services receive data. Remote AI activation identifies its destination and requests approval before health content is sent; an image import cannot be scrubbed of identifiers. Sync and profile sharing encrypt profile payloads in the browser. Compatibility relays can read the credentials and provider responses they forward.

On the official hosted app, cookieless anonymous pageview and outbound affiliate-click counts are enabled by default. They contain no health data and can be disabled in Settings → Privacy. Official analytics are disabled automatically on all self-hosted deployments. For a strictly local setup, leave remote features off and use same-device AI if needed.

Read the optional integration guide, security policy and architecture contract for storage, encryption and network boundaries. Review a selected provider's policies before connecting it.

Optional AI and services

Normal tracking works without AI. Supported AI paths include PPQ, Routstr, OpenRouter, Venice AI, a local OpenAI-compatible server, CLI agents through the getbased Companion, and a custom API. Availability and privacy depend on the selected provider and mode; private chat does not automatically make voice private. The Knowledge Base can index documents locally or connect to an external source. See provider, Companion, voice and Agent Access setup for activation requirements and deployment configuration.

The core application needs no rendering backend. Some optional features use external services or a local companion. Self-hosted deployments retain their own provider credentials and integration requirements; see the compatibility relay, profile-share service and environment example. Do not put credentials in browser source.

Self-host

getbased is a pure PWA: all health records stay in your own browser storage, and you can run your own personal HTTPS copy with no terminal required.

Option 1: One-click deploy on Vercel (recommended, no terminal)

Deploy with Vercel

  1. Click Deploy with Vercel, sign in with GitHub, choose Create private Git Repository (recommended), and click Create (Vercel clones the repository into your GitHub account and builds automatically — no environment variables required).
  2. Wait a few minutes for the first build to finish — you get your own permanent HTTPS address (for example https://my-getbased.vercel.app) that works 24/7 on desktop, iPhone, iPad and Android.
  3. Your deployment runs under your own account with official analytics automatically disabled and a built-in same-origin /api/proxy for wearables OAuth and UV lookups. Note that free *.vercel.app URLs are publicly reachable (they serve only the blank open-source app, never your browser data); for a login-gated URL use Vercel Deployment Protection or Option 3 (Tailscale Serve).

Option 2: One-click deploy on Cloudflare Workers (no terminal, static PWA)

Deploy to Cloudflare

  1. Click Deploy to Cloudflare, sign in with GitHub, select Private repository (recommended), and click Create and Deploy (Cloudflare clones the repository into your GitHub account and uses wrangler.jsonc automatically).
  2. The production build emits dist/_headers (CSP, COOP/COEP for OPFS/Sync, and no-cache for PWA update checks) and dist/_redirects (/app routing) automatically. Static-only hosting runs all local tracking, Knowledge Base, encrypted Sync and direct-CORS AI providers without a server /api/proxy. To put a login wall in front of your URL on Cloudflare's free tier, enable Cloudflare Access (Zero Trust).

Keeping your deployment up to date (automatic, no terminal)

Because you deployed into your own GitHub repository, your URL and browser storage stay permanent across updates:

  • Automatic updates (every 6 hours): On 1-click Vercel and Cloudflare clones, the included Sync upstream updates GitHub Action checks elkimek/get-based main every 6 hours, commits app updates under your GitHub account (preserving custom Cloudflare Worker names and skipping upstream CI workflow edits so updates don't stall, while stopping safely if you made custom app edits), and triggers a rebuild automatically. Your devices then show the normal in-app Update available banner. (On manual GitHub forks, click Enable workflows once in your fork's Actions tab to turn on automatic syncing.)
  • Instant manual update: Open your repository's Actions tab on GitHub and click Sync upstream updates → Run workflow (or Sync fork → Update branch on a GitHub fork) whenever you want a new release right away. (Tip: click Watch → Custom → Releases on this repository to get notified of new versions.)

Moving existing data from app.getbased.health

  1. At app.getbased.health, open Settings → Data → Backup & Restore → Start migration (or /app/migration.html).
  2. Click Deploy with Vercel or Deploy to Cloudflare to launch your own copy, paste your new HTTPS URL, confirm it, and click Move my data automatically →. Your encrypted archive transfers directly between your two browser tabs without needing a transfer password or manual file upload (manual encrypted file export/restore is also available below it for offline or cross-device moves).
  3. Confirm and restore in the new tab, open your self-hosted app, verify your profiles and records (Sync starts off so you can check first), and keep the original browser data until everything is verified.

Option 3: Local computer (Node.js + optional Tailscale Serve)

If you prefer running strictly on your own computer instead of a personal cloud account, install Node.js 24.20 or later within version 24, download getbased-self-host.tgz from Releases, and run:

npm install --global ./getbased-self-host.tgz
getbased

Keep the terminal open (http://127.0.0.1:8000/app), or expose it privately to your other devices via Tailscale Serve (tailscale serve --bg http://127.0.0.1:8000). To build from source instead:

git clone https://github.com/elkimek/get-based
cd get-based
npm ci
npm run production:build
npm run self-host

To update a local source checkout to the latest main, stop getbased, run npm run self-host:update, and start npm run self-host again (or reinstall the latest getbased-self-host.tgz for the prebuilt package). Connected browsers automatically show the in-app Update available banner.

See the self-hosting guide and online installation guide for wearable OAuth callback notes, Sync, backups and optional services.

Develop locally

Use Node.js 24 and a modern browser:

git clone https://github.com/elkimek/get-based
cd get-based
npm ci
npm run dev-server

Open http://localhost:8000/app. The root URL may serve the sibling get-based-site landing page when present.

This development server serves the source-compatible app. Edit authored .ts, .mts, .svelte and Tailwind CSS sources; do not edit generated .js, .mjs or CSS outputs. npm ci and the standard development, test and production commands compile first. After edits, run npm run typescript:build before invoking emitted Node entry points or Playwright directly.

Build and verify

The production app uses static SvelteKit 3, Svelte 5, TypeScript 7 and Tailwind CSS 4. Node and npm are build tools; the built core runs on a static host without a Node rendering server. Optional API/services are separate.

npm run production:build   # complete static distribution in dist/
npm run production:check   # validate a disposable static build

Serve dist/ with the /app document rewrite and the existing CSP and MIME contracts (production:build also emits dist/_headers and dist/_redirects for Cloudflare Pages and Netlify). Building locally does not publish the app. See static distribution and acceptance for hosting, PWA update/cache behavior and size-measurement boundaries. The source checkout's index.html alone is not the assembled production distribution.

Choose checks relevant to a change:

npm test -- tests/<relevant-test>.test.ts
npm run typecheck:migration
npm run typecheck:migration-tests
npm run architecture:check
npm run quality

typecheck:migration checks application and tooling sources with strict TypeScript options; typecheck:migration-tests checks maintained tests. When runtime modules or imports change, run npm run architecture:build and review the regenerated module map. Use focused headless browser cases for UI changes; see Contributing and the testing policy for commands and coverage rules. CI verifies the shipping SvelteKit app across browser engines and enforces startup, first-use and offline-cache budgets. Native compatibility tests and combined source coverage run separately against the same authored sources. The exhaustive browser and combined-coverage matrix belongs in CI by default.

Source and project guides

  • js/ — TypeScript application services, projections and Svelte components.
  • css/ — authored Tailwind utilities/recipes and necessary custom CSS; build scripts preserve public stylesheet URLs.
  • tooling/svelte/ and scripts/ — component tooling, static assembly and verification.
  • tests/ — unit, native-contract and browser tests.
  • api/, server/ and bin/ — optional integrations, the local self-host server and Companion entry points.
  • Architecture, generated module map, engineering guidance and brand guidance.

Related repositories: documentation, agent skills, encrypted sync relay and landing site.

Contributing and license

See Contributing for the workflow and Security to report a vulnerability privately.

getbased is licensed under AGPL-3.0-or-later. Modified versions made available over a network must offer corresponding source as the license requires. See third-party notices for bundled components.

About

Private, local-first health intelligence for labs, 51 curated SNPs, wearables, light exposure, Biology Scores, optional AI, encrypted sync, sharing, and Agent Access.

getbased.health

Topics

aibiomarker-trackingbiomarkersblood-testblood-workdashboarddnaevidence-basedfreegeneticshealthhealth-dashboardlab-resultslocal-firstopen-sourcepdf-importprivacy-firstpwaself-hostedsnp

Resources

Readme
AGPL-3.0 license

Contributing

Contributing

Security policy

Security policy
Activity

Stars

168 stars

Watchers

1 watching

Forks

37 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.