Browser Port

•

Compile open-source C and C++ SDL or Raylib games into playable WebAssembly browser applications with automated verification and packaging.

Browser Port automates the end-to-end pipeline of converting desktop C and C++ games using SDL2 or Raylib into web-playable WebAssembly applications. Pointing directly at a repository, it analyzes source dependencies and assets, compiles the project using Emscripten with an automated auto-fix retry ladder, and resolves blocking main loops using build-time shims. It packages the output into a ready-to-host static site and verifies execution inside a headless Chrome instance to measure frame rates and ensure zero console errors. If an application uses unsupported native toolkits or threading models, it provides an honest, actionable diagnosis detailing why.

主要功能

01Self-healing build system that automatically retries and fixes common build failures and uncompiled sources
02One-command compilation pipeline transforming C/C++ SDL2 and Raylib codebases into WebAssembly
03Non-invasive loop shimming via ASYNCIFY and wasm-ld wrapping to adapt blocking desktop loops without source edits
04Automated headless browser verification using Playwright to confirm non-blank rendering and track real-time FPS
05Model Context Protocol (MCP) server support enabling AI coding agents to autonomously port and test games
060 GitHub stars

使用案例

01Turn classic open-source desktop SDL2 or Raylib games into playable web links hosted on static websites
02Enable AI development agents like Claude Code or Cursor to compile and verify browser-ready WebAssembly ports
03Quickly inspect repository compatibility and detect unsupported architectures before manual migration efforts