{"id":23445041,"url":"https://github.com/space-pirates-llc/image_flux","last_synced_at":"2025-04-13T13:54:14.000Z","repository":{"id":27326519,"uuid":"112579047","full_name":"space-pirates-llc/image_flux","owner":"space-pirates-llc","description":"URL builder for ImageFlux","archived":false,"fork":false,"pushed_at":"2022-03-07T13:55:56.000Z","size":46,"stargazers_count":8,"open_issues_count":2,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-13T13:54:06.475Z","etag":null,"topics":["imageflux","ruby","rubygem"],"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/space-pirates-llc.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":"2017-11-30T07:23:42.000Z","updated_at":"2023-11-13T07:50:53.000Z","dependencies_parsed_at":"2022-07-24T14:47:08.753Z","dependency_job_id":null,"html_url":"https://github.com/space-pirates-llc/image_flux","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-pirates-llc%2Fimage_flux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-pirates-llc%2Fimage_flux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-pirates-llc%2Fimage_flux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-pirates-llc%2Fimage_flux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-pirates-llc","download_url":"https://codeload.github.com/space-pirates-llc/image_flux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724587,"owners_count":21151559,"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":["imageflux","ruby","rubygem"],"created_at":"2024-12-23T19:26:46.285Z","updated_at":"2025-04-13T13:54:13.981Z","avatar_url":"https://github.com/space-pirates-llc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ImageFlux\n\n[![Gem](https://img.shields.io/gem/v/image_flux.svg)](https://rubygems.org/gems/image_flux)\n[![CircleCI](https://img.shields.io/circleci/project/github/space-pirates-llc/image_flux.svg)](https://circleci.com/gh/space-pirates-llc/image_flux)\n[![Coverage Status](https://coveralls.io/repos/github/space-pirates-llc/image_flux/badge.svg?branch=master)](https://coveralls.io/github/space-pirates-llc/image_flux?branch=master)\n\nURL builder for [ImageFlux](https://www.sakura.ad.jp/services/imageflux/)®.\n\nWIP: Provide API client\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'image_flux'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install image_flux\n\n## Usage\n\n### Generate resize url for a path\n\n```ruby\nrequire 'image_flux'\norigin = ImageFlux::Origin.new(domain: 'example.imageflux.jp')\n\norigin.image_url('/original.jpg', width: 100)\n# =\u003e https://example.imageflux.jp/c/w=100/original.jpg\n```\n\n### Generate option with class\n\n```ruby\noption = ImageFlux::Option.new()\noption.width = 100\noption.overlay = [\n  { w: 100, path: '/hello-world.png' },\n]\norigin.image_url('/original.jpg', option)\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/space-pirates-llc/image_flux\u003e.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Notation\n\n- ImageFlux is a registered trademark of [SAKURA Internet Inc.](https://www.sakura.ad.jp/).\n- Regarding the use of this gem, pixiv Inc. and SAKURA Internet Inc. makes no responsibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-pirates-llc%2Fimage_flux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-pirates-llc%2Fimage_flux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-pirates-llc%2Fimage_flux/lists"}