Hybrid Ruby development environment — Opal (Ruby → JavaScript) & Ruby WebAssembly.
atomeX is a hybrid Ruby development environment designed to compile Ruby code into JavaScript using Opal or run Ruby directly in WebAssembly (WASM).
This environment provides a clean structure to build portable Ruby applications for the web.
git clone https://github.com/atomecorp/atomeX.git
./setup.sh
cd atomeX
Optional: modify the app/index.rb file to your needs, if you want
ruby builder.rb
Possible options are --opal
or --wasm
for production build, add --production
to the command.
ruby builder.rb --wasm --production
cd build
ruby -run -e httpd . -p 9292
For full details about the project structure and API usage, see:
This project is licensed under the MIT License — see the LICENSE file for details.