Countdown Day

by zenpuro
5
4
3
2
1
Score: 50/100

Description

Countdowns & memorial days for Obsidian — solar & lunar calendar, note-based events, embeds, reminders. 倒数日·纪念日插件(支持农历)

Reviews

No reviews yet.

Stats

0
stars
76
downloads
0
forks
29
days
21
days
21
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
9
commits

Latest Version

21 days ago

Changelog

Clearer custom-value editing in the card form, and safer swipe behavior.

Changed

  • Custom-value wheel sheet: static context labels (提前 / 天) now frame the number wheel, so scrolling moves only the number — never the labels
  • Desktop form: a visible range hint ("Enter a whole number between {min} and {max}") sits under the custom-value input and turns error-red while the value is out of range, instead of a silently disabled confirm button
  • Form type segments use shorter, singular labels (Countdown / Anniversary / Birthday) so they fit beside the "Type" label; the row wraps when space runs out
  • Custom repeat interval is capped at 31 (a full month of days), previously 99

Fixed

  • Swipe gesture is bound to the row container only: a touch on the divider seam can no longer leak into Obsidian's tab-swipe navigation
  • A cancelled touch snaps back to the pre-drag state; closing a card always clears its open state

Full test suite (236 tests) passes.

README file from

Github

Countdown Day

中文说明

An Obsidian plugin for tracking countdowns and memorial days — birthdays, anniversaries — with full solar & lunar calendar support (leap months included).

Features

  • List view — one row per event (name, date with lunar label, big day count), soonest first; pinned on top, expired sink to the bottom; type filters (all / countdowns / anniversaries / birthdays). Text actions on desktop, left-swipe on touch devices.
  • Sheet-style dialogs — bottom sheets on mobile, centered on desktop; month-grid date picker on desktop, iOS-style wheel on mobile; solar/lunar picks convert automatically, so an invalid date can never be entered.
  • Repeat — never / daily / weekdays / weekly / monthly / yearly, or custom every-N-days. Yearly lunar events fall back automatically in years without that leap month or a 30th day.
  • Events are notes — one markdown file per event (default folder Countdowns/), frontmatter is the data. Edit by hand or via the form — the view updates live.
  • Embed anywhere — render event rows in any note with a countdown code block.
  • Reminders — multi-select days ahead; desktop system notifications (Obsidian notices as fallback / on mobile), once per occurrence and day.
  • Bilingual UI (English / 简体中文), follows your Obsidian language.

Usage

Creating events

Open the view via the ribbon icon (calendar-clock) or the command palette ("Countdown Day: Countdown Days"), tap +, fill the form, save.

Embedding in a note

```countdown
type: birthday, anniversary
limit: 5
```
Option Format Default Description
type comma-separated types all filter by event type
limit positive integer unlimited show only the first N

Reminders

Pick one or more remind days on an event. A notification fires when today is exactly one of those days ahead of an occurrence — checked at startup, every 10 minutes, and when events change; once per occurrence and day.

Settings

  • Events folder — where event files live (default Countdowns/); created automatically on first event.

Event file format

File name = event name; body = your notes. Frontmatter fields (unknown fields are always preserved):

Field Values Default Description
type countdown / anniversary / birthday required event type
date yyyy-MM-dd required event date (lunar month/day for lunar events)
calendar solar / lunar solar calendar of date (lunar: years 1900–2100, leap months)
leap-month boolean false lunar only: the month is a leap month
repeat none / daily / weekdays / weekly / monthly / yearly / custom none repeat rule
repeat-every integer ≥ 1 — custom only: every N days
note "[[Note]]" — linked note
remind integer or list ≥ 0 — days ahead to notify, 0 = on the day
pinned boolean false pin to top
---
type: birthday
date: 1985-06-08
calendar: lunar
repeat: yearly
note: "[[Family]]"
remind: [0, 3]
pinned: true
---
Your notes here.

Install

Until the plugin is listed in the community marketplace:

  1. Download main.js, manifest.json, styles.css from the latest release.
  2. Put them in <vault>/.obsidian/plugins/countdown-day/.
  3. Enable "Countdown Day" in Settings → Community plugins.

Development

npm install
npm run dev     # watch build
npm test        # vitest
npm run build   # type-check + production bundle

License

MIT