taitestgame/deepapi — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small local Python service that turns DeepSeek Chat on the web into an OpenAI compatible API that I can point other AI tools at. I want to run it on my own computer, set my DeepSeek login in a simple env file, and have it expose the usual local API style endpoint with my own API key so apps can call it like a normal provider.

Please make it smart enough to use one account or rotate across multiple DeepSeek accounts from the env file so I do not hit limits as quickly. It should also notice when a login session expires and automatically sign back in without breaking requests. Use a real browser based approach that can get through Cloudflare and bot checks reliably.

Include a sample env file, a simple server I can start locally, and a tiny test client so I can confirm it works. Keep setup straightforward and document how to run it on localhost and which model names to use. Look up current docs online if you need to.

Want more depth? Deep Reverse