{"id":81939,"library":"origami","title":"Origami","description":"Origami is a pure Ruby library to parse, modify, and generate PDF documents.","status":"active","version":"2.1.0","language":"ruby","source_language":null,"source_url":"https://github.com/gdelugre/origami","tags":["pdf","document-processing","parsing","generation"],"install":[{"cmd":"gem install origami","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'origami', '~> 2.1.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Origami","correct":"require 'origami'"}],"quickstart":{"code":"require 'origami'\npdf = Origami::PDF.read('input.pdf')\npdf.pages.each { |page| puts page.number }","lang":"ruby","description":"Read a PDF and list page numbers"},"warnings":[{"fix":"Test thoroughly with your PDFs; consider using a more comprehensive library like HexaPDF for complex documents.","message":"Origami may not handle all PDF features (e.g., encryption, advanced annotations) correctly.","severity":"gotcha","affected_versions":"<= 2.1.0"}],"env_vars":null,"search_vec":"'document':14,17 'document-process':16 'generat':12,20 'librari':7 'modifi':10 'origami':1,2 'pars':9,19 'pdf':13,15 'process':18 'pure':5 'rubi':6","created_at":"2026-06-19T05:06:08.346623+00:00","updated_at":"2026-06-19T05:06:08.346623+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/gdelugre/origami","github":"https://github.com/gdelugre/origami","docs":"http://www.rubydoc.info/gems/origami/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}