Skip to content

ikasamah/homecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homecast

Make your speaker speak.

homecast is a Go package to enable text-to-speech on Google Home in local network.

This is Go version of noelportugal/google-home-notifier

Install

$ go get -u github.com/ikasamah/homecast

Usage

ctx := context.Background()
devices := homecast.LookupAndConnect(ctx)

for _, device := range devices {
    err := device.Speak(ctx, "Hello World", "en")
}

Run example

$ go run $GOPATH/src/github.com/ikasamah/homecast/example/main.go

Server erxample

$ go run $GOPATH/src/github.com/ikasamah/homecast/example/server.go

Then, access following URL in your browser.

http://localhost:8080/?text=Ciao&lang=it

Author

Masayuki Hamasaki

About

Text-to-Speech on your Google Home

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages