{"id":19078377,"url":"https://github.com/kickstarter/caption_crunch","last_synced_at":"2025-04-30T04:48:51.026Z","repository":{"id":138586173,"uuid":"31566650","full_name":"kickstarter/caption_crunch","owner":"kickstarter","description":"Parsers for WebVTT and other subtitle files","archived":false,"fork":false,"pushed_at":"2015-08-27T19:31:46.000Z","size":220,"stargazers_count":19,"open_issues_count":1,"forks_count":0,"subscribers_count":163,"default_branch":"master","last_synced_at":"2025-04-30T04:48:43.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/kickstarter.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":"2015-03-02T22:24:19.000Z","updated_at":"2019-08-18T16:40:02.000Z","dependencies_parsed_at":"2023-03-13T05:11:57.720Z","dependency_job_id":null,"html_url":"https://github.com/kickstarter/caption_crunch","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcaption_crunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcaption_crunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcaption_crunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kickstarter%2Fcaption_crunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kickstarter","download_url":"https://codeload.github.com/kickstarter/caption_crunch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644827,"owners_count":21620630,"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-11-09T02:08:54.288Z","updated_at":"2025-04-30T04:48:50.955Z","avatar_url":"https://github.com/kickstarter.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CaptionCrunch\n\n[![Gem Version](https://badge.fury.io/rb/caption_crunch.svg)](http://badge.fury.io/rb/caption_crunch) [![Circle CI](https://circleci.com/gh/kickstarter/caption_crunch/tree/master.svg?style=shield)](https://circleci.com/gh/kickstarter/caption_crunch/tree/master) [![Code Climate](https://codeclimate.com/github/kickstarter/caption_crunch/badges/gpa.svg)](https://codeclimate.com/github/kickstarter/caption_crunch)\n\nPraise @noopkat for the name.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'caption_crunch'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install caption_crunch\n\n## Usage\n\n```ruby\nrequire 'caption_crunch'\ntrack = CaptionCrunch.parse(File.new('sample.vtt')) # returns a CaptionCrunch::Track instance\n# or\ntrack = CaptionCrunch.parse('WEBVTT')\n\n# track.cues is an array of CaptionCrunch::Cue instances\ntrack.cues.first.start_time\ntrack.cues.first.end_time\ntrack.cues.first.payload\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/kickstarter/caption_crunch/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 a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fcaption_crunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkickstarter%2Fcaption_crunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkickstarter%2Fcaption_crunch/lists"}