Safelyx CLI is now available in GitHub
Safelyx CLI is now available in GitHub. You can now install Safelyx in your computer and use it in the terminal or console.
Published on March 4, 2025
We're excited to announce the release of our Command Line Interface (CLI) for automated content moderation! The safelyx
CLI is now available on GitHub, making it easier than ever to integrate Safelyx's powerful platform moderation tools directly from your terminal. You can find its source code on GitHub (it's Open Source!).
Simplicity for Command Line Users
At Safelyx, we believe in making content moderation simple and accessible. After the success of our JavaScript, Python, and Go SDKs, we're now bringing the same powerful capabilities to the command line. Our CLI works seamlessly across all major platforms:
- Linux
- macOS
- Windows
- Any system with a terminal
Quick Start with go install
Download the binary from the releases page that's appropriate for your platform and architecture. Make sure the file is executable and is in your PATH
(on macOS, you may also need to run chmod +x safelyx && xattr -dr com.apple.quarantine safelyx
because the binary is not code signed).
Then you can run:
safelyx check-link https://example.com --key-code your-key-code
# Outputs the raw JSON response from the API.
Comprehensive Platform Moderation Features
Our CLI 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 CLI 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 CLI returns detailed analysis results in JSON format. Each check returns a comprehensive result object that includes:
- Safety score (0-10)
- Detailed analysis
- Content sentiment
- Threat assessment
- Recommended actions
Getting Started
- Install the CLI by downloading the binary from the releases page
- Buy a key code
- Start protecting your platform with simple commands
Our CLI 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 CLI today:
- GitHub: safelyx-cli
- Documentation: Safe API Documentation
Join the growing number of platforms using Safelyx for automated content moderation. Our CLI 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.