{"id":34498986,"url":"https://github.com/ivaldi/postdoc","last_synced_at":"2026-03-14T02:06:43.260Z","repository":{"id":27276211,"uuid":"113162942","full_name":"ivaldi/postdoc","owner":"ivaldi","description":"Generate PDF files from Ruby with headless Chrome/Chromium from Ruby","archived":false,"fork":false,"pushed_at":"2023-06-29T22:29:10.000Z","size":81,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-08T02:48:06.549Z","etag":null,"topics":["html","pdf","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivaldi.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}},"created_at":"2017-12-05T09:42:37.000Z","updated_at":"2025-09-08T11:08:45.000Z","dependencies_parsed_at":"2023-02-12T01:30:51.169Z","dependency_job_id":null,"html_url":"https://github.com/ivaldi/postdoc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ivaldi/postdoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivaldi%2Fpostdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivaldi%2Fpostdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivaldi%2Fpostdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivaldi%2Fpostdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivaldi","download_url":"https://codeload.github.com/ivaldi/postdoc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivaldi%2Fpostdoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27992993,"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-12-23T02:00:07.087Z","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":["html","pdf","ruby"],"created_at":"2025-12-24T01:57:34.174Z","updated_at":"2025-12-24T01:57:40.115Z","avatar_url":"https://github.com/ivaldi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Welcome to Postdoc.\nThis gem was build to convert HTML data into PDF documents. This is handy because Rails is much better at building HTML document than at building PDF documents.\n\n## Usage\n\nAdd the following line to your gemfile\n```ruby\ngem 'postdoc'\n```\nAnd install it\n```sh\nbundle install\n```\n\nNow you can render a pdf from a string that contains the data from a HTML file in the following way:\n\n\n## Handy links:\n- [ChromeRemote](https://github.com/cavalle/chrome_remote) is gives us a client to talk to chrome.\n\n## Handy commands:\n```sh\n  # Run tests.\n  rake test\n\n  # Generate a test pdf. Usefull for debugging purposes.\n  bin/run_with_website\n```\n\n## Known issues:\n\nFor Mac users with an `No such file or directory - chrome` exception, use the following command from the root folder of this repository.\n\n```\ncp bin/chrome /usr/local/bin/chrome\n```\n\n## TODO\nRefactor all instances of string to stringIO for better future interop with\nfiles.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivaldi%2Fpostdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivaldi%2Fpostdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivaldi%2Fpostdoc/lists"}