Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.09 KB

README.md

File metadata and controls

65 lines (47 loc) · 1.09 KB

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