
Apple Health Card
Apple Health Style Datacore Card
Description
This is a Datacore script and CSS snippet that creates a dashboard similar to Apple Health's activity rings.
Features
- Displays daily activity rings for move, exercise, and stand goals.
- Shows a heart rate chart for the last 6 days.
- Summarizes daily and historical health data.
How to Use
-
Enable Plugins: Make sure you have the Datacore plugin installed and enabled in your Obsidian vault.
-
Add CSS Snippet:
- Create a new file in your vault's snippet folder (
.obsidian/snippets/) namedhealth-card.css. - Copy the CSS content below into the
health-card.cssfile. - Enable the snippet in Obsidian's settings (
Settings > Appearance > CSS Snippets).
- Create a new file in your vault's snippet folder (
-
Create the Datacore Note:
- Create a new note in your vault.
- Copy the Datacore script below into the note.
-
Health Data:
-
The script queries for notes in a folder named
Health. -
Each note in the
Healthfolder should have the following frontmatter properties:--- date: YYYY-MM-DD move: 100 move_goal: 500 exercise: 10 exercise_goal: 30 stand: 2 stand_goal: 12 hr_low: 60 hr_avg: 80 hr_high: 120 hr_resting: 57 ---
-
Required Plugins
| Plugin | Version | Link |
|---|---|---|
| Datacore | 0.1.29 | GitHub |
Attached Snippets
snippets/health-card-new.css— health-card-new
Installation
- Download the
.mdfile(s) from this repo - Place them in your vault
- Copy the attached CSS snippet files into
.obsidian/snippets/ - Enable them in Settings > Appearance > CSS Snippets
- Install the required plugins listed above
Published via Vault Hub
How to Install
- Download the template file from GitHub
- Move it anywhere in your vault
- Download the attached CSS snippets from the sidebar
- Move them into
.obsidian/snippets/and enable them - Open it in Obsidian — done!
Stats
Stars
0
Forks
0
Last updated 1mo ago
Attached Snippets
1