Life in Weeks

unlisted

by XXL Steve

Show your life and its events in weeks. Inspired by Buster Benson's Life in Weeks.

1 starsUpdated 6mo agoMIT
View on GitHub

Life in Weeks for Obsidian

Create a Life in Weeks note that displays a grid of weeks, and add events to those weeks!

Inspired by Buster Benson's Life in Weeks, and the idea is from Wait But Why.

life-in-weeks-demo

Usage

Use the generator using the ribbon icon 'Create new Life in Weeks note'. If not, format your note this way:

  1. Add the property lifeinweeks-plugin: true in your frontmatter.
  2. At the end of your Markdown file, add the (empty) configuration (you can then use the 'Open configuration' button to set the values):
%% lifeinweeks:settings
\`\`\`
{
}
\`\`\`
%%

Adding events

## YYYY-MM-DD: Event name
Event description

You can omit the colon. Example:

## 2000-01-01 Y2K
That was *scary*! (Yeah, you can use markdown, but don't put a H2 or H1 as it will mess up the parsing.)

Supported languages

English, French, Russian

Manual Installation

  1. Download the BRAT from the Obsidian Community plugins, and add this plugin from by copying this repository's link (In BRAT: Options -> Add Beta plugin -> Paste repo's URL).
  2. Enable the plugin in Settings → Community Plugins

Dev Installation

Clone this repository into your vault's plugins folder, then

# Install dependencies
npm install

# Start dev build (watches for changes)
npm run dev

# Build for production
npm run build

And enable the plugin in Obsidian

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an issue if you find any bugs or have feature requests.

Credits

src/components/FadeInOut.tsx: https://codesandbox.io/p/sandbox/react-fadein-out-transition-component-eww6j

src/hooks/useMarkdownRenderer.ts: https://github.com/Quorafind/Obsidian-Card-Library/blob/main/src/hooks/useMarkdownRenderer.ts

src/LifeinweeksView.tsx: https://github.com/korbinjoe/obsidian-textfileview-plugin-sample

To Do

  • Fix mobile popover overflow
  • Can't interact with expandable callouts
  • Ability to add events inside Life in Weeks view?
  • Add life phases (color coded)?

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.