0xgetz/shioriai2api ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Go service that turns shiori.ai into an OpenAI compatible API. I want to point normal OpenAI style apps at it and have chat requests work, including streaming replies, model listing, and reasoning style output. It should let me use my own shiori.ai login from the server side, support one account or a pool of accounts, and handle refreshing tokens automatically so I do not have to keep signing in.
Please make it simple to run locally, and also easy to start with Docker or Docker Compose. It should be protected with an API key, work with common clients like chat apps and SDKs, and keep the model list in sync with whatever shiori.ai currently offers. If it helps, look up any current shiori.ai or Cloudflare details online as you build it.
Are you gonna build this?
make sure you review the code using coderabbit