{"slug": "show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine", "title": "Show HN: Infinite – query your GA4/Stripe/PostHog data locally, on your machine", "summary": "Infinite OS, a self-hosted, local-first growth-analytics runtime, lets users query data from Google Analytics 4, Stripe, PostHog, and other sources in plain English on their own machine. The tool syncs data into a local Postgres database and uses the user's own Claude or Codex account for natural-language processing, ensuring data never leaves the machine. Maker River Khan released the open-source project on GitHub.", "body_md": "**Your growth data, on your own machine — ask it anything in plain English.**\n\nInfinite OS is a self-hosted, local-first growth-analytics runtime. It connects your data sources — Google Analytics 4, PostHog, Stripe, Meta, Shopify, and read-only X public post metrics — into a Postgres database on your own machine, keeps it synced, and lets you ask questions like *\"how many page views in the last 7 days?\"* or *\"which channels drove the most traffic?\"* and get real answers from governed, source-accurate metrics.\n\n🌐 **Site:** [infinite.fast](https://infinite.fast)\n·\n𝕏 **Project:** [@InfiniteOS_](https://x.com/InfiniteOS_)\n·\n**Maker:** [@RiverKhan](https://x.com/RiverKhan)\n\nIt is\n\nnota broad agent runtime, skill platform, or generic SQL tool. For natural-language questions it forwards your prompt to your own Claude or Codex account using your own credentials; it executes no tools or shell commands. Your data never leaves your machine unless you send it somewhere.\n\nEverything runs locally as one small stack:\n\n**Postgres**— your synced growth data, sync state, jobs, schedules, and queryable views (a rebuildable cache; the source of truth stays with the providers).**app daemon**— a local HTTP API the CLI talks to.** worker**— owns the scheduler and runs syncs as background jobs.** CLI (**— the operator shell + the chat interface.`infinite`\n\n)**encrypted connector credentials**— provider keys/tokens are encrypted at rest with your`GROWTH_OS_ENCRYPTION_KEY`\n\n.\n\nYou connect a source once, sync it, then ask questions. Answers come from a typed metric layer with authority/provenance rules — not free-form SQL — so a number is either source-accurate or honestly reported as unavailable.\n\nOnce a source is connected and synced, just ask — in plain English:\n\n*\"How many page views did I get in the last 7 days?\"**\"What were my top pages this week?\"**\"Which channels drove the most traffic last month?\"**\"How many new users this week vs last week?\"**\"What's my engagement rate over the last 30 days?\"**\"How much revenue did I make in the last 30 days?\"*(Stripe)*\"Compare this week's traffic to the previous week.\"*\n\nInfinite figures out the right metric, runs it against your synced data, and answers with the numbers + a short read — citing the source and flagging anything it can't verify (it won't guess).\n\nInstall with one command (macOS / Linux). It checks you have git, Node ≥ 20, and pnpm (it won't install or change them for you), puts Infinite at `~/.infinite/app`\n\n, drops an `infinite`\n\ncommand on your PATH, and runs setup:\n\n```\ncurl -fsSL https://raw.githubusercontent.com/Infinite-Labs-AI/infinite-os/main/scripts/install.sh | bash\n```\n\nThen:\n\n```\ninfinite setup     # connect a data source + configure the model, and start the local stack\ninfinite           # ask a question\ninfinite \"how many page views in the last 7 days\"\ngit clone https://github.com/Infinite-Labs-AI/infinite-os.git infinite\ncd infinite\n./infinite setup\n./infinite\n```\n\n`setup`\n\ninstalls/builds the workspace if needed, configures model auth, and starts the bundled Docker stack.\n\n| Command | What it does |\n|---|---|\n`infinite` |\nStart an interactive session (ask questions in natural language) |\n`infinite \"<question>\"` |\nAsk one question and print the answer |\n`infinite setup` |\nConnect a data source, configure the model, start the stack |\n`infinite setup status` |\nShow what's ready and what's blocked |\n`infinite connect <provider>` |\nConnect/reconnect a source (`ga4` , `posthog` , `stripe` , `x` , …) |\n`infinite sources` |\nList connected sources |\n`infinite sync [provider] [window]` |\nSync data (windows: `incremental` , `30_days` , `3_months` , `all_time` , …) |\n`infinite metrics` / `explain <metric>` |\nList metrics / explain a metric's authority & provenance |\n`infinite version` |\nPrint the version and commit |\n`infinite start` / `stop` / `status` / `logs [service]` |\nManage the local Docker stack |\n`infinite update` |\nPull the latest code on this branch and restart |\n`infinite help` |\nFull command list |\n\n**Connectable:** Google Analytics 4 · PostHog · Stripe · Meta · Shopify · X (read-only public post metrics). Deeper attribution and content analysis are on the roadmap.\n\nGA4 and PostHog only start collecting data once their tracking tag is on your website. After `infinite setup`\n\nconnects an analytics source, install the tag into **your own site's repo** with our published npm package, — it uses only your\n\n`infinite-tag`\n\n**public** keys, auto-detects your framework, and writes idempotent, fully reversible changes:\n\n```\n# run inside your website's code repo\nnpx infinite-tag@latest install\n```\n\n`infinite setup`\n\nprints a ready-to-paste `npx infinite-tag install …`\n\ncommand with your Measurement ID / PostHog key and workspace id already filled in (and saves your public keys to `~/.infinite/artifacts/`\n\n, so a bare `npx infinite-tag install`\n\ndiscovers them automatically). See for all flags and the supported frameworks (Next.js, Vite + React, static HTML).\n\n`packages/instrument/README.md`\n\n`infinite setup`\n\nwrites your config and secrets into a gitignored `.growth-os/`\n\ndirectory; connector credentials are encrypted at rest. **Your data stays on your machine** — nothing is sent anywhere unless you do it. See [SECURITY.md](/Infinite-Labs-AI/infinite-os/blob/main/SECURITY.md) for the trust model and the full variable list.\n\n```\npnpm install\npnpm typecheck\npnpm test\n```\n\nSee [docs/local-and-docker-quickstart.md](/Infinite-Labs-AI/infinite-os/blob/main/docs/local-and-docker-quickstart.md) for the Docker path, [CONTRIBUTING.md](/Infinite-Labs-AI/infinite-os/blob/main/CONTRIBUTING.md) to contribute, and [SECURITY.md](/Infinite-Labs-AI/infinite-os/blob/main/SECURITY.md) to report a vulnerability.\n\nMIT © Ultima AI, Inc.", "url": "https://wpnews.pro/news/show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine", "canonical_source": "https://github.com/Infinite-Labs-AI/infinite-os", "published_at": "2026-06-17 14:35:39+00:00", "updated_at": "2026-06-17 14:53:06.347273+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "natural-language-processing"], "entities": ["Infinite OS", "Google Analytics 4", "Stripe", "PostHog", "Meta", "Shopify", "Claude", "Codex"], "alternates": {"html": "https://wpnews.pro/news/show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine", "markdown": "https://wpnews.pro/news/show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine.md", "text": "https://wpnews.pro/news/show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine.txt", "jsonld": "https://wpnews.pro/news/show-hn-infinite-query-your-ga4-stripe-posthog-data-locally-on-your-machine.jsonld"}}