Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Merge !94: feat: add Upper/Lower, Full Body and 5×5 starter plans

Duarte Santosdfc63543ea9d
diff --cc frontend/src/locales/de.js
index 65ced7889,7282beabf..ff5556125
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@@ -243,9 -253,9 +257,8 @@@ export default
// --- plan view ---
'Your weekly routine': 'Deine Wochenroutine',
'Week schedule': 'Wochenplan',
- 'Routines': 'Routinen',
'No routines yet.': 'Noch keine Routinen.',
'Create one or load the starter plan.': 'Erstelle eine oder lade den Starterplan.',
- 'Load starter plan (Push / Pull / Legs)': 'Starterplan laden (Push / Pull / Beine)',
// --- routine edit ---
'Superset with exercise above': 'Supersatz mit der Übung darüber',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Notiz (optional) — Hinweise zur Belastung, z. B. „nur die Stange, dann pro Satz +1 Scheibe pro Seite“, was immer du dir merken willst',
diff --cc frontend/src/locales/es.js
index bbe392e97,fb1292a3c..f481b5d4b
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Aún sin datos',
'Your weekly routine': 'Tu rutina semanal',
'Week schedule': 'Horario semanal',
- 'Routines': 'Rutinas',
'No routines yet.': 'Aún no hay rutinas.',
'Create one or load the starter plan.': 'Crea una o carga el plan inicial.',
- 'Load starter plan (Push / Pull / Legs)': 'Cargar plan inicial (Push / Pull / Piernas)',
'Superset with exercise above': 'Superserie con el ejercicio de arriba',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Nota (opcional) — indicaciones de carga, ej. «solo barra y +1 disco por lado en cada serie», lo que quieras recordar',
'No exercises yet — add your first one.': 'Aún no hay ejercicios — añade el primero.',
diff --cc frontend/src/locales/fr.js
index 3fb582e70,74d0d3ab7..578b41dbd
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Pas encore de données',
'Your weekly routine': 'Ta routine hebdomadaire',
'Week schedule': 'Planning de la semaine',
- 'Routines': 'Routines',
'No routines yet.': 'Aucune routine pour l’instant.',
'Create one or load the starter plan.': 'Crées-en une ou charge le plan de départ.',
- 'Load starter plan (Push / Pull / Legs)': 'Charger le plan de départ (Push / Pull / Jambes)',
'Superset with exercise above': "Superset avec l'exercice au-dessus",
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Note (optionnelle) — indications de charge, ex. « barre seule puis +1 disque par côté à chaque série », tout ce que tu veux te rappeler',
'No exercises yet — add your first one.': 'Aucun exercice — ajoute le premier.',
diff --cc frontend/src/locales/hi.js
index b65f8ef44,d08447134..540dc0798
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'अभी डेटा नहीं',
'Your weekly routine': 'आपका साप्ताहिक रूटीन',
'Week schedule': 'हफ़्ते का कार्यक्रम',
- 'Routines': 'रूटीन',
'No routines yet.': 'अभी कोई रूटीन नहीं।',
'Create one or load the starter plan.': 'एक बनाएँ या स्टार्टर प्लान लोड करें।',
- 'Load starter plan (Push / Pull / Legs)': 'स्टार्टर प्लान लोड करें (पुश / पुल / लेग्स)',
'Superset with exercise above': 'ऊपर वाले व्यायाम के साथ सुपरसेट',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'नोट (वैकल्पिक) — लोडिंग संकेत, जैसे "सिर्फ़ खाली बार, फिर हर सेट में हर तरफ़ +1 प्लेट", जो भी याद रखना चाहें',
'No exercises yet — add your first one.': 'अभी कोई व्यायाम नहीं — पहला जोड़ें।',
diff --cc frontend/src/locales/it.js
index c18b2d513,cc99bfed2..76be90d9d
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Ancora nessun dato',
'Your weekly routine': 'La tua routine settimanale',
'Week schedule': 'Programma settimanale',
- 'Routines': 'Routine',
'No routines yet.': 'Ancora nessuna routine.',
'Create one or load the starter plan.': 'Creane una o carica il piano iniziale.',
- 'Load starter plan (Push / Pull / Legs)': 'Carica piano iniziale (Push / Pull / Gambe)',
'Superset with exercise above': "Superset con l'esercizio sopra",
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Nota (facoltativa) — indicazioni di carico, es. "solo bilanciere poi +1 disco per lato a ogni serie", qualsiasi cosa tu voglia ricordare',
'No exercises yet — add your first one.': 'Ancora nessun esercizio — aggiungi il primo.',
diff --cc frontend/src/locales/ko.js
index 15d0ee92a,f73190f28..792891638
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': '데이터 없음',
'Your weekly routine': '주간 루틴',
'Week schedule': '주간 일정',
- 'Routines': '루틴',
'No routines yet.': '아직 루틴이 없어요.',
'Create one or load the starter plan.': '루틴을 만들거나 스타터 계획을 불러오세요.',
- 'Load starter plan (Push / Pull / Legs)': '스타터 계획 불러오기 (푸시 / 풀 / 레그)',
'Superset with exercise above': '위 운동과 슈퍼세트',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': '메모(선택 사항) — 중량 안내, 예: "빈 바로 시작 후 세트마다 양쪽 +1플레이트", 기억하고 싶은 모든 것',
'No exercises yet — add your first one.': '아직 운동이 없어요 — 첫 운동을 추가하세요.',
diff --cc frontend/src/locales/pl.js
index 6e62fc00b,ddd50b880..1d6187087
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Brak danych',
'Your weekly routine': 'Twój plan tygodnia',
'Week schedule': 'Harmonogram tygodnia',
- 'Routines': 'Plany treningowe',
'No routines yet.': 'Brak planów.',
'Create one or load the starter plan.': 'Utwórz plan albo wczytaj startowy.',
- 'Load starter plan (Push / Pull / Legs)': 'Wczytaj plan startowy (Push / Pull / Nogi)',
'Superset with exercise above': 'Superseria z ćwiczeniem powyżej',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Notatka (opcjonalnie) — wskazówki dot. obciążenia, np. "sama sztanga, potem +1 talerz na stronę w każdej serii", cokolwiek chcesz zapamiętać',
'No exercises yet — add your first one.': 'Brak ćwiczeń — dodaj pierwsze.',
diff --cc frontend/src/locales/pt-BR.js
index 4f3c0e469,95cabadf0..670575d40
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@@ -76,10 -73,7 +77,9 @@@ export const PT_BR_OVERRIDES =
'Tap the link button on an exercise to superset it with the one above — you’ll do them back-to-back.': 'Toque no botão de vínculo de um exercício para combiná-lo em um superset com o exercício acima — eles serão feitos em sequência.',
'Delete routine?': 'Excluir rotina?',
'Delete routine': 'Excluir rotina',
+ 'Copy routine': 'Copiar rotina',
+ 'Copy': 'Cópia',
'Search…': 'Buscar…',
- 'Starter plan loaded — Mon Push · Wed Pull · Fri Legs': 'Plano inicial carregado — Seg Push · Qua Pull · Sex Pernas',
'{0} planned for {1}': '{0} planejado para {1}',
'Planned': 'Planejado',
'Enter a name': 'Informe um nome',
diff --cc frontend/src/locales/pt.js
index 3633d7a30,0358b921f..60dd52f31
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Ainda sem dados',
'Your weekly routine': 'A tua rotina semanal',
'Week schedule': 'Horário semanal',
- 'Routines': 'Rotinas',
'No routines yet.': 'Ainda sem rotinas.',
'Create one or load the starter plan.': 'Cria uma ou carrega o plano inicial.',
- 'Load starter plan (Push / Pull / Legs)': 'Carregar plano inicial (Push / Pull / Pernas)',
'Superset with exercise above': 'Supersérie com o exercício acima',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Nota (opcional) — dicas de carga, ex. "só a barra, depois +1 anilha por lado a cada série", o que quiser lembrar',
'No exercises yet — add your first one.': 'Ainda sem exercícios — adiciona o primeiro.',
diff --cc frontend/src/locales/ru.js
index ba28cac53,468f64cec..d3c891715
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Данных пока нет',
'Your weekly routine': 'Твой недельный план',
'Week schedule': 'Расписание недели',
- 'Routines': 'Программы',
'No routines yet.': 'Программ пока нет.',
'Create one or load the starter plan.': 'Создай программу или загрузи стартовый план.',
- 'Load starter plan (Push / Pull / Legs)': 'Загрузить стартовый план (Push / Pull / Ноги)',
'Superset with exercise above': 'Суперсет с упражнением выше',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Заметка (необязательно) — подсказки по нагрузке, напр. «только гриф, затем +1 блин на сторону каждый подход», всё, что стоит запомнить',
'No exercises yet — add your first one.': 'Упражнений пока нет — добавь первое.',
diff --cc frontend/src/locales/tr.js
index 5ab33f408,6a17218b6..0b0853bcd
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': 'Henüz veri yok',
'Your weekly routine': 'Haftalık rutinin',
'Week schedule': 'Hafta programı',
- 'Routines': 'Rutinler',
'No routines yet.': 'Henüz rutin yok.',
'Create one or load the starter plan.': 'Bir tane oluştur ya da başlangıç planını yükle.',
- 'Load starter plan (Push / Pull / Legs)': 'Başlangıç planını yükle (Push / Pull / Bacak)',
'Superset with exercise above': 'Üstteki egzersizle süperset',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Not (isteğe bağlı) — yükleme ipuçları, örn. "sadece bar, sonra her sette +1 disk/taraf", aklında tutmak istediğin her şey',
'No exercises yet — add your first one.': 'Henüz egzersiz yok — ilkini ekle.',
diff --cc frontend/src/locales/zh.js
index d42b39d76,3ae64ff34..ad32543a8
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@@ -233,9 -243,9 +247,8 @@@ export default
'No data yet': '暂无数据',
'Your weekly routine': '你的每周安排',
'Week schedule': '每周日程',
- 'Routines': '训练日',
'No routines yet.': '还没有训练日。',
'Create one or load the starter plan.': '创建一个或加载入门计划。',
- 'Load starter plan (Push / Pull / Legs)': '加载入门计划(推 / 拉 / 腿)',
'Superset with exercise above': '与上面的动作组成超级组',
'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': '备注(可选)— 加重提示,例如"空杠开始,之后每组每侧+1片",任何你想记住的内容',
'No exercises yet — add your first one.': '还没有动作——添加第一个吧。',
diff --cc frontend/src/sheets.jsx
index 256c82f3c,45fad654e..3b698b1ca
--- a/frontend/src/sheets.jsx
+++ b/frontend/src/sheets.jsx
@@@ -4,12 -4,12 +4,12 @@@ import { useUI } from './store/useUI.js
import { EXDB, EXIDX, BODYPARTS, isCardio, isBodyweightEq, allExercises, equipmentOf, smOf, matchExercise, exOr } from './lib/exercises.js'
import { activeProfile, exAvailable, ALL_EQUIPMENT, newProfile } from './lib/equipment.js'
import { fmtDate, fmtNum, fmtVol, fmtDur, durPart, todayISO, isoOf, uid, exCount, DAYN, DAYS, weekOrder, weekStartOf, weekDayOffset, MONTHS_LONG, ACCENTS } from './lib/format.js'
-import { lastEntryFor, bestWeightFor, buildSets, effectiveRoutineId, workoutVolume, setsDone, setsDoneActive, lastBW, supersetUnits, unitOf, setLabel, defaultConfig, cleanupSg, modeOf, effortOf, isBw, isPerSide, sideReps, workSetsDone, applyIntensifierPlan, MAX_PLANNED_WARMUPS, NOTE_MAX } from './lib/history.js'
+import { lastEntryFor, bestWeightFor, bestWeightForEntry, buildSets, effectiveRoutineId, workoutVolume, setsDone, setsDoneActive, lastBW, supersetUnits, unitOf, setLabel, defaultConfig, cleanupSg, modeOf, effortOf, isBw, isPerSide, sideReps, workSetsDone, applyIntensifierPlan, MAX_PLANNED_WARMUPS, NOTE_MAX } from './lib/history.js'
import { usesBar, barWeightFor, defaultBarWeight, hasBarOverride } from './lib/bar.js'
import { beep, vibrate } from './lib/sound.js'
- import { t, instrFor, exerciseNameFor, getLang, INSTR_LANGS } from './lib/i18n.js'
+ import { t, dateLocale, instrFor, exerciseNameFor, getLang, INSTR_LANGS } from './lib/i18n.js'
import { nav } from './lib/nav.js'
- import { starterRoutines } from './lib/starter.js'
+ import { buildStarterPlan, starterPlanDays, starterPlanOptions } from './lib/starter.js'
import Media, { Thumb } from './components/Media.jsx'
import Stepper from './components/Stepper.jsx'
import Icon from './components/Icon.jsx'