Skip to content

knewter/webruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project brings mruby to the browser. It uses [emscripten] (https://github.com/kripken/emscripten) to compiles the mruby source code into JavaScript and runs in the browser.

Please refer to this tutorial for how to use webruby.

Notes

Currently this is still a toy project. Though several demos have been created, it hasn't been used in a production environment. Feel free to play with this, but please give it a complete evaluation before using it in your real-world project.

For Mac users: The latest version of emscripten uses python2 as the default python interpreter. If you are using a Mac and rely on the default python. Please add a link from python to python2 before building:

$ sudo ln -s /usr/bin/python /usr/bin/python2

Demos

License

This project is distributed under the MIT License. See LICENSE for further details.

About

mruby running in the browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 91.2%
  • C 8.8%