
Codex
NestJSNext.jsTypeScriptDockerPostgreSQLRedisBullMQSocket.IOPrismaTailwindCSS
A production-grade distributed code execution platform for securely running untrusted user code inside isolated Docker sandboxes.
Codex is a distributed code execution platform designed for securely running untrusted user code inside isolated Docker sandboxes with real-time streaming and collaborative editing.
It supports 7 programming languages (Python, JavaScript, TypeScript, Go, Java, C++, Rust), each running in resource-isolated Docker containers with defense-in-depth security — network isolation, read-only rootfs, capability drops, and per-language CPU/memory/timeout limits.
Key features include:
- 🔒 Docker-sandboxed code execution with real-time output streaming via WebSocket
- 🤝 Collaborative coding rooms with live editor sync and cursor tracking
- 📝 Built-in challenge library with test case management and leaderboard
- 🔐 JWT authentication with refresh token rotation and RBAC
- ⚡ Queue-backed async workers (BullMQ) for horizontal scaling
- 📊 Prometheus + Grafana monitoring and GitHub Actions CI/CD