https://github.com/rolemodel/chromium-pdf
Gem wrapper around headless Chrome's print-to-pdf functionality.
https://github.com/rolemodel/chromium-pdf
Last synced: 5 months ago
JSON representation
Gem wrapper around headless Chrome's print-to-pdf functionality.
- Host: GitHub
- URL: https://github.com/rolemodel/chromium-pdf
- Owner: RoleModel
- License: mit
- Created: 2024-08-14T18:30:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T15:16:12.000Z (over 1 year ago)
- Last Synced: 2025-09-03T19:27:41.968Z (9 months ago)
- Language: Ruby
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Chromium::Pdf
A gem wrapping the Chrome print-to-pdf functionality used for creating pdf files.
It includes generators for establishing a template framework for implementing the generation into GoodJobs.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'chromium-pdf', github: 'RoleModel/chromium-pdf'
```
And then execute:
```shell
bundle
```
## Usage
Run the installation generator to create dependency templates with:
```shell
bin/rails g chromium:pdf:install
```
This will create an example job file, GoodJobs initializer, and app.json.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/RoleModel/chromium-pdf.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).