Neurodivergence-friendly gamification for Obsidian: XP, levels, streaks with freeze tokens, deterministic loot, and gothic-cyberpunk lore. Off-by-default.
  • TypeScript 95.7%
  • CSS 2.9%
  • JavaScript 1.4%
Find a file
Johannes Kaindl 223e2eb7c2
docs(readme): verbliebenen falschen Command-Namen im Feature-Bullet korrigiert
Der neue readme_lint-Check commands-match-manifest fand die Stelle, die beim
Gegenlesen von Hand durchgerutscht war: die Usage-Zeile war korrigiert, der
Feature-Bullet nannte weiter »Manual XP adjustment« / »Manuelle XP-Anpassung«.
Beide heissen jetzt wie die Oberflaeche.
2026-07-29 13:45:57 +02:00
.github/workflows feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
docs fix(store): real Developer Dashboard review findings 2026-07-25 15:32:12 +02:00
packs feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
src refactor(vendor): folder-suggest-Fremdkörper (kit/, ungepinnt) → Kit @0.18.0 unter kit-obsidian/ (UI-STANDARD §9) 2026-07-28 15:40:50 +02:00
tests fix(store): real Developer Dashboard review findings 2026-07-25 15:32:12 +02:00
.gitignore feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
AGENTS.md docs(agents): Developer-Dashboard-Status Passed (2026-07-25) protokolliert 2026-07-29 08:36:04 +02:00
biome.json refactor(vendor): folder-suggest-Fremdkörper (kit/, ungepinnt) → Kit @0.18.0 unter kit-obsidian/ (UI-STANDARD §9) 2026-07-28 15:40:50 +02:00
CHANGELOG.md docs(readme): EN+DE auf den _docs-README-Goldstandard umgebaut 2026-07-29 08:36:04 +02:00
CLA.md feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
CONTRIBUTING.md feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
esbuild.config.mjs fix(store): real Developer Dashboard review findings 2026-07-25 15:32:12 +02:00
eslint.config.mjs fix(store): adopt eslint-plugin-obsidianmd, fix everything it found 2026-07-25 14:09:30 +02:00
jest.config.js feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
LICENSE feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
LICENSE-DOCS feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
LICENSING.md feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
manifest.json chore(release): 1.0.6 2026-07-25 16:07:38 +02:00
package-lock.json fix(store): real Developer Dashboard review findings 2026-07-25 15:32:12 +02:00
package.json chore(release): 1.0.6 2026-07-25 16:07:38 +02:00
README.de.md docs(readme): verbliebenen falschen Command-Namen im Feature-Bullet korrigiert 2026-07-29 13:45:57 +02:00
README.md docs(readme): verbliebenen falschen Command-Namen im Feature-Bullet korrigiert 2026-07-29 13:45:57 +02:00
SECURITY.md feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
styles.css fix(css): drop the last !important (reduce-animations a11y override) 2026-07-25 16:07:32 +02:00
tsconfig.build.json feat: Kuro Gamification 1.0.0 — erste öffentliche Version 2026-07-25 10:25:26 +02:00
tsconfig.json feat(settings): implement getSettingDefinitions() alongside display() 2026-07-25 15:32:50 +02:00
versions.json chore(release): 1.0.6 2026-07-25 16:07:38 +02:00

Kuro Gamification

🇬🇧 English · 🇩🇪 Deutsch

Neurodivergence-friendly gamification for Obsidian — XP, levels, streaks with freeze tokens, deterministic loot drops, and optional lore, with everything that could escalate off by default.

License: AGPL-3.0 Docs: CC BY-SA 4.0 Release Platform

Your daily notes already record what you did — this plugin reads them and turns that into XP, levels and a streak that survives a missed day. It runs entirely inside your vault: no account, no server, no network access, and nothing that nags you unless you switch it on yourself.

Kuro Gamification

Features

  • XP from your daily notes — 2 XP per ticked checkbox + completion bonuses (50/75/90 %)
  • User-defined habits — frontmatter toggles qigong: true etc., XP per habit configurable
  • Weekly review/planning bonus — 50/30 XP on review_done / planung_done frontmatter
  • Streaks with freeze tokens — 2 free skip-days per month (configurable). Streak-bonus tiers at 3/7/14/30 days
  • 10-level progressionSIGNAL LOSTK U R O, all titles + thresholds editable in Settings
  • Deterministic loot drops — 1 drop per level above 1, 5 tiers (Common → Mythic), 50+ default rewards. Custom pool supported
  • Lore reveal — 10 narrative fragments, one per level. Ships with calm plain-language lore by default; ready-made gothic-cyberpunk and cozy packs are in the repo's packs/ folder, or import your own
  • Sidebar status widget + status code-block (```kuro-status embed in any note)
  • "Adjust XP manually…" — command for offline activities, gifts, mistakes
  • Export / import / reset — full data portability via JSON, plus loot/lore pack import/export
  • Bilingual — English and German; follows your Obsidian UI language on first launch

Why this exists

Most gamification plugins for note apps are built for neurotypical brains: hard streaks that punish you for missing one day, exponential XP curves that reward consistency over actual life, push notifications that nag you. This one was built for ADHD and autism:

  • Freeze tokens absorb gaps. A missed day doesn't break your streak.
  • Linear-quadratic XP curve. No exponential spike that gates progress behind weekend marathons.
  • Transparent calculation. Optional verbose breakdown shows exactly why each XP came from.
  • Every escalating feature off-by-default. No status-bar nag, no toast spam, no audio.
  • Pause individual features. XP from checkboxes? Off. Streaks? Off. Lore? Off. All independently.
  • Deterministic loot. Same options stay until you redeem one. No "reload for better picks" pattern.

Requirements

  • Obsidian ≥ 1.8.7, desktop or mobile (isDesktopOnly: false).
  • No external services, accounts, or network access — all XP/streak/loot/lore logic runs locally against your vault's daily notes.
  • No runtime dependencies.

Install

Community Plugins

Search for Kuro Gamification in Settings → Community plugins → Browse, then click Install and Enable.

Manual

  1. Download main.js, manifest.json, styles.css from the latest release and copy them into <vault>/.obsidian/plugins/kuro-gamification/
  2. Settings → Community plugins → Reload plugins
  3. Settings → Community plugins → Kuro Gamification → enable

From source

git clone https://codeberg.org/jkaindl/kuro-gamification
cd kuro-gamification && npm install && npm run build
# main.js manifest.json styles.css → <vault>/.obsidian/plugins/kuro-gamification/

Optionally install the CRT/phosphor aesthetic CSS snippet afterwards — see Aesthetic CSS below.

Usage

Quick start (3 clicks)

  1. Open the Kuro Status sidebar via the ribbon icon (terminal) or the command palette → "Open status sidebar"
  2. Tick a checkbox in your daily note → sidebar refreshes within ~1 second
  3. Once you reach Level 2 (200 XP), click the 🎲 Redeem loot button to redeem your first reward

Ongoing use

  • Ticked checkboxes in your daily note earn XP automatically as you save — no manual logging.
  • Add your own habits (frontmatter toggles like qigong: true) in Settings → Habits, each with its own XP value.
  • Set review_done: true / planung_done: true in a weekly note's frontmatter for the weekly review/planning bonus.
  • Embed a kuro-status code block (see Status code block below) in any note for a live status view without opening the sidebar.
  • Missed a day? A freeze token absorbs it automatically — no action needed, no streak lost.
  • Use the "Adjust XP manually…" command for offline activities, corrections, or gifts.

Configuration

Section What it controls
🎮 General Language (DE/EN), reduce-animations, status-bar item, action notices, verbose breakdown, sidebar enable/disable
📁 Paths Daily/weekly folder paths + date formats
XP sources XP per checkbox, completion bonuses, pomodoro key/threshold/bonus
🎯 Habits Add/edit/remove your own habit list (frontmatter key + label + XP)
📅 Weekly Review/planning frontmatter keys + XP
🔥 Streaks Day-qualification threshold, monthly freeze tokens
📊 Levels & loot Loot enable/disable, options per drop
📜 Lore Lore reveal enable/disable
📚 Packs Install/switch/delete loot·lore packs; per-unit export/copy/reset to factory
🛠 Advanced Log level; whole-state data export/import/reset (incl. XP)
About Version, link to in-vault docs

Status code block

Embed your status anywhere:

```kuro-status
mode: full          # full | compact | minimal
loot: show          # show | hide
lore: show          # show | hide
breakdown: hide     # show | hide
```

In your daily note frontmatter:

qigong: true
peloton: false
draussen: true
haushalt: false
pomodoros: 4

Then in Settings → Habits, add e.g.:

  • qigong🧘 Qi Gong → 10 XP
  • peloton🚴 Peloton → 15 XP
  • draussen🌳 Draußen → 10 XP
  • haushalt🏠 Haushalt → 10 XP

Pomodoros bonus is automatic when pomodoros >= threshold (default ≥ 4 → +10 XP).

Aesthetic CSS

This plugin works without external styling — it ships with sane structural CSS. For the full gothic-cyberpunk CRT terminal aesthetic (phosphor green, scanlines, flicker), see Aesthetic CSS · (DE) for the CSS and install instructions (it's kept as a doc, not a tracked .css file, so it isn't bundled and never shows up in CSS linting of the plugin's own source).

The snippet styles pre.kuro-status, pre.kuro-loot, and the [!kuro], [!levelup], [!spoiler], [!streak] callouts. It has no hard dependency on the Kuro theme (works under any theme that respects CSS custom properties).

How it works

The plugin watches vault.modify events (800 ms debounced) on your daily/weekly notes. On each trigger it re-reads the relevant notes' checkboxes and frontmatter, and pure-function engines compute the result from scratch — XP totals, level, streak state, and (once a new level is reached) a deterministic loot drop:

  • XpEngine sums XP from ticked checkboxes, completion-percentage bonuses, configured habits, and the weekly review/planning bonus, then derives the level from the linear-quadratic curve.
  • StreakEngine checks whether "today" met the day-qualification threshold, consumes a freeze token on a missed day instead of resetting, and applies streak-tier bonuses (3/7/14/30 days).
  • LootEngine picks a deterministic reward per level-up above 1 (seeded by level + save count, so a drop doesn't change on reload) from a 5-tier pool that's user-replaceable via packs.
  • LoreEngine reveals the narrative fragment tied to the new level, from whichever lore pack is active.

The engines carry no Obsidian imports, so they run in plain Node under jest — the UI layer (sidebar, status code-block, modals, settings tab) is a thin layer over these pure computations and the Obsidian API. Data is persisted to data.json via Obsidian's plugin data API; export/import/reset in Settings → Advanced operate on that same JSON. Module layout and the architectural rules behind it are documented in AGENTS.md.

Documentation

Contributing

Issues and pull requests go to Codeberg (the GitHub repo is a mirror). Development is test-driven — npm test must stay green, and the engines are the place where new rules belong. See CONTRIBUTING.md and AGENTS.md; contributions are accepted under the CLA.

Credits

  • Design seed by Jay (v6t2b9), 2026-03 to 2026-04
  • Codified into a plugin in 2026-04

License

Code: AGPL-3.0-or-later — see LICENSE. Documentation: CC BY-SA 4.0 — see LICENSE-DOCS.

A commercial license is available for uses incompatible with the AGPL — see LICENSING.md.

Copyright © 2026 Johannes Kaindl.