GoogleHomeNotifier

command module
v0.0.0-...-07b931b Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 15 Imported by: 0

README

Google Home Notifier

About

This program is designed for letting Google Home Speak text which was sent from Slack.

Install

  1. Download VOICEVOX Core and Open JTalk dict (UTF-8)
  2. Clone this repository and compile it.
  3. Move every files in voicevox_core to the GoogleHomeNotifier binary directory
  4. Specify settings on settings/settings.yaml
  5. Start

☆ If you are using Linux, you have to add libvoicevox_core.so to Library path.

export LD_LIBRARY_PATH=/path/to/so/directory:$LD_LIBRARY_PATH

Settings

GoogleHome:
  Addr: # Google Home IP address
  Port: 8009 # GoogleHome port number 
  Detach: true  # Optional
  ForceDetach: true # Optional
  Volume: 0.5 # play volume

Voicevox:
  SpeakerID: 3 
  OpenJtalkDictDir: "open_jtalk_dic_utf_8-1.11" # You have to specify Open JTalk's dict path
  MaxDuration: 5 # the message will be interrupted when this amount of time (in seconds) has passed

Slack:
  Token: # Slack bot token, which has permissions of app_mentions:read, chat:write, and users:read, (and optinally, chat:write.customize)
  AppLevelToken: # Slack App level token, which has a scopeof connections:write.
  Icon: # (optional) icon emoji You can use this if you add chat:write.customize permission.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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