Skip to content

voice-notify is an application that reports desktop notifications by voice

License

Notifications You must be signed in to change notification settings

pyspa/voice-notify

Repository files navigation

Gitpod Ready-to-Code

Voice Notify

Voice-Notify is an application that reports desktop notifications by voice.

Voice-Notify tested only Linux.

Features

  • Speak smoothly with Google Cloud Text-to-Speech
  • Support D-Bus notifications
  • Support Pushbullet notification mirroring for Android and iOS

Install

go get -u github.com/pyspa/voice-notify

Requires

  • Cloud Text-to-Speech API service account key
  • Pushbullet API token (optional)
  • mpg123

Voice-Notify uses Google Cloud Text-to-Speech API. First, create a service account key referring to the document.

Also, it supports notification mirroring via Pushbullet's Real-time Event Stream API. To use this, generate an access token according to the Pushbullet documentation.

Usage

Usage:
  voice-notify [flags]

Flags:
      --config string   config file (default "/home/xxxx/.config/voice-notify.toml")
  -h, --help            help for voice-notify
  -t, --toggle          help message for toggle
      --version         version for voice-notify

Configuration

Voice-Notify changes the configuration in the configuration file or environment settings. The default settings are as follows.

[speech]
lang = "ja-JP"
speaking_rate = 1.5
pitch = 1.5
# Maximum number of characters to speak at one time
text_max = 256

[log]
debug = false
log = "stderr"
err_log = "stderr"

[pushbullet]
access_token = ""

[http]
addr = ":9001"

Voice-Notify uses viper. If you want to configure with environment values, see the viper documentation.

About

voice-notify is an application that reports desktop notifications by voice

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages