Ex

Exploring Apple Health with ClickHouse, Vega-Altair, Llama 3, Quarto

Hacker News

Exploring Apple Health with ClickHouse, Vega-Altair, Llama 3, Quarto

Hey everyone, a few days ago I wrote a tiny Python script that turns an Apple Health export.xml file (~1 GB in my case, ~10 years of data) into a very simple 5 column .parquet file (~40 MB): - type (e.g. "CyclingDistance") - value (e.g. "12.100") and 3 datetime timestamps: - start - end - created https://github.com/atlaslib/atlas Why? The Apple Health export is huge (!), the export.xml schema is wild and a bit irregular and most of its identifiers are prefixed (`HKQuantityTypeIdentifier`). Even though the types of observations are a wide range (e.g. DistanceWalkingRunning, DistanceCycling, DistanceSwimming, StepCount, …) I put all of them into 1 simple table to make it easier to explore. [(!) One tiny disadvantage of this is that I had to make the "value" column a String. Even though most observations are floating point numbers. Some observations (e.g. sleep phases) have categories that are enums (?) and I chose not to map them to numbers for now. Any ideas what to do about this: very welcome.] Here are a few example charts I generated using Clickhouse (chDB) and Vega-Altair in a Quarto notebook: https://github.com/atlaslib/atlas#explore Here is the notebook with example code: https://github.com/atlaslib/atlas/blob/main/examples/apple-h... Another example of how neat it is to have this data easily accessible: Asking questions in natural language (e.g. "when was my last swimming workout?") and ("what is my total walking distance") translated to SQL by llama 3 works: https://x.com/__tosh/status/1784714636610187488/video/1 Repo on Github: https://github.com/atlaslib/atlas Have a great weekend!

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: apple, tiny, using · Missing: mac, agents, macos
73%73% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
70%70% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: llama, ide, clickhouse · Missing: https docs, excited, just released
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
19%19% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Li
Livity – Free Apple Health Translator28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Livity – Free Apple Health Translator

Hacker News1
Metrya.ai - Apple Health AI Advisor
Metrya.ai - Apple Health AI Advisor54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Your Apple Health data, actually explained

Indie Hackers1health-fitness
Apple Health Wrapped 2025
Apple Health Wrapped 202583%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Your Apple Health Data, Beautifully Visualized.

Product Hunt+166iOS
Ap
Apple Health Wrapped 202534%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Apple Health Wrapped 2025

Hacker News3
Ap
Apple Health MCP Server34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Apple Health MCP Server

Hacker News199
Metrya
Metrya39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Your Apple Health data, actually explained

Indie Hackers1ai
Vi
Visualize Apple Health Data in Grafana64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualize Apple Health Data in Grafana

Hacker News7
Vi
Visualize your Apple Health data in Grafana51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualize your Apple Health data in Grafana

Hacker News42
Ll
Llama or Alpaca?78%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Llama or Alpaca?

Hacker News6
Ll
Llama 3.2 Interpretability with Sparse Autoencoders74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Llama 3.2 Interpretability with Sparse Autoencoders

Hacker News579