Node-marshal: free gem for source code protection

Hello!

I would like to present the free (2-clause BSD license) gem for source
code protection written in Ruby MRI named node-marshal:
https://rubygems.org/gems/node-marshal
https://github.com/dig386/node-marshal
It irreversibly transforms Ruby source code into ternary abstract syntax
tree (AST) and allows to save such AST to file and load it. Ruby MRI
internal structures and C extension are actively used inside the gem.
Ruby 1.9.3 and Ruby 2.2.x (MRI) are supported. The similar idea is used
in RubyEncoder. Identifiers names (classes, variables, symbols) are
remaining intact because of metaprogramming issues.

Another solutions found by me in Internet are either commercial
(RubyEncoder) or have apparent bugs:
https://www.ruby-forum.com/topic/4423356
https://bugs.ruby-lang.org/issues/8543
https://bugs.ruby-lang.org/issues/10959

I’ll greatly appreciate any feedback or bugreports.

Best regards,
Alexey

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs