minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Support for notifications

Open bartmichalak opened this issue 8 months ago • 4 comments

First of all, thanks for the app! Great initiative, and it solves the privacy issues around recording meetings.

I started using it today and noticed that I forgot to stop the recording twice after a meeting, which resulted in a 2x longer transcript that was half empty. I think a notification like "Hey, are you still on the call?" would be helpful here... or maybe I just need to get used to it and remember to stop the recording once the call is done?

It's more of a suggestion than an actual issue - curious if anyone else would find it useful.

bartmichalak avatar Mar 30 '26 16:03 bartmichalak

Hey @bartmichalak, thanks for opening this! 👋

Minutes is actively maintained and we read every issue. If you're interested in tackling this yourself, check out CONTRIBUTING.md to get started.

We'll take a look soon.

github-actions[bot] avatar Mar 30 '26 16:03 github-actions[bot]

Thanks @bartmichalak — glad you're finding it useful!

This is a good idea. A few approaches that could work:

  1. Silence detection reminder — if the audio stream has been mostly silence for N minutes (e.g., 5 min), fire a desktop notification: "Still recording — meeting ended?"
  2. Calendar-aware auto-stop — if a calendar event is matched at recording start, remind/auto-stop when the event ends
  3. Max duration guard — configurable max recording length (e.g., 2 hours) with a warning notification before auto-stopping

The silence detection approach is probably the most universally useful since it works without calendar integration.

For now, a quick workaround: if you're on macOS, you can set a Shortcuts automation or a simple timer. On Linux, sleep 3600 && minutes stop in another terminal works in a pinch.

Leaving this open as an enhancement — it's a good quality-of-life feature.

silverstein avatar Mar 30 '26 16:03 silverstein

Silence detection reminder

This one could also be useful for catching situations like this: https://github.com/silverstein/minutes/issues/36

😀

Thanks for the tip about the Shortcuts automation, sounds like a reasonable solution for now.

bartmichalak avatar Mar 30 '26 20:03 bartmichalak

Implemented in 705436b + the follow-up commit on main.

How it works: During recording, Minutes monitors the audio input level (already tracked at ~10x/sec for the level meter). If the level stays below a configurable threshold for 5 minutes, a macOS notification pops up:

Minutes: No audio detected for 5 minutes. Still recording — run minutes stop when done.

Configuration (~/.config/minutes/config.toml):

[recording]
silence_reminder_secs = 300  # 5 minutes (set to 0 to disable)
silence_threshold = 3        # audio level 0-100

The notification resets if audio resumes, so it won't spam you during a long pause in conversation. Uses macOS native notifications (via osascript) — falls back to stderr on other platforms.

This also helps catch the audio degradation scenario from #36 — if AirPods disconnect and the mic goes silent, you'll get a heads-up.

Will ship in the next release.

silverstein avatar Mar 30 '26 22:03 silverstein