Skip to content

Request - Import from Loop Habits Tracker #217

@sonalder-darlene

Description

@sonalder-darlene

The request

I have more than three years of data in Loop Habits Tracker that I don't wanna lost or redo manually.

The app let you export a backup or csv files. Would be nice to look at the CSV generated by Loop Habits Tracker and making it compatible with an import somehow. That way previous data are preserved and let users migrate to Grit easily.

Based on the following explained structure do you think it would be possible?

The CSV structure of Loop Habits Tracker

When exporting as CSV Loop Habits Tracker generate a zip archive within it there is a folder for each habit tracked by the app with a prefix of the order in the app.

Exemple:

  • 001 Doing exercices
  • 002 Doing Yoga
  • 003 Practicing french
  • 004 Brushing Teeth

There is also three CSV files at the root of the zip archives alongside previously explained folders that tracks every habits. In the habit folders there is for every one of them a Checkmarks.csv and Scores.csv tracking only their respective habits.

Global Checkmarks.csv

Date Doing exercices Doing Yoga Practicing french Brushing Teeth
2026-02-02 UNKNOWN YES_MANUAL 10000 YES_AUTO

Habits.csv

Position Name Type Question Description FrequencyNumerator FrequencyDenominator Color Unit Target Type Target Value Archived?
001 Doing exercices YES/NO Did you do your pushups? Doing 7 minutes of sport 5 times a week. 5 7 #288E3C false
002 Doing Yoga YES/NO Did you do your daily yoga? 27 30 #D32F2F false
003 Practicing french NUMERICAL Did you do your french? Doing 10 minutes everyday (almost) 1 7 #303030 minutes AT_LEAST 10 false
004 Brushing Teeth YES/NO Did you brush your teeth? Should do it 2-3 times a day 1 1 #D35F8F false

Global Scores.csv

Date Doing exercices Doing Yoga Practicing french Brushing Teeth
2026-02-02 0.7652 0.3457 0.0013 0.9655

What's needed

Habits.csv and Checkmarks.csv are the one that should be used for the import. I think Grit first need to import all the habits and converting their metadata from Loop Habits Tracker to its own structure.
Then it should also import the history of the checkmarks and numerical tracking.

The score are useless I guess cuz Grit would re-evaluate and score by itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions