A modern web-based IDE for WebAssembly development, allowing you to write, compile, and test C code directly in your browser.
- Live Compilation: Write C code and compile it to WebAssembly in real-time
- Multiple Editors:
- C Code Editor
- JavaScript Editor
- HTML Preview
- Built-in Documentation: Comprehensive WebAssembly compilation guide
- Modern UI: Sleek dark theme with responsive layout
- Split Panels: Resizable panels for better workspace organization
- React + TypeScript
- Tailwind CSS
- Monaco Editor
- WebAssembly
- Clang (LLVM)
- Clone the repository:
git clone https://github.com/souhailBektachi/wasm-playground.git
cd wasm-playground
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:5173 in your browser
-
Download Clang Package:
- Click the "Download Clang Package" button when first using the application
- Wait for the package to initialize
-
Write Code:
- Use the C editor to write your WebAssembly code
- Write JavaScript code to interact with your WASM module
- Add HTML markup for visualization
-
Compile & Run:
- Click the "Compile & Run" button to build your WASM module
- View the results in the Preview panel
src/
├── components/ # React components
├── services/ # Core services (Clang, etc.)
├── store/ # State management
└── styles/ # Global styles and theme
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- LLVM Project for Clang
- Monaco Editor for the code editor
- React Resizable Panels for the panel layout
Made with ❤️ by [Souhail Bektachi]