{"id":26068735,"url":"https://github.com/uminocelo/koralreef","last_synced_at":"2026-04-16T02:32:32.311Z","repository":{"id":280385776,"uuid":"941808073","full_name":"uminocelo/koralreef","owner":"uminocelo","description":"A tool to scrape images from websites and compile them into a PDF","archived":false,"fork":false,"pushed_at":"2025-03-15T18:52:26.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-15T21:29:08.017Z","etag":null,"topics":["pdf","pdf-generation","ruby","ruby-gem","ruby-on-rails","rubygem","rubygems"],"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/uminocelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-03T04:48:11.000Z","updated_at":"2025-03-15T18:52:29.000Z","dependencies_parsed_at":"2025-03-03T06:23:14.669Z","dependency_job_id":"e2e5fd04-43b8-4184-943e-7f4fc2d981a3","html_url":"https://github.com/uminocelo/koralreef","commit_stats":null,"previous_names":["uminocelo/koralreef"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uminocelo/koralreef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uminocelo%2Fkoralreef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uminocelo%2Fkoralreef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uminocelo%2Fkoralreef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uminocelo%2Fkoralreef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uminocelo","download_url":"https://codeload.github.com/uminocelo/koralreef/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uminocelo%2Fkoralreef/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["pdf","pdf-generation","ruby","ruby-gem","ruby-on-rails","rubygem","rubygems"],"created_at":"2025-03-08T22:27:24.805Z","updated_at":"2026-04-16T02:32:32.276Z","avatar_url":"https://github.com/uminocelo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koral Reef 🪸\n\nA Ruby gem that scrapes images from websites (including JavaScript-heavy ones) and compiles them into a PDF.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'koralreef'\n```\n\nAnd then execute:\n\n```bash\n$ bundle install\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install koralreef\n```\n\n## Usage\n\n### Command Line\n\n```bash\n# Basic usage (scrapes all images)\n$ koralreef https://example.com/gallery\n\n# Scrape specific images with a CSS selector\n$ koralreef -s \".product-image\" https://example.com/products\n\n# Specify output file\n$ koralreef -o product_catalog.pdf https://example.com/products\n\n# Run with visible browser (not headless)\n$ koralreef --no-headless https://example.com/gallery\n```\n\n### In Ruby Code\n\n```ruby\nrequire 'koralreef'\n\n# Basic usage\npdf_file = Koralreef.run(\n  url: \"https://example.com/gallery\",\n  selector: \"img.gallery-image\",\n  output_file: \"gallery.pdf\",\n  headless: true\n)\n\nputs \"PDF created at: #{pdf_file}\"\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`.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/uminocelo/koralreef.\n\n## License\n\nThe gem is available as open source under the terms of the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuminocelo%2Fkoralreef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuminocelo%2Fkoralreef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuminocelo%2Fkoralreef/lists"}