This project is an API that runs PGTune on Cloudflare Workers.
It can be used for automating the tuning of PostgreSQL.
Since it utilizes the source of PGTune, it is easy to stay up-to-date.
Make a request by setting values in the query parameters as shown below.
curl "https://pgtune-api.kobanyan-dev.workers.dev/?totalMemory=16"
Refer to the OpenAPI definition for details on query parameters.
bun install
bun run dev
bun run deploy