mirror of
https://github.com/lyx0/ollama-twitch-bot.git
synced 2024-11-06 18:52:03 +01:00
rename project
This commit is contained in:
parent
3d9bee1512
commit
f31e75b73b
8 changed files with 11 additions and 21 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -15,12 +15,5 @@
|
||||||
# vendor/
|
# vendor/
|
||||||
|
|
||||||
.env
|
.env
|
||||||
Nourybot
|
OllamaTwitchBot
|
||||||
Nourybot.out
|
OllamaTwitchBot.out
|
||||||
Nourybot-Api
|
|
||||||
Nourybot-Api.out
|
|
||||||
NourybotApi
|
|
||||||
NourybotApi.out
|
|
||||||
nourybot-api
|
|
||||||
Nourybot-Web
|
|
||||||
nourybot-web
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ COPY .env .
|
||||||
RUN go get -d -v ./...
|
RUN go get -d -v ./...
|
||||||
|
|
||||||
# Build the Go app
|
# Build the Go app
|
||||||
RUN go build -o Nourybot.out .
|
RUN go build -o OllamaTwitchBot.out .
|
||||||
|
|
||||||
# Run the executable
|
# Run the executable
|
||||||
CMD [ "./Nourybot.out"]
|
CMD [ "./OllamaTwitchBot.out"]
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -1,13 +1,12 @@
|
||||||
build:
|
build:
|
||||||
go get -d -v ./...
|
go get -d -v ./...
|
||||||
go build -o Nourybot.out .
|
go build -o OllamaTwitchBot.out .
|
||||||
|
|
||||||
run:
|
run:
|
||||||
./Nourybot.out
|
./OllamaTwitchBot.out
|
||||||
|
|
||||||
jq:
|
jq:
|
||||||
./Nourybot.out | jq
|
./OllamaTwitchBot.out | jq
|
||||||
|
|
||||||
|
|
||||||
up:
|
up:
|
||||||
docker compose down
|
docker compose down
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# NourybotGPT
|
# Ollama Twitch Bot
|
||||||
|
|
||||||
Twitch chat bot that interacts with ollama. Work in Progress.
|
Twitch chat bot that interacts with ollama. Work in Progress.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nourybotgpt:
|
ollamatwitchbot:
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
|
|
@ -7,7 +7,7 @@ TWITCH_OAUTH=oauth:cooloauthtokenhere
|
||||||
# Comma seperated list of twitch channels the bot should join (no spaces)
|
# Comma seperated list of twitch channels the bot should join (no spaces)
|
||||||
TWITCH_CHANNELS=channelone,channeltwo,channelthree
|
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
|
OLLAMA_MODEL=wizard-vicuna-uncensored
|
||||||
|
|
||||||
# There are three context models to choose from, think of it like chat history.
|
# There are three context models to choose from, think of it like chat history.
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module github.com/lyx0/nourybot-gpt
|
module github.com/lyx0/ollama-twitch-bot
|
||||||
|
|
||||||
go 1.22.0
|
go 1.22.0
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -41,8 +41,6 @@ func main() {
|
||||||
sugar.Fatal("Error loading .env")
|
sugar.Fatal("Error loading .env")
|
||||||
}
|
}
|
||||||
|
|
||||||
//tc := twitch.NewClient(config.twitchUsername, config.twitchOauth)
|
|
||||||
|
|
||||||
userMsgStore := make(map[string][]ollamaMessage)
|
userMsgStore := make(map[string][]ollamaMessage)
|
||||||
|
|
||||||
app := &application{
|
app := &application{
|
||||||
|
|
Loading…
Reference in a new issue