in

An application that reports desktop notifications by voice


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.

GitHub

https://github.com/pyspa/voice-notify




Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

These 7 core apps will change in Windows 11 thumbnail

These 7 core apps will change in Windows 11

New Capoae Malware Infiltrates WordPress Sites and Installs Backdoored Plugin