Skip to content
prep-cookPublic

About

AI API gateway: one endpoint for many providers, with protocol translation, routing, failover and stream caching. Runs on Linux as a Docker image.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,194 Commits

Folders and files

cooker

cooker is an AI gateway from the prep-cook teams. The project is in the development and refactoring phase.

Run

cooker ships as the Docker image ghcr.io/prep-cook/cooker (tags <version> such as 0.3.0, and latest) for linux/amd64 and linux/arm64. The container runs as uid and gid 10001; the data directory must belong to that user.

mkdir -m 700 -p data
sudo chown -R 10001:10001 data
docker run -d --name cooker -p 127.0.0.1:8317:8317 -v "$PWD/data:/data" -e CK_MANAGEMENT_PASSWORD='REPLACE-WITH-A-STRONG-PASSWORD' ghcr.io/prep-cook/cooker:latest

An empty volume starts with the default settings on port 8317 and creates /data/cooker.db. Open http://127.0.0.1:8317/management.html and sign in with the management key you set in CK_MANAGEMENT_PASSWORD. Without CK_MANAGEMENT_PASSWORD (or management.secret-key in an imported data/config.yaml), every management request returns 403 and the dashboard cannot sign in. See docs/INSTALL.md for the config file, upgrades, backups and building from source.

About

AI API gateway: one endpoint for many providers, with protocol translation, routing, failover and stream caching. Runs on Linux as a Docker image.

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages