Skip to content

This repository is saving a Go Http Server connect to some GPT API server

License

Notifications You must be signed in to change notification settings

KeithLin724/gpt-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-go

Written By KYLiN, nexk1n


Project look like

You can chat with ai

Setup

You need add a file .env

File format

SERVER_API_URL=http://{SERVER_DOMAIN}/{root}
SERVER_URL=http://{SERVER_DOMAIN}

Recommend use our server to setup the API: Book-To-Comic

Run gpt-go

# run the server
go run .

Run in container

# build the project
docker-compose up --build -d

# shutdown the server
docker-compose down

# view the log 
docker-compose logs -f

# after build to run 
docker-compose up