{"id":26426673,"url":"https://github.com/safelyx/safelyx-ruby","last_synced_at":"2026-02-25T06:35:42.823Z","repository":{"id":281880009,"uuid":"946746248","full_name":"safelyx/safelyx-ruby","owner":"safelyx","description":"Ruby Client for Safelyx's API. 💎","archived":false,"fork":false,"pushed_at":"2025-03-11T16:15:37.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T00:56:21.502Z","etag":null,"topics":["api","content-moderation","gem","moderation","ruby","ruby-gem","rubygem","security","security-tools"],"latest_commit_sha":null,"homepage":"https://safelyx.com/safe-api","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/safelyx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["BrunoBernardino"],"custom":["https://paypal.me/brunobernardino","https://gist.github.com/BrunoBernardino/ff5b54c13dd96ac7f9fee6fbfd825b09"]}},"created_at":"2025-03-11T16:00:03.000Z","updated_at":"2025-09-28T11:01:11.000Z","dependencies_parsed_at":"2025-03-11T16:41:41.134Z","dependency_job_id":"a21a7f7d-1ac5-43a6-aa70-b96470685499","html_url":"https://github.com/safelyx/safelyx-ruby","commit_stats":null,"previous_names":["safelyx/safelyx-ruby"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/safelyx/safelyx-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safelyx%2Fsafelyx-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safelyx%2Fsafelyx-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safelyx%2Fsafelyx-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safelyx%2Fsafelyx-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/safelyx","download_url":"https://codeload.github.com/safelyx/safelyx-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/safelyx%2Fsafelyx-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29812617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","content-moderation","gem","moderation","ruby","ruby-gem","rubygem","security","security-tools"],"created_at":"2025-03-18T03:36:03.278Z","updated_at":"2026-02-25T06:35:42.793Z","avatar_url":"https://github.com/safelyx.png","language":"Ruby","funding_links":["https://github.com/sponsors/BrunoBernardino","https://paypal.me/brunobernardino","https://gist.github.com/BrunoBernardino/ff5b54c13dd96ac7f9fee6fbfd825b09"],"categories":[],"sub_categories":[],"readme":"# Safelyx API\n\n[![](https://github.com/safelyx/safelyx-ruby/workflows/Run%20Tests/badge.svg)](https://github.com/safelyx/safelyx-ruby/actions?workflow=Run+Tests) [![pypi](https://badge.fury.io/rb/safelyx.svg)](https://rubygems.org/gems/safelyx)\n\n\u003e Safelyx API client\n\nSafelyx API client for Ruby. \n\nYou can find the API documentation at https://safelyx.com/safe-api.\n\n### Some things to note:\n\n1. It's simply making an HTTP request to the Safelyx API.\n\n2. It provides types for the results and for the parameters.\n\n3. If the request to the API fails (HTTP error), it will throw an error, so you might want to `rescue` it.\n\n## Usage\n\nIt has a method per API endpoint.\n\n```bash\ngem install safelyx\n```\n\n```ruby\nrequire 'safelyx'\n\nclient = Safelyx::Client.new('your-key-code')\n\nresult = client.check_link('https://example.com')\n\nputs result[:result] # Outputs a safety score between 0 (unsafe) and 10 (safe). -1 if there was an error, -2 if there are no checks remaining.\n```\n\n## Development\n\nRequires `ruby`.\n\n```bash\nmake install\nmake format\nmake test\nmake build\n```\n\n## Publishing\n\nAfter committing and pushing with a new version in `safelyx.gemspec`, just run:\n\n```bash\nmake publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafelyx%2Fsafelyx-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsafelyx%2Fsafelyx-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsafelyx%2Fsafelyx-ruby/lists"}