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 your own personal HTTPS copy in one click (Vercel recommended — includes
/api/proxyfor 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.healthruns in interactive demo mode for new visitors.
- 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.
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.
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.
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.
- 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).
- 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. - Your deployment runs under your own account with official analytics automatically disabled and a built-in same-origin
/api/proxyfor wearables OAuth and UV lookups. Note that free*.vercel.appURLs 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).
- 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.jsoncautomatically). - The production build emits
dist/_headers(CSP, COOP/COEP for OPFS/Sync, andno-cachefor PWA update checks) anddist/_redirects(/approuting) 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).
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-basedmainevery 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.)
- At
app.getbased.health, open Settings → Data → Backup & Restore → Start migration (or/app/migration.html). - 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).
- 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.
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-hostTo 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.
Use Node.js 24 and a modern browser:
git clone https://github.com/elkimek/get-based
cd get-based
npm ci
npm run dev-serverOpen 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.
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.
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/andscripts/— component tooling, static assembly and verification.tests/— unit, native-contract and browser tests.api/,server/andbin/— 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.
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.
