Skip to content

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

License

Notifications You must be signed in to change notification settings

kmc-jp/GoogleHomeNotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages