abhinai2244/cf-bypass ? reverse-engineered prompt
Reverse engineered prompt
Build me a small API service that uses a real browser to get through Cloudflare style browser checks for sites I own or am allowed to test, and return the session cookies or a token I can reuse in my own tooling.
I want one POST endpoint at /cloudflare that accepts a target domain and a mode for either a normal browser check page or a Turnstile widget. If it helps, support an optional proxy too. Please make it fast, use caching so repeat requests for the same domain come back quickly, and include useful response data like the cookie values, user agent, elapsed time, and whether the result came from cache.
I’d like it to run locally with Bun and also in Docker, with a simple setup and sensible defaults. Keep it lightweight and practical, and if you need to check the current docs for the browser automation library or Bun, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit