Life In Weeks

Life In Weeks

Visualize your life in weeks inside Obsidian. Dynamic, auto-updating grid powered by Dataviewjs.

Obsidian Life in Weeks

A dynamic "life in weeks" grid for Obsidian. Visualize your entire life as a grid of weeks — each cell is one week. Lived weeks are colored green, the current week is red, and future weeks are gray. The grid updates automatically every time you open the note.

Inspired by Tim Urban's "Your Life in Weeks".

screenshot

Features

  • Auto-updating — colors update every time you open the note
  • Configurable birth date — set birth in frontmatter
  • Configurable max age — set maxAge in frontmatter (default: 70)
  • Print-friendly — colors are preserved when printing (Cmd+P / Ctrl+P)
  • Lightweight — pure CSS + Dataviewjs, no extra plugins needed beyond Dataview

Installation

1. Install Dataview plugin

  • Open Obsidian → Settings → Community Plugins → Browse
  • Search for Dataview and install it
  • Enable JavaScript Queries in Settings → Dataview

2. Add the CSS snippet

  • Copy life-grid.css to your vault's .obsidian/snippets/ folder
    • If the snippets folder doesn't exist, create it
  • Go to Settings → Appearance → CSS Snippets
  • Click the refresh button, then toggle life-grid on

3. Add the note

  • Copy Life in Weeks.md to your vault (anywhere you like)
  • Open the note and switch to Reading View

4. Configure

Edit the frontmatter at the top of the note:

birth: 1995-01-01   # Your birth date (YYYY-MM-DD)
maxAge: 70           # Maximum age to display (default: 70)

Printing

To print and pin on your wall:

  1. Open the note in Reading View
  2. Press Cmd+P (Mac) or Ctrl+P (Windows/Linux)
  3. Select your printer or "Save as PDF"
  4. Colors will be preserved automatically

Legend

ColorMeaning
🟩 GreenWeeks you've already lived
🔴 RedCurrent week
⬜ GrayWeeks remaining

Files

FileDescription
Life in Weeks.mdThe Obsidian note (copy to your vault)
life-grid.cssCSS snippet (copy to .obsidian/snippets/)

Requirements

  • Obsidian v1.0+
  • Dataview plugin with JavaScript queries enabled

License

MIT — use it, share it, modify it freely.

Related

How to Install

  1. Download the template file from GitHub
  2. Move it anywhere in your vault
  3. Open it in Obsidian — done!

Stats

Stars

1

Forks

0

Last updated 20d ago

Categories