heedy

An aggregator for personal metrics, and an extensible analysis engine

Showing:

Popularity

Downloads/wk

0

GitHub Stars

287

Maintenance

Last Commit

7d ago

Contributors

4

Package

Dependencies

4

License

apache2

Categories

Readme

Heedy

DocsGitHub release (latest SemVer)PyPIGitHub Workflow Status

A repository for your personal data, and an extensible analysis engine.

There already exist many apps and fitness trackers that gather and attempt to make sense of your data. Most of these services are isolated - your phone's fitness tracking software knows nothing about your browser's time-tracking extension. Furthermore, each app and service has its own method for downloading data (if they offer raw data at all!), which makes an all-encompassing analysis of life extremely tedious. Heedy offers a self-hosted open-source way to put all of this data together into a single system.

Several existing aggregators already perform many of heedy's functions (see the list here). However, they are all missing one of two critical components:

  1. Open-source and self-hosted: Most existing tools are cloud-based, which means that all of your data is on "someone else's computer". While these companies may claim that they will not sell your data, or won't turn it over to governments, they can change their minds (and terms of service) at any time. The only way to guarantee that your data will never be used against you is for it to be on your computer, operated by software you can audit yourself.
  2. Extensible: Even a system with fantastic visualizations and powerful analysis has limited utility. This is because it can only show what the original authors assumed would be useful. Heedy offers a powerful plugin system - plugin writers can add new integrations, plots, or even modify core functionality with a few lines of python or javascript.

Installing

Heedy currently supports Mac and Linux (including the Raspberry Pi). The server is started from the command-line.

  1. Download Heedy, it is a single executable file that has everything built-in!
  2. Run it:
chmod +x ./heedy # Allow execution of file
./heedy          # Run heedy
  1. Open your browser to http://localhost:1324 to set up your database!

Before setting up Heedy, it is recommended that you have Python >=3.7 with venv support installed, because most heedy plugins use Python! On Ubuntu/PiOS, you just need to install python3-venv.

Plugins

Heedy itself is very limited in scope. Most of its power comes from plugins that extend its functionality, and integrate with other services. Some plugins worth checking out:

  • fitbit - sync heedy with Fitbit, allowing you to access and analyze your wearables' data.
  • notebook - analyze your data directly within Heedy with Jupyter notebooks.

Installing a plugin is as simple as uploading its zip file to heedy.

Screenshots

The first screenshot is of sleep data uploaded by the fitbit plugin. The second is a jupyter notebook enabled by the notebook plugin. The final screenshot shows Heedy's built-in analysis capabilities.

Fitbit Plugin Example Fitbit Notebook Example Data Analysis Example

Building

Building heedy requires at least go 1.15 and a recent version of node with at least npm 7.

Release

git clone https://github.com/heedy/heedy
cd heedy
make

Debug

git clone https://github.com/heedy/heedy
cd heedy
make debug

The debug version uses the assets from the ./assets folder instead of embedding in the executable.

Watch frontend

To edit the frontend, you will want to run the following:

make watch

This will watch all frontend files and rebuild them as they change, allowing you to edit them and see changes immediately by refreshing your browser.

Verbose Mode

You can see everything heedy does, including all SQL statements and raw http requests by running it in verbose mode:

./heedy --verbose

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100