Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 1.04 KB

README.md

File metadata and controls

70 lines (49 loc) · 1.04 KB

seadog

CLI based AI Chat Bot for SPOs

Requirements

  • Go 1.20 or higher

Installing Go on Raspberry Pi4

If you need to install Go and using a raspberry pi 3 or 4 computer, you can use snap.

  1. Install snapd
sudo apt update
sudo apt install snapd
  1. Install Go
sudo snap install go --classic
  1. Check Go version
go version

Installation

  1. Clone the repository
git clone https://github.com/AstroWa3l/seadog.git
  1. Create a .env file and add the following variable in it
nano .env

MENDABLE_API_KEY=YOUR_MENDABLE_API_KEY

  1. Build the executable
go build seadog.go
  1. Run the executable and ask for help to find the commands
./seadog -h
  • (optional) copy the executable to /usr/local/bin to be able to run it from anywhere
sudo cp seadog /usr/local/bin
  • If you are using .env file, you need to copy it to /usr/local/bin as well
sudo cp .env /usr/local/bin

Run the executable from anywhere

seadog -h