noatpad / obsidian-grandfather

A simple Obsidian plugin to display the time and date on the status bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grandfather

A rather simple plugin that displays the time (and date, if you desire) on your status bar. I just made this to dabble with the Obsidian API as I migrate my notes to it.

You can select from a list of predefined time formats, or use a custom format that you can define youself, which you can find information about here.

Demo image

Installation

From Obsidian

  • Within Obsidian, browse community plugins in Settings -> Community plugins & search for this plugin
  • Install and enable the Grandfather plugin

From GitHub Releases

  • Go to the latest release here, & download the grandfather.zip file
  • Extract the zip's contents to your vault's plugin folder: <vault>/.obsidian/plugins
  • Reload Obsidian & enable the plugin in Settings -> Community Plugins

From GitHub repo

  • Clone the repo
  • Run npm i && npm run build to build the plugin file locally
  • Copy manifest.json and dist/main.js to a new folder in your vault's plugin folder: <vault>/.obsidian/plugins
  • Reload Obsidian & enable the plugin in Settings -> Community Plugins

Development

You can also continue to develop and customize the plugin to your liking (it's still a simple clock though, so I'd be surprised honestly):

  • Clone the repo
  • Run npm i to install dependencies
  • Run npm run dev to run a watch script that'll automatically move changes to your plugins folder
    • Remember to change TEST_VAULT in rollup.config.dev.js to the vault you'll be testing the plugin on
  • Reload Obsidian if necessary

About

A simple Obsidian plugin to display the time and date on the status bar


Languages

Language:TypeScript 78.2%Language:JavaScript 21.8%