voice-notify

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL