• Forum
  • Adding LuaObfuscator to your GitHub repo
S

Adding LuaObfuscator to your GitHub repo

Tired of clicking buttons in the GUI? Time to explore the REST API!

The platform comes with a couple of REST API endpoints one can use to automate their Lua obfuscation needs. One of our community members has reached out and wanted to share the GitHub repository he designed to automate the process of obfuscation.

For those unfamiliar with our REST API endpoints, the below lists explain them:

  • POST luaobfuscator.com/api/obfuscator/newscript
  • POST luaobfuscator.com/api/obfuscator/obfuscate

To use you will need two headers:

  • apikey: your API key(currently defaulted to 'test')
  • sessionId: identifier obtained after calling api/obfuscator/newscript

Your Lua code goes into the body of api/obfuscator/newscript, which responds with a JSON body containing a message and the sessionId. Next, you use the sessionId in the header to call luaobfuscator.com/api/obfuscator/obfuscate, along with a JSON body describing the settings you wish to apply.

For a more practical example, have a look at the work of one of our community members - who goes by the name of Ferib - as he made a nice GitHub Action to automate the process.

Results

Automated build in your Actions tab!

github actions build overview

!! Warning, please note that this is a mere hobby project and not all features have been properly tested, make sure to test your configurations before releasing!


Guest Replied
#145 19:03 02/01/2023

Automating obfuscation with the REST API is great! It saves time and the GitHub Action makes it even easier.

Guest Replied
#146 19:15 02/01/2023

The REST API is a fantastic resource for automating the obfuscation process. It's so convenient and the GitHub Action makes it even easier to use.

Guest, post a reply
Send Reply
Community
Navigation
News Issues Discussion