Categorygithub.com/kmc-jp/GoogleHomeNotifier
modulepackage
0.0.0-20231217094732-07b931b283be
Repository: https://github.com/kmc-jp/googlehomenotifier.git
Documentation: pkg.go.dev

# 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.

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author