Import history from FitNotes, Strong, Hevy and Apple Health

Losing years of logging is the thing that stops people trying another
tracker, so Settings -> Data -> Import from another app now reads their
exports directly.

All of these ship the same thing in a different dialect: one row per set
with a date, an exercise name and some mix of weight/reps/distance/time.
So the parser builds a column map from the header rather than assuming
positions, and a new app is usually a few header aliases. Verified
against real exports from Strong (1903 sets) and Hevy, both FitNotes
column layouts, and an Apple Health body-mass extract.

Exercise matching is the part that decides whether this is useful.
Parenthetical qualifiers and BB/DB shorthand are normalised, names are
compared as an order-independent bag of words, and a curated table maps
the plain names people actually log onto the dataset's qualified ones -
without it, 'Squat' resolved to 'weighted squat' and 'Leg Press' to
'smith leg press'. Where a name stays genuinely ambiguous it is left
unmatched and becomes a custom exercise rather than guessed at: filing
years of training under the wrong lift is worse than a name the user can
see and fix. Nothing in the file is ever dropped.

A summary sheet shows workouts, sets, matches, misses and any unit
conversion before anything is written, and merging skips days that
already have data, so importing twice - or from two apps - never
duplicates a workout.
This commit is contained in:
Duarte Santos committed 2026-07-23 14:50:36 +02:00
1 parent fac45f9af9
commit 389315625c
16 files changed
+820 -13

No files matched your search

