Opal DevTools by stofu1234
Ruby/Opal REPL for Firefox DevTools - Execute Ruby code directly in your browser
Extension Metadata
Screenshots
About this extension
Opal Browser REPL - Ruby in Your Browser DevTools
Execute Ruby code directly in your browser's developer tools! This extension adds an "Opal REPL" panel to Firefox DevTools, allowing you to run Ruby code in the context of any web page.
🔷 TRY IT NOW
Visit our playground to test the extension:
https://stofu1234.github.io/opal-vite/ja/playground.html
🔷 FEATURES
• Interactive Ruby REPL in DevTools
• Pry-like commands (ls, cd, help, history)
• Command history with arrow key navigation
• Multi-line input support (Shift+Enter)
• Auto-inject Opal runtime on any page
• Works with pages that already have Opal loaded
🔷 COMMANDS
• help - Show available commands
• ls - List methods, variables, and constants
• ls obj - List methods of a specific object
• cd obj - Change context to explore objects
• history - Show command history
🔷 SETTINGS
Click the extension icon to access settings:
• Opal Detection Mode - Only show panel when Opal is detected
• Auto-inject Opal - Automatically inject Opal runtime if not found
🔷 TIPS
• Use backticks for inline JavaScript:
• Use $_ to access the last result
• Press Ctrl+L to clear the console
🔷 LIMITATIONS
This extension uses eval() to execute Ruby code. Pages with strict Content Security Policy (CSP) that block 'unsafe-eval' are not supported. Use our playground page for the best experience.
🔷 OPEN SOURCE
GitHub: https://github.com/stofu1234/opal-browser-repl
Built with Opal - Ruby to JavaScript compiler (https://opalrb.com)
🔷 PRIVACY
This extension does not collect any personal data. All code execution happens locally in your browser.
Execute Ruby code directly in your browser's developer tools! This extension adds an "Opal REPL" panel to Firefox DevTools, allowing you to run Ruby code in the context of any web page.
🔷 TRY IT NOW
Visit our playground to test the extension:
https://stofu1234.github.io/opal-vite/ja/playground.html
- Open the playground page
- Press F12 to open DevTools
- Click the "Opal REPL" tab
- Start typing Ruby code!
🔷 FEATURES
• Interactive Ruby REPL in DevTools
• Pry-like commands (ls, cd, help, history)
• Command history with arrow key navigation
• Multi-line input support (Shift+Enter)
• Auto-inject Opal runtime on any page
• Works with pages that already have Opal loaded
🔷 COMMANDS
• help - Show available commands
• ls - List methods, variables, and constants
• ls obj - List methods of a specific object
• cd obj - Change context to explore objects
• history - Show command history
🔷 SETTINGS
Click the extension icon to access settings:
• Opal Detection Mode - Only show panel when Opal is detected
• Auto-inject Opal - Automatically inject Opal runtime if not found
🔷 TIPS
• Use backticks for inline JavaScript:
document.title• Use $_ to access the last result
• Press Ctrl+L to clear the console
🔷 LIMITATIONS
This extension uses eval() to execute Ruby code. Pages with strict Content Security Policy (CSP) that block 'unsafe-eval' are not supported. Use our playground page for the best experience.
🔷 OPEN SOURCE
GitHub: https://github.com/stofu1234/opal-browser-repl
Built with Opal - Ruby to JavaScript compiler (https://opalrb.com)
🔷 PRIVACY
This extension does not collect any personal data. All code execution happens locally in your browser.
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Extend developer tools to access your data in open tabs
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 0.1.12
- Size
- 859.48 KB
- Last updated
- 24 days ago (Dec 27, 2025)
- Related Categories
- License
- MIT License
- Version History
- Add to collection