{"id":51587951,"url":"https://github.com/kojix2/read_until","last_synced_at":"2026-07-11T12:30:48.449Z","repository":{"id":352333069,"uuid":"1214749587","full_name":"kojix2/read_until","owner":"kojix2","description":null,"archived":false,"fork":false,"pushed_at":"2026-06-19T00:39:55.000Z","size":185,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T02:18:02.723Z","etag":null,"topics":["adaptive-sampling","crystal-lang","minknow","nanopore","oxford-nanopore"],"latest_commit_sha":null,"homepage":"https://kojix2.github.io/read_until/","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kojix2.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-19T01:59:03.000Z","updated_at":"2026-06-19T00:31:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kojix2/read_until","commit_stats":null,"previous_names":["kojix2/read_until"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kojix2/read_until","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fread_until","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fread_until/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fread_until/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fread_until/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kojix2","download_url":"https://codeload.github.com/kojix2/read_until/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kojix2%2Fread_until/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35362871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"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":["adaptive-sampling","crystal-lang","minknow","nanopore","oxford-nanopore"],"created_at":"2026-07-11T12:30:47.590Z","updated_at":"2026-07-11T12:30:48.443Z","avatar_url":"https://github.com/kojix2.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# read_until.cr\n\n[![Test](https://github.com/kojix2/read_until/actions/workflows/test.yml/badge.svg)](https://github.com/kojix2/read_until/actions/workflows/test.yml)\n[![Lines of Code](https://img.shields.io/endpoint?url=https%3A%2F%2Ftokei.kojix2.net%2Fbadge%2Fgithub%2Fkojix2%2Fread_until%2Flines)](https://tokei.kojix2.net/github/kojix2/read_until)\n\n🕳️⚡ Oxford Nanopore [Read Until](https://github.com/nanoporetech/read_until_api) - for [Crystal](https://crystal-lang.org/)\n\n## Installation\n\nAdd the dependency to your shard.yml:\n\n```yaml\ndependencies:\n  read_until:\n    github: kojix2/read_until\n```\n\nRun `shards install`\n\n## Usage\n\n```crystal\nrequire \"read_until\"\n```\n\nRun example:\n\n```sh\ncrystal run examples/basic.cr\n```\n\nMinimal streaming shape:\n\n```crystal\nclient = ReadUntil::Client.new(connection)\n\nclient.open(\n  channels: 1..512,\n  mode: ReadUntil::StreamMode::OneChunk,\n  prefilter: ReadUntil::Prefilter.strand_like(:strand, :adapter),\n) do |session|\n  session.each_read(batch_size: 16) do |read|\n    signal = read.signal(Int16)\n    if reject?(signal)\n      session.unblock(read, for: 100.milliseconds)\n    end\n  end\nend\n```\n\n## Development\n\n- Your contributions and feedback are welcome\n- This library was generated by an AI agent based on human instructions.\n\n## License\n\nThis project is distributed under the Mozilla Public License 2.0 (MPL-2.0).\n\nIt includes a Crystal port of Oxford Nanopore's Python `read_until_api` and\ninherits the upstream license requirements for derived source files.\n\n- Project license: [LICENSE](LICENSE)\n- Upstream project: https://github.com/nanoporetech/read_until_api\n- Upstream license text: https://github.com/nanoporetech/read_until_api/blob/release/LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fread_until","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkojix2%2Fread_until","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkojix2%2Fread_until/lists"}