from fastapi import FastAPI, Response from fastapi.responses import HTMLResponse, RedirectResponse import uvicorn app = FastAPI() # Extracted GitHub cookies from the provided file TARGET_URL = "https://bug-free-goggles-97p77ppq5vpq2p65v.github.dev/" @app.get("/", response_class=HTMLResponse) async def index(): html_content = f""" GitHub Codespace Redirect

Welcome Back

Click the button below to access your GitHub Codespace instantly without signing in.

""" return HTMLResponse(content=html_content) if __name__ == "__main__": uvicorn.run(app, host="0.0.0.0", port=8000)