memory-bank/components/ide-proxy.md
The IDE Proxy is a lightweight component in Gitpod that serves static assets related to IDEs, including IDE logos, binaries, and configuration files. It acts as a centralized service for delivering IDE-related static content to other components of the Gitpod platform, particularly the dashboard and workspaces.
The primary purposes of the IDE Proxy component are:
The IDE Proxy is built on Caddy, a modern web server with automatic HTTPS capabilities. It consists of several key components:
Dockerfile: Builds the IDE Proxy container imageconf/Caddyfile: Main configuration file for the Caddy serverstatic/image/ide-logo/: Contains SVG logos for various IDEsstatic/bin/: Contains binaries for Gitpod Local Companion (added during build)static/code/: Contains VS Code marketplace information (added during build)The component serves SVG logos for various IDEs:
The component serves binaries for:
The IDE Proxy implements several routing rules:
/www directory with appropriate headers/blobserve/* requests to the blobserve service/live and /ready endpoints for health monitoringThe IDE Proxy is configured through the Caddyfile, which includes:
blobserve: For serving IDE-related blob contentide-metrics: For metrics collectionlocal-app: For Gitpod Local Companion binariesThe IDE Proxy integrates with:
The IDE Proxy is typically used to: