{"id":17598939,"url":"https://github.com/tinify/tinify-ruby","last_synced_at":"2025-05-07T10:41:14.032Z","repository":{"id":32104064,"uuid":"35676334","full_name":"tinify/tinify-ruby","owner":"tinify","description":"Ruby client for the Tinify API.","archived":false,"fork":false,"pushed_at":"2025-03-19T08:49:02.000Z","size":314,"stargazers_count":41,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T09:11:11.304Z","etag":null,"topics":["gem","image-compression","image-optimization","rails","ruby","tinyjpg","tinypng"],"latest_commit_sha":null,"homepage":"https://tinypng.com/developers","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/tinify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"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}},"created_at":"2015-05-15T13:45:52.000Z","updated_at":"2025-03-19T08:45:27.000Z","dependencies_parsed_at":"2024-10-23T04:08:11.619Z","dependency_job_id":null,"html_url":"https://github.com/tinify/tinify-ruby","commit_stats":{"total_commits":114,"total_committers":9,"mean_commits":"12.666666666666666","dds":"0.39473684210526316","last_synced_commit":"5486e0d62cef93c007daed8446bf2debb38681ca"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Ftinify-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Ftinify-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Ftinify-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinify%2Ftinify-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinify","download_url":"https://codeload.github.com/tinify/tinify-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251874769,"owners_count":21658068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["gem","image-compression","image-optimization","rails","ruby","tinyjpg","tinypng"],"created_at":"2024-10-22T10:08:20.915Z","updated_at":"2025-05-07T10:41:14.011Z","avatar_url":"https://github.com/tinify.png","language":"Ruby","readme":"[![Gem](https://img.shields.io/gem/v/tinify)](https://rubygems.org/gems/tinify)\n[![MIT License](http://img.shields.io/badge/license-MIT-green.svg) ](https://github.com/tinify/tinify-java/blob/main/LICENSE)\n[![Ruby CI](https://github.com/tinify/tinify-ruby/actions/workflows/ci-cd.yaml/badge.svg)](https://github.com/tinify/tinify-ruby/actions/workflows/ci-cd.yaml)\n\n# Tinify API client for Ruby\n\nRuby client for the Tinify API, used for [TinyPNG](https://tinypng.com) and [TinyJPG](https://tinyjpg.com). Tinify compresses your images intelligently. Read more at [http://tinify.com](http://tinify.com).\n\n## Documentation\n\n[Go to the documentation for the Ruby client](https://tinypng.com/developers/reference/ruby).\n\n## Installation\n\nInstall the API client:\n\n```\ngem install tinify\n```\n\nOr add this line to your application's Gemfile:\n\n```ruby\ngem \"tinify\"\n```\n\n## Usage\n\n```ruby\nrequire \"tinify\"\nTinify.key = \"YOUR_API_KEY\"\n\nTinify.from_file(\"unoptimized.png\").to_file(\"optimized.png\")\n```\n\n## Running tests\n\n```\nbundle install\nrake\n```\n\n### Integration tests\n\n```\nbundle install\nTINIFY_KEY=$YOUR_API_KEY rake integration\n```\n\n## License\n\nThis software is licensed under the MIT License. [View the license](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinify%2Ftinify-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinify%2Ftinify-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinify%2Ftinify-ruby/lists"}