{"id":16614541,"url":"https://github.com/holman/rapinoe","last_synced_at":"2025-03-16T21:31:08.650Z","repository":{"id":56890946,"uuid":"49758634","full_name":"holman/rapinoe","owner":"holman","description":"Parse Keynote files in Ruby.","archived":false,"fork":false,"pushed_at":"2016-01-19T05:18:57.000Z","size":282,"stargazers_count":47,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-24T00:44:37.200Z","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/holman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-16T04:09:37.000Z","updated_at":"2023-12-20T15:22:29.000Z","dependencies_parsed_at":"2022-08-21T00:50:25.863Z","dependency_job_id":null,"html_url":"https://github.com/holman/rapinoe","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holman%2Frapinoe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holman%2Frapinoe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holman%2Frapinoe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holman%2Frapinoe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holman","download_url":"https://codeload.github.com/holman/rapinoe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830949,"owners_count":20354854,"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":"2024-10-12T02:06:49.082Z","updated_at":"2025-03-16T21:31:08.299Z","avatar_url":"https://github.com/holman.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![megan rapinoe](https://cloud.githubusercontent.com/assets/2723/12370366/16ac568a-bbc3-11e5-951d-f9367476eae2.jpg)\n\n# Rapinoe\n\nRapinoe helps you parse Apple Keynote files.\n\nPrimarily it's designed to help you access the simple metadata of a Keynote file: return how many slides there are, extract the slide previews baked into the file, tell you various details about the file itself on disk, and so on.\n\n## Install\n\nFirst you'll need ImageMagick. If you use Homebrew, you'll be fine with a quick:\n\n```sh\nbrew install imagemagick\n```\n\nThen install the gem:\n\n```sh\ngem install rapinoe\n```\n\n## Usage\n\n```ruby\nrapinoe = Rapinoe.new('talks/Literal Best Player Ever.key')\n# =\u003e \u003cRapinoe::Keynote: @name=\"Literal Best Player Ever\", @path=\"talks/Literal Best Player Ever.key\", @data=[…]\u003e\n\nrapinoe.write_preview_to_file(\"my_dope_talk.jpg\")\n# =\u003e Writes the higher quality 1024px-width preview of your entire deck to a file\n\nrapinoe.slides\n# =\u003e [\u003cRapinoe::Slide\u003e, \u003cRapinoe::Slide\u003e, \u003cRapinoe::Slide\u003e, \u003cRapinoe::Slide\u003e]\n\nrapinoe.slides.first.write_preview_to_file(\"/tmp/slide-preview.jpg\")\n# =\u003e writes the Keynote-generated slide preview to a file\n\nrapinoe.widescreen?\n# =\u003e true\n\nrapinoe.colors\n# Returns the dominant colors in the first title slide by percentage order. Keys\n# are in RGB format.\n#\n# =\u003e {[108, 190, 212]=\u003e0.9550793650793651, [117, 124, 143]=\u003e0.012619047619047618, [125, 83, 100]=\u003e0.010158730158730159, [143, 23, 33]=\u003e0.009603174603174603, [151, 10, 16]=\u003e0.007301587301587302, [133, 49, 62]=\u003e0.005238095238095238}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholman%2Frapinoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholman%2Frapinoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholman%2Frapinoe/lists"}