https://github.com/johannkm/electron-ruby-example
Electron as a Ruby GUI
https://github.com/johannkm/electron-ruby-example
electron ruby sinatra
Last synced: about 1 year ago
JSON representation
Electron as a Ruby GUI
- Host: GitHub
- URL: https://github.com/johannkm/electron-ruby-example
- Owner: johannkm
- Created: 2017-07-22T14:09:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-22T14:10:19.000Z (almost 9 years ago)
- Last Synced: 2025-03-25T10:11:15.232Z (about 1 year ago)
- Topics: electron, ruby, sinatra
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 7
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Electron as a Ruby GUI
> Based on [electron-python-example](https://github.com/fyears/electron-python-example/tree/master/old-post-backup).
This project uses Ruby (Sinatra) to serve a local webpage to electron. Unfortunately this requires 2 runtimes (Node and Ruby) at once. If you need better performance, [Proton](https://github.com/ghivert/proton) is a project to build Electron apps entirely in Ruby using the Opal compiler.
## Install and Run
```bash
bundle install
npm install
npm start
```
## Future work
- switch to sockets instead of http