rename project

This commit is contained in:
lyx0 2024-03-05 21:27:36 +01:00
parent 3d9bee1512
commit f31e75b73b
8 changed files with 11 additions and 21 deletions

11
.gitignore vendored
View file

@ -15,12 +15,5 @@
# vendor/
.env
Nourybot
Nourybot.out
Nourybot-Api
Nourybot-Api.out
NourybotApi
NourybotApi.out
nourybot-api
Nourybot-Web
nourybot-web
OllamaTwitchBot
OllamaTwitchBot.out

View file

@ -13,7 +13,7 @@ COPY .env .
RUN go get -d -v ./...
# Build the Go app
RUN go build -o Nourybot.out .
RUN go build -o OllamaTwitchBot.out .
# Run the executable
CMD [ "./Nourybot.out"]
CMD [ "./OllamaTwitchBot.out"]

View file

@ -1,13 +1,12 @@
build:
go get -d -v ./...
go build -o Nourybot.out .
go build -o OllamaTwitchBot.out .
run:
./Nourybot.out
./OllamaTwitchBot.out
jq:
./Nourybot.out | jq
./OllamaTwitchBot.out | jq
up:
docker compose down

View file

@ -1,4 +1,4 @@
# NourybotGPT
# Ollama Twitch Bot
Twitch chat bot that interacts with ollama. Work in Progress.

View file

@ -1,7 +1,7 @@
version: "3.7"
services:
nourybotgpt:
ollamatwitchbot:
user: "1000:1000"
build:
context: .

View file

@ -7,7 +7,7 @@ TWITCH_OAUTH=oauth:cooloauthtokenhere
# Comma seperated list of twitch channels the bot should join (no spaces)
TWITCH_CHANNELS=channelone,channeltwo,channelthree
# Ollama model that should be used. https://ollama.com/models
# Ollama model that you want to use. https://ollama.com/models
OLLAMA_MODEL=wizard-vicuna-uncensored
# There are three context models to choose from, think of it like chat history.

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/lyx0/nourybot-gpt
module github.com/lyx0/ollama-twitch-bot
go 1.22.0

View file

@ -41,8 +41,6 @@ func main() {
sugar.Fatal("Error loading .env")
}
//tc := twitch.NewClient(config.twitchUsername, config.twitchOauth)
userMsgStore := make(map[string][]ollamaMessage)
app := &application{