LibreAuth Nut.exe Visit Website

Ruby SDK

Ruby 3+ · LibreAuth native client

Ruby Ruby 3+
POST https://libreauth.nutexe.dev/api/1.3/

Setup Guide

Copy libreauth.rb · gem install json

  1. Panel → Manage Applications → copy name + ownerid
  2. API URL: https://libreauth.nutexe.dev/api/1.3/
  3. Source: ruby/libreauth.rb
  4. Ed25519 key: /health · Response Signing
  5. Test: Live API · Init docs

Install / Dependencies

Terminal
gem install json
# Copy sdk/ruby/libreauth.rb

Code Example

Ruby
app = LibreAuth.new('AppName', 'OWNER_ID_10', '1.0', 'https://libreauth.nutexe.dev/api/1.3/')
app.init
app.login('user', 'pass', 'HWID')

Quick Test

Test
ruby -r ./libreauth.rb -e "LibreAuth.new('App','OWNER','1.0','https://libreauth.nutexe.dev/api/1.3/').init"