Skip to content

Kilo Tracker 1.4.0

Choose a tag to compare

@ramondevries ramondevries released this 01 Nov 16:11
· 7 commits to main since this release

Kilo now tells visitors and search engines what it is. The front page explains Kilo below the sign-in form, every language has its own address for search engines, and a shared link shows a preview. Pages also load faster on a second visit. No database changes and no new requirements.

What's new

  • A front page that explains Kilo. Below the sign-in form there is now a short introduction: the moving average, the chart, quick entry, importing from The Hacker's Diet Online and Yet Another Diet Tool, sharing your chart, and how Kilo keeps your data private, with the video tutorial. The sign-in box itself got simpler: its "How does this work?" link is gone, and the new text ends with a link to the About page instead.
  • Link previews. A link to Kilo shared in a chat or on social media now shows a title, a short description and a picture of the chart.
  • Faster pages. Browsers now keep Kilo's style sheet, scripts and icons for up to a year instead of checking each file again on every page. After an update the addresses change, so you never get an old file.

Search engines

  • The front page has a real title ("Kilo Tracker — Free weight tracker with a moving average") and, with the About page, a description for search results.
  • Each language has its own address (/?lang=nl, /about?lang=de, ...), with hreflang and canonical links, so search engines can find all 15 languages instead of only English.
  • /sitemap.xml lists those addresses, and robots.txt points to it.
  • The sign-up, code, remove-data and error pages ask not to be indexed. Public charts stay out of search engines, as before.
  • Picking a language in the menu after arriving on a ?lang= address now switches the language as expected.

Translations

  • Swedish: a follow-up from @loneicewolf (#14): "den" instead of "dem", "Videoguide" for the video tutorial, and "min data" on the remaining buttons.
  • The 11 new texts are machine-translated in all 14 languages; corrections from native speakers are welcome (see TRANSLATING.md).

Self-hosting

  • The sitemap, robots.txt and the link previews need full addresses. Behind a reverse proxy, keep passing the Host and X-Forwarded-Proto headers (as in the README's examples): gunicorn trusts X-Forwarded-Proto from a proxy on the same machine, so the addresses start with https://.
  • CI now tests on Python 3.14.

Upgrading

No migrations and no new requirements. After git pull:

  1. pybabel compile -d translations (new texts in every language);
  2. restart the app.

Afterwards, the About page shows v1.4.0.

Full changelog: v1.3.1...v1.4.0