{% set x = c.ctx %}

A habit is an activity with its log button switched on. Add one on the Habits page (name + rhythm), or tick one-tap button on any activity above; set its time from to habit if minutes matter. Everything below is about letting other apps fill it in.

Calendar feeds

Practice apps, habit trackers and time trackers can publish what they record as a calendar (look for subscribe, publish or export to calendar โ€” a webcal:// link). Paste that link here, say which habit it feeds and which entry titles count, and Handlr reads it every {{ x.interval }} minutes. Each entry becomes one log, stamped when it ended, carrying its length. Re-reading is safe: an entry is written once, and one that later moves or grows has its old row struck through and a new one written. Recurring entries are skipped โ€” a schedule is a plan, not a record. Anything older than two days when it arrives counts for streaks and totals but earns no XP.

{% if x.kit_on %}

๐Ÿฆด Kit drafts. Point a feed at Kit ยท play or Kit ยท wear instead of a habit and each matching entry becomes a draft on Kit โ€” the times are there, you finish it (or discard it). A draft is not a log: it counts for nothing until you finish it. Pick the kit items once (a plug for Plug), or none to be asked each time. Tick log it without asking and each entry is written as a bout at its own times instead โ€” no draft to finish, no survey; it needs the items picked. One title per toy (Plug S, Plug L) is one row per toy. A lock never comes from a calendar. Entries that ended more than a week before the feed was added are left alone.

{% endif %} {%- macro kit_opts(f=None) -%} {%- if x.kit_on %} {% endif -%} {%- endmacro -%} {%- macro kit_pick(f=None) -%} {%- if x.kit_on and x.gear %}

{% endif -%} {%- endmacro -%} {% if x.feeds %}
{% for f in x.feeds %}
{% endfor %}
feedslabel ยท urltitle containslast fetch
{{ kit_pick(f) }}
{%- if f.last_fetch_at %}{{ f.last_fetch_at|rel(now) }} {%- if f.last_status == 'ok' %} ยท ok {{ f.last_seen }} seen ยท {{ f.last_matched }} matched ยท {{ f.last_new }} new {%- else %} ยท error {{ f.last_error }}{% endif %} {%- else %}never{% endif -%}
{% endif %} {% if x.habits %}

Several habits can read the same calendar โ€” one feed row per habit, each with its own title contains. The calendar is fetched once per pass however many rows share it.

Import a calendar file

No network at all: export from the other app, upload it here. The same file twice imports nothing twice.

{% else %}

Add a habit first โ€” a feed needs something to log into.

{% endif %} {% if x.egress %}

๐ŸŒ What this module reaches. {{ x.egress }} {% if hosted %}
On a hosted instance a feed URL must be on the public internet โ€” private and local addresses are refused.{% endif %}

{% endif %}

๐Ÿ“… Standing days bike on Mon, Wed, Fri โ€” your Handler issues the order

On each day you tick, an order for that habit lands in Training, due at midnight. Logging the habit completes it โ€” a ride logged before the order appeared still counts. Let it run out while you log a different habit and that is ๐ŸŒ€ Zoomies โ€” see Mischief. A habit with a family is a workout: cardio, strength or mobility. Doing another workout instead of the one ordered is judged by your Handler's temperament โ€” see Training plan.

{% if x.habits %}
{% for d in ['mon','tue','wed','thu','fri','sat','sun'] %}{% endfor %} {% for a in x.habits %}{% set on = (a.order_days or '').split(',') %} {% for d in ['mon','tue','wed','thu','fri','sat','sun'] %}{% endfor %} {% endfor %}
{{ d|title }}mindistancefamily
{{ a.icon }} {{ a.title }} {% if a.duration_src == 'habit' %}{% endif %}
{% else %}

Add a habit first.

{% endif %}