{"id":28377575,"url":"https://github.com/codingzeal/paperclip-ghostscript","last_synced_at":"2025-07-14T17:16:35.072Z","repository":{"id":19485470,"uuid":"22731292","full_name":"CodingZeal/paperclip-ghostscript","owner":"CodingZeal","description":"Ruby on Rails Paperclip Processor for Ghostscript","archived":false,"fork":false,"pushed_at":"2014-08-25T03:57:55.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-22T12:51:35.864Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/CodingZeal.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":"2014-08-07T18:06:56.000Z","updated_at":"2016-07-14T16:58:46.000Z","dependencies_parsed_at":"2022-09-13T18:22:01.294Z","dependency_job_id":null,"html_url":"https://github.com/CodingZeal/paperclip-ghostscript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodingZeal/paperclip-ghostscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingZeal%2Fpaperclip-ghostscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingZeal%2Fpaperclip-ghostscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingZeal%2Fpaperclip-ghostscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingZeal%2Fpaperclip-ghostscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodingZeal","download_url":"https://codeload.github.com/CodingZeal/paperclip-ghostscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodingZeal%2Fpaperclip-ghostscript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261512081,"owners_count":23170071,"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":[],"created_at":"2025-05-30T01:05:57.590Z","updated_at":"2025-06-30T03:37:31.850Z","avatar_url":"https://github.com/CodingZeal.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paperclip::Ghostscript\n[![Build\nStatus](https://travis-ci.org/CodingZeal/paperclip-ghostscript.svg)](https://travis-ci.org/CodingZeal/paperclip-ghostscript)\n[![Code\nClimate](https://codeclimate.com/github/CodingZeal/paperclip-ghostscript/badges/gpa.svg)](https://codeclimate.com/github/CodingZeal/paperclip-ghostscript)\n\nAdd support to Paperclip to generate JPG thumbnail images from\nGhostscript supported files (e.g. Adobe PDF)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'paperclip-ghostscript'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install paperclip-ghostscript\n\n## Usage\n\nPaperclip::Ghostscript needs access to the Ghostscript binary (\"gs\").\nTo determine the location of the binary, in Linux, run `which gs` from\nthe command line.  It will return a path, such as `/usr/local/bin/gs`.\n\nAdd the processor to your model:\n\n```ruby\n  class Agreement \u003c ActiveRecord::Base\n    has_attached_file :document, styles: {\n      thumb: { geometry: \"150x150\", format: \"jpg\" }\n    }, processors: [:ghostscript]\n\n  end\n```\n\nWhich will produce a thumbnail JPG of the first page of the PDF.\n\n## Credits\n\nAuthored by Adam Cuppy (@acuppy) of Coding ZEAL (http://codingzeal.com)\n\n![Coding\nZEAL](https://googledrive.com/host/0B3TWa6M1MsWeWmxRZWhscllwTzA/ZEAL-logo-final-150.png)\n\nThis is freely distributed under the MIT license.  Use it, modify it,\nenjoy :)\n\n## Contributing\n\n1. Fork it ( http://github.com/\u003cmy-github-username\u003e/paperclip-ghostscript/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingzeal%2Fpaperclip-ghostscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingzeal%2Fpaperclip-ghostscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingzeal%2Fpaperclip-ghostscript/lists"}