Safelyx Ruby SDK is now available in GitHub

Safelyx Ruby SDK is now available in GitHub. You can now install Safelyx in your Ruby project using gem install.

Published on April 11, 2025

We're excited to announce the release of our Ruby SDK for automated content moderation! The safelyx gem is now available on GitHub, making it easier than ever to integrate Safelyx's powerful platform moderation tools into your Ruby projects. You can find its source code on GitHub (it's Open Source!).

Simplicity for Ruby Developers

At Safelyx, we believe in making content moderation simple and accessible. After the success of our JavaScript, Python, Go, and Rust SDKs, we're now bringing the same powerful capabilities to Ruby developers. Our Ruby SDK works seamlessly with Ruby 3.0 and above:

Quick Start with gem

Getting started with our automated content moderation SDK is as simple as running:

gem install safelyx

Then in your code:

require 'safelyx'

client = Safelyx::Client.new('your-key-code')

result = client.check_link('https://example.com')
case result[:result]
when 8..10
  puts "Link is safe!"
when 4..7
  puts "Link needs review"
when 0..3
  puts "Link is unsafe!"
else
  puts "Error checking link"
end

Comprehensive Platform Moderation Features

Our Ruby SDK provides access to all of Safelyx's content moderation endpoints:

  • Link Safety Verification: Protect users from malicious URLs and phishing attempts
  • Message Content Analysis: Detect inappropriate content, sentiment, and potential threats
  • Email Legitimacy Validation: Verify email addresses and prevent abuse
  • Image Safety Analysis: Ensure uploaded images meet your platform's standards

Real-world Implementation Examples

Looking at our documentation and use cases, you can see how the SDK helps with various content moderation scenarios:

  • Platform content moderation
  • User-generated content protection
  • Community safety enforcement
  • Real-time threat detection

Simple Integration, Powerful Results

The SDK returns detailed analysis results while maintaining a simple API interface. Each check returns a comprehensive result object that includes:

  • Safety score (0-10)
  • Detailed analysis
  • Content sentiment
  • Threat assessment
  • Recommended actions

Getting Started

  1. Install the package using gem install
  2. Buy a key code
  3. Start protecting your platform with just a few lines of code

Our SDK is designed to grow with your platform, offering:

  • Detailed safety analysis
  • Real-time threat detection
  • Comprehensive reporting
  • Flexible integration options
  • Cross-platform compatibility

Try It Today

Ready to enhance your platform's content moderation? Get started with our SDK today:

Join the growing number of platforms using Safelyx for automated content moderation. Our SDK makes it easier than ever to protect your users while maintaining a positive user experience.

Questions or need help? Contact our support team at help@safelyx.com.