+20 -1
View File
@@ -398,5 +398,24 @@ export default {
'Adductors': 'Adduktoren',
'Hip flexors': 'Hüftbeuger',
'Calves': 'Waden',
'Shins': 'Schienbein'
'Shins': 'Schienbein',
// --- import from another app ---
'Import from another app': 'Aus anderer App importieren',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — oder Körpergewicht aus Apple Health',
'Import from {0}': 'Aus {0} importieren',
'Import history': 'Verlauf importieren',
'Weigh-ins': 'Wiegungen',
'Exercises matched': 'Übungen erkannt',
'Added as your own': 'Als eigene angelegt',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Die Datei ist in {0}, dein Profil in {1} — die Gewichte werden umgerechnet.',
'The file does not say which unit it uses — numbers are imported as they are.': 'Die Datei nennt keine Einheit — die Zahlen werden unverändert übernommen.',
'{0} days already have data here and will be left alone.': '{0} Tage haben hier schon Daten und bleiben unangetastet.',
'Not in the library — added as your own exercises': 'Nicht in der Bibliothek — als eigene Übungen angelegt',
'Nothing new to import': 'Nichts Neues zu importieren',
'{0} workouts imported': '{0} Trainings importiert',
'{0} weigh-ins imported': '{0} Wiegungen importiert',
'Could not read that file': 'Datei konnte nicht gelesen werden',
'That file is empty': 'Diese Datei ist leer',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Die Spalten dieser Datei sind unbekannt — unterstützte Apps stehen in der Doku.',
'Nothing to import from that file': 'Aus dieser Datei gibt es nichts zu importieren'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Aductores',
'Hip flexors': 'Flexores de cadera',
'Calves': 'Gemelos',
'Shins': 'Tibiales'
'Shins': 'Tibiales',
// --- import from another app ---
'Import from another app': 'Importar de otra app',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — o peso corporal de Apple Health',
'Import from {0}': 'Importar de {0}',
'Import history': 'Importar historial',
'Weigh-ins': 'Pesajes',
'Exercises matched': 'Ejercicios reconocidos',
'Added as your own': 'Añadidos como propios',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'El archivo está en {0} y tu perfil en {1} — los pesos se convertirán.',
'The file does not say which unit it uses — numbers are imported as they are.': 'El archivo no indica la unidad — los números se importan tal cual.',
'{0} days already have data here and will be left alone.': '{0} días ya tienen datos aquí y no se tocarán.',
'Not in the library — added as your own exercises': 'No están en la biblioteca — añadidos como ejercicios propios',
'Nothing new to import': 'Nada nuevo que importar',
'{0} workouts imported': '{0} entrenamientos importados',
'{0} weigh-ins imported': '{0} pesajes importados',
'Could not read that file': 'No se pudo leer ese archivo',
'That file is empty': 'Ese archivo está vacío',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'No se reconocen las columnas del archivo — consulta la documentación.',
'Nothing to import from that file': 'No hay nada que importar de ese archivo'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Adducteurs',
'Hip flexors': 'Fléchisseurs de hanche',
'Calves': 'Mollets',
'Shins': 'Tibiaux'
'Shins': 'Tibiaux',
// --- import from another app ---
'Import from another app': 'Importer depuis une autre app',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — ou le poids depuis Apple Santé',
'Import from {0}': 'Importer depuis {0}',
'Import history': 'Importer l\'historique',
'Weigh-ins': 'Pesées',
'Exercises matched': 'Exercices reconnus',
'Added as your own': 'Ajoutés comme les vôtres',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Le fichier est en {0} et votre profil en {1} — les poids seront convertis.',
'The file does not say which unit it uses — numbers are imported as they are.': 'Le fichier n\'indique pas l\'unité — les nombres sont importés tels quels.',
'{0} days already have data here and will be left alone.': '{0} jours ont déjà des données ici et ne seront pas touchés.',
'Not in the library — added as your own exercises': 'Absents de la bibliothèque — ajoutés comme vos exercices',
'Nothing new to import': 'Rien de nouveau à importer',
'{0} workouts imported': '{0} séances importées',
'{0} weigh-ins imported': '{0} pesées importées',
'Could not read that file': 'Impossible de lire ce fichier',
'That file is empty': 'Ce fichier est vide',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Colonnes non reconnues — voir la documentation pour les apps prises en charge.',
'Nothing to import from that file': 'Rien à importer depuis ce fichier'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'एडक्टर',
'Hip flexors': 'हिप फ्लेक्सर',
'Calves': 'पिंडली',
'Shins': 'पिंडली की हड्डी'
'Shins': 'पिंडली की हड्डी',
// --- import from another app ---
'Import from another app': 'दूसरे ऐप से आयात करें',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — या Apple Health से वज़न',
'Import from {0}': '{0} से आयात करें',
'Import history': 'इतिहास आयात करें',
'Weigh-ins': 'वज़न मापन',
'Exercises matched': 'पहचाने गए व्यायाम',
'Added as your own': 'अपने रूप में जोड़े',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'फ़ाइल {0} में है और आपकी प्रोफ़ाइल {1} में — वज़न बदले जाएंगे।',
'The file does not say which unit it uses — numbers are imported as they are.': 'फ़ाइल में इकाई नहीं दी — संख्याएँ जस की तस आयात होंगी।',
'{0} days already have data here and will be left alone.': '{0} दिनों में पहले से डेटा है, वे अछूते रहेंगे।',
'Not in the library — added as your own exercises': 'लाइब्रेरी में नहीं — अपने व्यायाम के रूप में जोड़े गए',
'Nothing new to import': 'आयात करने को कुछ नया नहीं',
'{0} workouts imported': '{0} वर्कआउट आयात हुए',
'{0} weigh-ins imported': '{0} वज़न रिकॉर्ड आयात हुए',
'Could not read that file': 'वह फ़ाइल पढ़ी नहीं जा सकी',
'That file is empty': 'वह फ़ाइल खाली है',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'फ़ाइल के कॉलम पहचाने नहीं गए — समर्थित ऐप्स के लिए दस्तावेज़ देखें।',
'Nothing to import from that file': 'उस फ़ाइल से आयात करने को कुछ नहीं'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Adduttori',
'Hip flexors': 'Flessori dell\'anca',
'Calves': 'Polpacci',
'Shins': 'Tibiali'
'Shins': 'Tibiali',
// --- import from another app ---
'Import from another app': 'Importa da un\'altra app',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — o il peso da Apple Salute',
'Import from {0}': 'Importa da {0}',
'Import history': 'Importa lo storico',
'Weigh-ins': 'Pesate',
'Exercises matched': 'Esercizi riconosciuti',
'Added as your own': 'Aggiunti come tuoi',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Il file è in {0} e il tuo profilo in {1} — i pesi verranno convertiti.',
'The file does not say which unit it uses — numbers are imported as they are.': 'Il file non indica l\'unità — i numeri vengono importati così come sono.',
'{0} days already have data here and will be left alone.': '{0} giorni hanno già dati qui e non verranno toccati.',
'Not in the library — added as your own exercises': 'Non nella libreria — aggiunti come tuoi esercizi',
'Nothing new to import': 'Niente di nuovo da importare',
'{0} workouts imported': '{0} allenamenti importati',
'{0} weigh-ins imported': '{0} pesate importate',
'Could not read that file': 'Impossibile leggere il file',
'That file is empty': 'Il file è vuoto',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Colonne non riconosciute — vedi la documentazione per le app supportate.',
'Nothing to import from that file': 'Niente da importare da questo file'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': '내전근',
'Hip flexors': '고관절 굴곡근',
'Calves': '종아리',
'Shins': '정강이'
'Shins': '정강이',
// --- import from another app ---
'Import from another app': '다른 앱에서 가져오기',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — 또는 Apple 건강의 체중',
'Import from {0}': '{0}에서 가져오기',
'Import history': '기록 가져오기',
'Weigh-ins': '체중 기록',
'Exercises matched': '인식된 운동',
'Added as your own': '내 운동으로 추가',
'The file is in {0} and your profile is in {1} — weights will be converted.': '파일은 {0}, 프로필은 {1} — 무게가 변환됩니다.',
'The file does not say which unit it uses — numbers are imported as they are.': '파일에 단위가 없습니다 — 숫자를 그대로 가져옵니다.',
'{0} days already have data here and will be left alone.': '{0}일은 이미 데이터가 있어 그대로 둡니다.',
'Not in the library — added as your own exercises': '라이브러리에 없음 — 내 운동으로 추가됨',
'Nothing new to import': '가져올 새 항목이 없습니다',
'{0} workouts imported': '운동 {0}개를 가져왔습니다',
'{0} weigh-ins imported': '체중 기록 {0}개를 가져왔습니다',
'Could not read that file': '파일을 읽을 수 없습니다',
'That file is empty': '파일이 비어 있습니다',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': '열을 인식할 수 없습니다 — 지원 앱은 문서를 참고하세요.',
'Nothing to import from that file': '이 파일에서 가져올 내용이 없습니다'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Przywodziciele',
'Hip flexors': 'Zginacze bioder',
'Calves': 'Łydki',
'Shins': 'Piszczele'
'Shins': 'Piszczele',
// --- import from another app ---
'Import from another app': 'Importuj z innej aplikacji',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — albo masa ciała z Apple Health',
'Import from {0}': 'Importuj z {0}',
'Import history': 'Importuj historię',
'Weigh-ins': 'Ważenia',
'Exercises matched': 'Rozpoznane ćwiczenia',
'Added as your own': 'Dodane jako własne',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Plik jest w {0}, a Twój profil w {1} — ciężary zostaną przeliczone.',
'The file does not say which unit it uses — numbers are imported as they are.': 'Plik nie podaje jednostki — liczby zostaną zaimportowane bez zmian.',
'{0} days already have data here and will be left alone.': '{0} dni ma już tutaj dane i pozostanie bez zmian.',
'Not in the library — added as your own exercises': 'Brak w bibliotece — dodane jako własne ćwiczenia',
'Nothing new to import': 'Brak nowych danych do importu',
'{0} workouts imported': 'Zaimportowano {0} treningów',
'{0} weigh-ins imported': 'Zaimportowano {0} ważeń',
'Could not read that file': 'Nie udało się odczytać pliku',
'That file is empty': 'Ten plik jest pusty',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Nie rozpoznano kolumn — obsługiwane aplikacje znajdziesz w dokumentacji.',
'Nothing to import from that file': 'Brak danych do importu z tego pliku'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Adutores',
'Hip flexors': 'Flexores do quadril',
'Calves': 'Panturrilhas',
'Shins': 'Tibiais'
'Shins': 'Tibiais',
// --- import from another app ---
'Import from another app': 'Importar de outra app',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — ou o peso da Apple Saúde',
'Import from {0}': 'Importar de {0}',
'Import history': 'Importar histórico',
'Weigh-ins': 'Pesagens',
'Exercises matched': 'Exercícios reconhecidos',
'Added as your own': 'Adicionados como teus',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'O ficheiro está em {0} e o teu perfil em {1} — os pesos serão convertidos.',
'The file does not say which unit it uses — numbers are imported as they are.': 'O ficheiro não indica a unidade — os números são importados tal como estão.',
'{0} days already have data here and will be left alone.': '{0} dias já têm dados aqui e não serão tocados.',
'Not in the library — added as your own exercises': 'Não estão na biblioteca — adicionados como exercícios teus',
'Nothing new to import': 'Nada de novo para importar',
'{0} workouts imported': '{0} treinos importados',
'{0} weigh-ins imported': '{0} pesagens importadas',
'Could not read that file': 'Não foi possível ler o ficheiro',
'That file is empty': 'Esse ficheiro está vazio',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Colunas não reconhecidas — vê a documentação para apps suportadas.',
'Nothing to import from that file': 'Nada para importar desse ficheiro'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Приводящие',
'Hip flexors': 'Сгибатели бедра',
'Calves': 'Икры',
'Shins': 'Голени'
'Shins': 'Голени',
// --- import from another app ---
'Import from another app': 'Импорт из другого приложения',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — или вес из Apple Health',
'Import from {0}': 'Импорт из {0}',
'Import history': 'Импорт истории',
'Weigh-ins': 'Взвешивания',
'Exercises matched': 'Распознано упражнений',
'Added as your own': 'Добавлено как свои',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Файл в {0}, а профиль в {1} — веса будут пересчитаны.',
'The file does not say which unit it uses — numbers are imported as they are.': 'В файле не указана единица — числа импортируются как есть.',
'{0} days already have data here and will be left alone.': 'В {0} дней уже есть данные — они останутся без изменений.',
'Not in the library — added as your own exercises': 'Нет в библиотеке — добавлены как свои упражнения',
'Nothing new to import': 'Нечего импортировать',
'{0} workouts imported': 'Импортировано тренировок: {0}',
'{0} weigh-ins imported': 'Импортировано взвешиваний: {0}',
'Could not read that file': 'Не удалось прочитать файл',
'That file is empty': 'Файл пуст',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Колонки не распознаны — список поддерживаемых приложений в документации.',
'Nothing to import from that file': 'В этом файле нечего импортировать'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': 'Adduktörler',
'Hip flexors': 'Kalça fleksörleri',
'Calves': 'Baldırlar',
'Shins': 'İncik'
'Shins': 'İncik',
// --- import from another app ---
'Import from another app': 'Başka uygulamadan içe aktar',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — veya Apple Health\'ten vücut ağırlığı',
'Import from {0}': '{0} uygulamasından içe aktar',
'Import history': 'Geçmişi içe aktar',
'Weigh-ins': 'Tartımlar',
'Exercises matched': 'Eşleşen egzersizler',
'Added as your own': 'Kendi egzersizin olarak eklendi',
'The file is in {0} and your profile is in {1} — weights will be converted.': 'Dosya {0}, profilin {1} — ağırlıklar dönüştürülecek.',
'The file does not say which unit it uses — numbers are imported as they are.': 'Dosya birimi belirtmiyor — sayılar olduğu gibi aktarılıyor.',
'{0} days already have data here and will be left alone.': '{0} günde zaten veri var, bunlara dokunulmayacak.',
'Not in the library — added as your own exercises': 'Kütüphanede yok — kendi egzersizlerin olarak eklendi',
'Nothing new to import': 'İçe aktarılacak yeni bir şey yok',
'{0} workouts imported': '{0} antrenman içe aktarıldı',
'{0} weigh-ins imported': '{0} tartım içe aktarıldı',
'Could not read that file': 'Dosya okunamadı',
'That file is empty': 'Bu dosya boş',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Sütunlar tanınmadı — desteklenen uygulamalar için belgelere bak.',
'Nothing to import from that file': 'Bu dosyada içe aktarılacak bir şey yok'
}
+20 -1
View File
@@ -380,5 +380,24 @@ export default {
'Adductors': '内收肌',
'Hip flexors': '髋屈肌',
'Calves': '小腿',
'Shins': '胫前肌'
'Shins': '胫前肌',
// --- import from another app ---
'Import from another app': '从其他应用导入',
'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes、Strong、Hevy — 或来自 Apple 健康的体重',
'Import from {0}': '从 {0} 导入',
'Import history': '导入历史记录',
'Weigh-ins': '称重记录',
'Exercises matched': '已匹配动作',
'Added as your own': '添加为自定义',
'The file is in {0} and your profile is in {1} — weights will be converted.': '文件使用 {0},你的配置使用 {1} — 重量将被换算。',
'The file does not say which unit it uses — numbers are imported as they are.': '文件未标明单位 — 数字按原样导入。',
'{0} days already have data here and will be left alone.': '有 {0} 天已存在数据,将保持不变。',
'Not in the library — added as your own exercises': '不在动作库中 — 已添加为自定义动作',
'Nothing new to import': '没有新内容可导入',
'{0} workouts imported': '已导入 {0} 次训练',
'{0} weigh-ins imported': '已导入 {0} 条称重记录',
'Could not read that file': '无法读取该文件',
'That file is empty': '该文件是空的',
'That file\'s columns aren\'t recognised — see the docs for supported apps.': '无法识别该文件的列 — 支持的应用请见文档。',
'Nothing to import from that file': '该文件中没有可导入的内容'
}