Start a global chat to create one!
or click Generate above!
lessons, or click Generate!
localStorage. This is per-browser, not per-account — settings won't sync across devices or browsers.
The Execute tab sends your code Base64-encoded as JSON to a local FastAPI server you run on your machine (or LAN). The server compiles the code with gcc / g++, runs it, and streams the output back.
The server should return a StreamingResponse with text/plain. The client reads the stream chunk-by-chunk and displays it in real time.
Install: pip install fastapi uvicorn
Run: uvicorn server:app --host 0.0.0.0 --port 8765
You can use any compiler binary installed on the server machine. Examples:
Your FastAPI server must include CORS headers that allow requests from the browser. The sample above includes allow_origins=["*"] which works for local development.