Widgets
Show your fast, streak and points on your desktop or phone. All widgets read one address with your personal key (make one here; a read-only key is enough):
https://snakediet.org/api/v1/widget?key=YOUR_KEY
Ready-made files are below. Any other app that can read a web address works too.
Downloads
Paste your key (starts with sd_) where the file says PASTE_YOUR_API_KEY_HERE. These files also work with a MyFitLevel key.
- Windows: Lively wallpaper (drag the zip into Lively) · Rainmeter skins
- Mac: Übersicht widget
- iPhone / iPad: Scriptable script (put your key in the widget's Parameter field)
- Linux: Conky config (needs curl and jq)
Where to put it
- Windows: Lively Wallpaper or Rainmeter (both free), a "web/JSON" widget with the address above.
- Mac: Übersicht (free), or Scriptable on iPhone/iPad.
- Linux: Conky with
curlandjq. - Android: KWGT or HTTP Shortcuts (free).
- iPhone: a Shortcut that reads
/api/v1/summary?format=text&key=YOUR_KEY.
What the address returns
{"ok":true,"name":"Emil","username":"Emil","level":24,"xp":11368,"level_xp":478,"level_need":677,"level_pct":71,
"streak":5,"week_points":685,"today_label":"Fasting 14.2 h",
"fasting_now":true,"fast_hours":14.2,"longest_fast_hours":62.5}
xp = your KTN points, level_pct = progress to the next level, week_points = KTN from fasts since Monday. Refresh no more often than every minute or two.