{"id":18104301,"url":"https://github.com/miyucy/zopfli","last_synced_at":"2025-09-05T23:52:16.979Z","repository":{"id":7301077,"uuid":"8617759","full_name":"miyucy/zopfli","owner":"miyucy","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-28T13:36:18.000Z","size":82,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T23:36:50.116Z","etag":null,"topics":["ruby","zopfli"],"latest_commit_sha":null,"homepage":"","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/miyucy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-03-07T01:50:05.000Z","updated_at":"2020-12-29T00:01:51.000Z","dependencies_parsed_at":"2022-08-28T01:11:20.506Z","dependency_job_id":null,"html_url":"https://github.com/miyucy/zopfli","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/miyucy/zopfli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyucy%2Fzopfli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyucy%2Fzopfli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyucy%2Fzopfli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyucy%2Fzopfli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyucy","download_url":"https://codeload.github.com/miyucy/zopfli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyucy%2Fzopfli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273838359,"owners_count":25177161,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ruby","zopfli"],"created_at":"2024-10-31T22:14:31.046Z","updated_at":"2025-09-05T23:52:16.954Z","avatar_url":"https://github.com/miyucy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zopfli\n\nsee https://github.com/google/zopfli\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'zopfli'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install zopfli\n\n## Usage\n\n```ruby\nrequire 'zopfli'\n\nZopfli.deflate string\n# =\u003e compressed data\n\nrequire 'zlib'\n\ncompressed_data = Zopfli.deflate string\nuncompressed_data = Zlib::Inflate.inflate compressed_data\nuncompressed_data == string\n# =\u003e true\n\nZlib.deflate(File.read('LICENSE.txt'), Zlib::BEST_COMPRESSION).bytesize\n# =\u003e 628\nZopfli.deflate(File.read('LICENSE.txt')).bytesize\n# =\u003e 601\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyucy%2Fzopfli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyucy%2Fzopfli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyucy%2Fzopfli/lists"}