{% extends "base.html" %} {% block title %}Alberich: the widget{% endblock %} {% block body %}

The Widget

A real Android home-screen widget: your pouches as pixel buttons that log with one tap, even without opening anything. If the phone is out of range, taps are kept and sent later.

1. Install the widget app

{% if apk %}

A small app ({{ apk_kb }} KB) that holds the widget. It is signed with this machine's own key and is not on any store, so Android will ask permission to install from Chrome the first time.

Download the widget app {% else %}

The widget app has not been built on this machine yet.

{% endif %}

2. Make a key for this phone

The key lets the widget log spendings and read pouch counts. Nothing else. You can cancel it here at any time.

{% if new_token %}

3. Connect the app

Open this on the phone, with the widget app installed:

Connect the widget app

If that does nothing, open the app and paste these. The key is shown only once.

Then long-press the home screen, choose Widgets, find Alberich, and drag it out.

{% endif %}

Keys

{% for k in keys %} {% else %}{% endfor %}
NameMadeLast used
{{ k.name }}{{ k.created_at[:10] }}{{ (k.last_used_at or 'never')[:16] }} {% if k.revoked_at %}cancelled{% else %}
{% endif %}
No keys yet.
{% endblock %}