Obsidian Life RPG: A Zero-DB Gamification Vault (CustomJS + Dataview)

Hey everyone! :waving_hand:

I got completely burned out by standard, lifeless to-do lists, so I decided to turn my daily routines into a full-fledged RPG. I wanted to share the custom vault framework I built for myself: Obsidian Life RPG.

Disclaimer (The AI Manifesto): As noted in the vibe-coding section above, I am not a hardcore TypeScript developer. The entire architecture, the pure JS engine, and the Dataview scripts were engineered by me alongside AI. It’s a bit scrappy, but it works flawlessly for my needs, and I’m releasing it AS IS under the MIT license. If you see code you don’t understand—just feed it to ChatGPT/Claude and tweak it to your liking!

What makes it different? (Zero-DB Architecture)

I didn’t want a fragile global JSON file or a bloated central database that could corrupt my whole game. Instead, the engine (RPG_Engine.js) uses event-sourcing. It dynamically scans your daily logs (05_Journal) and projects on the fly every time you open the dashboard. Your stats (HP, Gold, XP, Level) are calculated safely from your markdown history.

Core Features:

  • Dynamic Economy: Earn Gold and XP for deep focus and completing tasks (using inline tags like [difficulty:: Easy]).
  • HP & Discipline: Procrastination or failed quests deal damage. Drop to 0 HP, and your gold income is slashed by 50%.
  • Epic Quests: Long-term projects pay out in quartiles (25%, 50%, 75%, 100%) to prevent dopamine starvation.
  • Gamified Zettelkasten: The engine grants passive XP for every conceptual note you write in your Second Brain.
  • Yearly Heatmap: A GitHub-style matrix with absolute focus thresholds (rendered via Shadow DOM to prevent lag).

Requirements:

It runs on pure JavaScript inside Obsidian using:

  1. Dataview (Enable JS Queries & DataviewJS)
  2. CustomJS
  3. Templater

I’ve packed everything into a ready-to-use Vault structure. Since my account is new and the forum spam-filter doesn’t allow me to post links yet, you can easily find the project on GitHub:
:magnifying_glass_tilted_left: Search on GitHub for: Obsidian-RPG-Life-System-EN
:bust_in_silhouette: Author: Valluk13

Feel free to download it, break the balance, add new items to the Shop, and use it to conquer your own tasks. Let me know what you think!