Go_assist – Offline Voice Assistant in Go with Web UI and IR Device Control

1 week ago 5

Alt Text

Install from release (raspberry pi)

  1. Download the latest release

  2. Unpack the release (replace 0.0.0-beta-1 with the latest version)

mkdir -p go_assist && tar -xvzf go_assist_0.0.0-beta-1.tar.gz -C go_assist
  1. Make the install script executable
chmod +x go_assist/install.sh
  1. Run the install script
sudo ./go_assist/install.sh

Go to http:// (defalult is raspberrypi.local) and you should see the app.

  1. IRTrans USB device
  2. Speakerphone with USB connection (for prod on raspberry pi)

Dev setup for macOS (arm64)

  1. install go from https://golang.org/doc/install
  2. install node with

or nvm with

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  1. install templ with
go install github.com/a-h/templ/cmd/templ@latest
  1. install portaudio with
  1. install ir-trans drivers from https://www.irtrans.de/en/download/mac.php
  2. install docker for mac from https://docs.docker.com/docker-for-mac/install/ (optional to create release builds)

No other development environments were tested apart from macOS arm64, but it should work on linux arm64, linux x64, macOS x64. It might take some extra step to create release builds on other arhitectures e.g. (x64).

  1. make install
  2. make configure
  3. make dev
  1. make dist
Read Entire Article