Cloud / DevTools

Intui

Secure online code execution platform with Docker sandboxing.

Intui

Tech Stack

DockerGoogle Cloud RunNext.jsREST API

Links

Building a platform that executes untrusted code requires a robust security model. The goal for Intui was to create a fast, scalable, and secure environment where users could run code in multiple languages without compromising the host system.

Key Features

  • Docker Isolation: Every execution runs in a fresh, ephemeral Docker container, ensuring complete process isolation.
  • Multi-Language Support: Pre-configured environments for Python, JavaScript, Go, and Rust.
  • Scalable Architecture: Deployed on Google Cloud Run to handle spikes in traffic efficiently.
  • Security First: Comprehensive rate limiting and authentication to prevent API abuse.

Technical Deep Dive

The backend API receives code snippets, spins up a specialized Docker container tailored for the requested language, executes the code within a resource-limited environment, and returns the output via a secure stream.

Outcome

Intui provides a seamless experience for developers to test and run code snippets safely, maintaining an average execution overhead of less than 200ms.