Skip to content

Add text-to-speech notifications for project-aware announcements#4

Open
Nicomalacho wants to merge 1 commit intopanta82:mainfrom
Nicomalacho:feat/text-to-speech
Open

Add text-to-speech notifications for project-aware announcements#4
Nicomalacho wants to merge 1 commit intopanta82:mainfrom
Nicomalacho:feat/text-to-speech

Conversation

@Nicomalacho
Copy link

Summary

  • Adds text-to-speech (TTS) support so notifications announce the project name instead of playing generic ding sounds
  • On generation complete: speaks "[project name] is done"; on permission requests: speaks "[project name] needs permission"
  • Project name is auto-derived from the directory name (e.g. my-api-server → "my api server"), or can be set explicitly via textToSpeech.projectName in config

Configuration

New textToSpeech section in notificator.jsonc:

Option Default Description
enabled true Toggle TTS on/off
projectName auto from directory Custom name to announce
voice Samantha macOS voice (say -v ? to list all)
rate 200 Speech rate in words per minute

Platform support

  • macOS: Uses built-in say command
  • Linux: Uses espeak (commonly available)
  • Errors are silently caught — TTS is non-critical

Replace generic ding sounds with spoken announcements that identify
the project by name. On generation complete it says '[project] is done',
on permission requests it says '[project] needs permission'.

The project name is auto-derived from the directory name, or can be
set explicitly via textToSpeech.projectName in the config. Voice and
speech rate are also configurable. Uses macOS 'say' and Linux 'espeak'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant