/seadog

CLI based AI Chat Bot for SPOs

Primary LanguageGoGNU General Public License v3.0GPL-3.0

seadog

CLI AI Chat Bot for SPOs

Requirements

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. Example of how to run the program to start chatting with the bot

(option 1) Run the program using go run

go run seadog.go -cmd ask

(option 2) Build the executable and run it

go build seadog.go
./seadog -cmd ask

(option 3) Build the executable and run it from anywhere (Caution when doing this with any executable XD)

go build seadog.go
sudo cp seadog /usr/local/bin
sudo cp .env /usr/local/bin
seadog -cmd ask