{"id":18418540,"url":"https://github.com/bsm/pbio","last_synced_at":"2025-08-19T08:05:57.167Z","repository":{"id":45081217,"uuid":"132922742","full_name":"bsm/pbio","owner":"bsm","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T18:28:21.000Z","size":35,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-08-04T07:58:30.428Z","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/bsm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-10T15:53:40.000Z","updated_at":"2024-05-21T12:36:48.000Z","dependencies_parsed_at":"2025-04-07T13:46:50.643Z","dependency_job_id":null,"html_url":"https://github.com/bsm/pbio","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"30d73ca697f961598e821b9a076afd20737aa18a"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/bsm/pbio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fpbio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fpbio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fpbio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fpbio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsm","download_url":"https://codeload.github.com/bsm/pbio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsm%2Fpbio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271121168,"owners_count":24702723,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-06T04:13:54.577Z","updated_at":"2025-08-19T08:05:57.140Z","avatar_url":"https://github.com/bsm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PB IO\n\n[![Test](https://github.com/bsm/pbio/actions/workflows/test.yml/badge.svg)](https://github.com/bsm/pbio/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nProtobuf IO is a Ruby equivalent of https://godoc.org/github.com/gogo/protobuf/io.\n\n## Installation\n\nAdd `gem 'pbio'` to your Gemfile.\n\n## Usage\n\n```ruby\nFile.open(\"file.txt\", \"w\") do |f|\n  pbio = PBIO::Delimited.new(f)\n  pbio.write MyProtoMsg.new(title: \"Foo\")\n  pbio.write MyProtoMsg.new(title: \"Bar\")\nend\n\nFile.open(\"file.txt\", \"r\") do |f|\n  pbio = PBIO::Delimited.new(f)\n  pbio.read MyProtoMsg # =\u003e #\u003cMyProtoMsg: title: \"Foo\"\u003e\n  pbio.read MyProtoMsg # =\u003e #\u003cMyProtoMsg: title: \"Bar\"\u003e\n  pbio.read MyProtoMsg # =\u003e nil\n  f.eof?               # =\u003e true\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fpbio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsm%2Fpbio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsm%2Fpbio/lists"}