Hey there folks,
Many years ago, _why wrote a shell, I think, in ruby, that was sandboxed and could
be used on the www. Shortly after that, BasicObject was added (I think), based on an
old discussion.
Since then I have seen some embedded uses of ruby shells, but I tend to forget where.
Could IRB itself get the ability to be "embeddable", for use on the world wide web,
including local websites and simple .html pages too, perhaps via opal?
Let me explain the use case.
I'd love to be able to use IRB via the web as primary interface, but I don't know what
has to be done to do so. My hope is that this could happen via IRB itself, and then
also be documented, with some examples, e. g. showcasing how to do so via a
simple .html page, perhaps via opal, but also more advanced use cases, rack,
rails, sinatra, oldschool .cgi files, you name it. Enough information to be able to
cover these use cases. That way I can e. g. have irb as a small "widget" on a
webpage, loaded with my own custom code, or restricted, and then allow
things to be done there (possibly sandboxed, e. g. "rm" probably should be
controllable and probably eval() too).
Hey there folks,
Many years ago, _why wrote a shell, I think, in ruby, that was sandboxed and could
be used on the www. Shortly after that, BasicObject was added (I think), based on an
old discussion.
Since then I have seen some embedded uses of ruby shells, but I tend to forget where.
Could IRB itself get the ability to be "embeddable", for use on the world wide web,
including local websites and simple .html pages too, perhaps via opal?
Let me explain the use case.
I'd love to be able to use IRB via the web as primary interface, but I don't know what
has to be done to do so. My hope is that this could happen via IRB itself, and then
also be documented, with some examples, e. g. showcasing how to do so via a
simple .html page, perhaps via opal, but also more advanced use cases, rack,
rails, sinatra, oldschool .cgi files, you name it. Enough information to be able to
cover these use cases. That way I can e. g. have irb as a small "widget" on a
webpage, loaded with my own custom code, or restricted, and then allow
things to be done there (possibly sandboxed, e. g. "rm" probably should be
controllable and probably eval() too).