These guides are designed to make you immediately productive with Opal, and to help you understand how all of the pieces fit together.
The guides for earlier releases are available here.
Everything you need to know to install Opal and create your first application.
await support in Opal and how you can use it to avoid explicit callbacks and promises.
How to enable and consume source-maps for your Opal application and be able to debug your Ruby scripts right inside the browser.
How to work with template libraries in Opal, be it to share the templates with the server or to write your own.
How to use
The most basic setup for a static Opal powered website that can be hosted anywhere.
Serve Opal applications through Sinatra and
Setup Roda + Sprockets to start serving Opal applications from Roda.
This guide covers the
opal-jquery wrapper around the popular library.
Write specs for your Opal code RSpec and run them on Node.js or in a browser.
Configure the long-lasting asset handler to work with Opal.
A very general overview of how the Opal compiler works.
The Opal compiler supports some special directives that can optimize or enhance the output of compiled Ruby code to suit the Ruby environment.
(WIP) How to handle encoding within Opal in the browser and in the code.
How to run your Opal application in a headless Chrome from the CLI instead of Node.js.
This guide provides steps to be followed when you upgrade your applications to a newer version of Opal.
(WIP) A step-by-step guide on who to release a new version of Opal.