Skip to content

Add a calendar provider for the next meeting and today's agenda #18

Closed

Description

@M4n0x

Problem

A "next meeting" widget needs a script today, usually around icalbuddy:

  • It's a separate tool. Without Calendars access it prints nothing, so scripts must run a second check to tell "no events" from "no access".
  • Each script parses its text output for times and meeting links.
  • It's polled, so a new or moved event appears only at the next poll.

Proposal

A native, opt-in calendar provider using EventKit. It needs Calendars access (NSCalendarsFullAccessUsageDescription; Resources/Info.plist declares only Automation today).

  • Settings: which calendars to include (all by default), how far ahead to look, and lead times for the phases (for example 15 and 5 minutes).
  • Output:
    • fields: title, start, end, minutes, phase (none, later, soon, now, live), and link, the first Google Meet, Zoom or Teams URL from the event's URL, location or notes.
    • values.remaining from 0 to 1 for a countdown progress overlay, with targets so it shrinks smoothly.
    • lists.today for an agenda popup.
    • fields.access (granted, denied, notDetermined) so a popup can link to Privacy & Security.
  • A joinCommand field built only from URLs that match those patterns, for onClickField, so event text never reaches a shell.
  • Updates on EKEventStoreChanged and at minute and phase boundaries. This fits the push sources in Register data sources behind one interface, including event-driven ones #17. It could start as a polled native provider in today's NativeMetrics switch.

Possible today

Yes, with a script around icalbuddy or osascript, plus parsing, an access check and a poll interval. The agenda popup, Join button and countdown overlay can be built with today's popups and overlays.

Related

#17 (data sources) for push updates. #15 (named states): phase as a state a theme can colour. Open question: ad-hoc signed local builds get a new signature on each rebuild, so macOS may ask for Calendars access again after every build. Developer ID builds (#3) would keep it.

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 15, 2026
  2. stablebar-releases commented on Oct 21, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.5.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions