HealthImport/README.md
2024-04-15 23:40:32 +02:00

44 lines
1.9 KiB
Markdown

![](screens.png)
# HealthImport
This iOS app is a prototype to open the raw databases containing Apple Health data. These `healthdb_secure.sqlite` files can be extracted from (encrypted ) iOS Backups.
The structure of the database has been reverse-engineered so that most health data can be viewed and extracted.
This app is a front-end for [HealthDB](https://github.com/christophhagen/healthdb), which provides the interface to access the database files.
## Features
HealthImport offers a view basic features to view and extract health data, mostly centered around workouts.
### Managing databases
Multiple databases can be imported into the app.
The databases can be renamed and a default database can be selected.
One database can be opened at a time, so that the contents can be viewed.
### Workouts
The existing workouts contained in each database can be viewed in the "Workouts" tab.
The interface has been designed to be similar to the Apple Fitness app.
A filter allows selecting only those workouts of a specific activity type, and the details of a workout can be viewed.
It shows the workout route, heart rate, and statistics for each workout.
If the app has the required permissions then it also checks if a similar workout already exists on the phone, and can add missing workouts from the database to `Health`.
This feature is useful to restore workouts that have been deleted from an existing backup.
### Samples
The tab "Health" is structured similar to the Apple Health app, and allows to view different samples stored in the database.
Each supported type can be searched by start and end date, and shows a simple list of the samples found.
## Roadmap
In the future, additional features are envisioned:
- View most recent samples, similar to the Apple Health app
- Support viewing special sample types, like ECGs
- Show details for samples, and allow adding them to Apple Health
- Support more filtering options to find samples