{"id":19474550,"url":"https://github.com/tomasc/dragonfly_chrome_headless","last_synced_at":"2026-06-20T10:30:57.480Z","repository":{"id":59153039,"uuid":"94257788","full_name":"tomasc/dragonfly_chrome_headless","owner":"tomasc","description":"DISCONTINUED: Uses Headless Chrome to generate PDF from HTML","archived":false,"fork":false,"pushed_at":"2018-04-29T15:19:11.000Z","size":16778,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-17T08:07:28.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomasc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-13T21:04:41.000Z","updated_at":"2018-04-29T15:19:25.000Z","dependencies_parsed_at":"2022-09-13T11:01:21.964Z","dependency_job_id":null,"html_url":"https://github.com/tomasc/dragonfly_chrome_headless","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomasc/dragonfly_chrome_headless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fdragonfly_chrome_headless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fdragonfly_chrome_headless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fdragonfly_chrome_headless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fdragonfly_chrome_headless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomasc","download_url":"https://codeload.github.com/tomasc/dragonfly_chrome_headless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomasc%2Fdragonfly_chrome_headless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34566920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2024-11-10T19:25:36.486Z","updated_at":"2026-06-20T10:30:57.461Z","avatar_url":"https://github.com/tomasc.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"**DISCONTINUED: Replaced by [dragonfly_puppeteer](https://github.com/tomasc/dragonfly_puppeteer)**\n\n\n# Dragonfly Chrome Headless\n\n[![Build Status](https://travis-ci.org/tomasc/dragonfly_chrome_headless.svg)](https://travis-ci.org/tomasc/dragonfly_chrome_headless) [![Gem Version](https://badge.fury.io/rb/dragonfly_chrome_headless.svg)](http://badge.fury.io/rb/dragonfly_chrome_headless) [![Coverage Status](https://img.shields.io/coveralls/tomasc/dragonfly_chrome_headless.svg)](https://coveralls.io/r/tomasc/dragonfly_chrome_headless)\n\nUse headless Chrome to generate PDFs out of HTML.\n\n## Requirements\n\n* nodejs\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'dragonfly_chrome_headless'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install dragonfly_chrome_headless\n\n## Usage\n\nAdd the plugin to Dragonfly:\n\n```ruby\nDragonfly.app.configure do\n  plugin :chrome_headless\nend\n```\n\nEventually include host \u0026 port, if you are running Chrome in something like a Docker container (recommended, see for example [justinribeiro/chrome-headless](https://hub.docker.com/r/justinribeiro/chrome-headless/)):\n\n```ruby\nDragonfly.app.configure do\n  plugin :chrome_headless, host: 'chrome_headless', port: '9222'\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` 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 https://github.com/tomasc/dragonfly_chrome_headless.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fdragonfly_chrome_headless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomasc%2Fdragonfly_chrome_headless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomasc%2Fdragonfly_chrome_headless/lists"}