CLI based AI Chat Bot for SPOs
- Go 1.20 or higher
If you need to install Go and using a raspberry pi 3 or 4 computer, you can use snap.
- Install snapd
sudo apt update
sudo apt install snapd
- Install Go
sudo snap install go --classic
- Check Go version
go version
- Clone the repository
git clone https://github.com/AstroWa3l/seadog.git
- Create a .env file and add the following variable in it
nano .env
MENDABLE_API_KEY=YOUR_MENDABLE_API_KEY
- Build the executable
go build seadog.go
- 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