{"id":15999047,"url":"https://github.com/nikolaydubina/aws-s3-reader","last_synced_at":"2026-04-30T13:31:26.707Z","repository":{"id":223835968,"uuid":"761568247","full_name":"nikolaydubina/aws-s3-reader","owner":"nikolaydubina","description":"Efficient Go Reader for large AWS S3 Objects","archived":false,"fork":false,"pushed_at":"2025-05-01T06:48:58.000Z","size":77,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T23:07:56.357Z","etag":null,"topics":["aws","data","golang","reader","s3","streaming"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nikolaydubina.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":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-22T04:25:27.000Z","updated_at":"2025-02-01T09:35:54.000Z","dependencies_parsed_at":"2024-02-22T10:36:50.160Z","dependency_job_id":"5c8bd36a-ff98-4b10-977d-1db3adebdcd7","html_url":"https://github.com/nikolaydubina/aws-s3-reader","commit_stats":null,"previous_names":["nikolaydubina/aws-s3-reader"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/nikolaydubina/aws-s3-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaydubina%2Faws-s3-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaydubina%2Faws-s3-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaydubina%2Faws-s3-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaydubina%2Faws-s3-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikolaydubina","download_url":"https://codeload.github.com/nikolaydubina/aws-s3-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolaydubina%2Faws-s3-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32466333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","data","golang","reader","s3","streaming"],"created_at":"2024-10-08T08:23:27.193Z","updated_at":"2026-04-30T13:31:26.682Z","avatar_url":"https://github.com/nikolaydubina.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### AWS S3 Reader\n\n[![codecov](https://codecov.io/gh/nikolaydubina/aws-s3-reader/graph/badge.svg?token=RjrAU7oJgH)](https://codecov.io/gh/nikolaydubina/aws-s3-reader)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nikolaydubina/aws-s3-reader)](https://goreportcard.com/report/github.com/nikolaydubina/aws-s3-reader)\n[![Go Reference](https://pkg.go.dev/badge/github.com/nikolaydubina/aws-s3-reader.svg)](https://pkg.go.dev/github.com/nikolaydubina/aws-s3-reader)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/nikolaydubina/aws-s3-reader/badge)](https://securityscorecards.dev/viewer/?uri=github.com/nikolaydubina/aws-s3-reader)\n\nEfficient reader for large S3 files.\n\n* `Seek()` via `Byte-Range` HTTP offsets[^1][^2]\n* zero-memory copy\n* early HTTP Body termination\n\n```go\ns3client := s3.New(session.Must(session.NewSession(\n    aws.NewConfig().WithRegion(\"ap-southeast-1\"),\n)))\n\nr := awss3reader.NewS3ReadSeeker(\n    s3client,\n    \"nikolaydubina-blog-public\",\n    \"videos/2024-02-22.mov\",\n    awss3reader.FixedChunkSizePolicy{Size: 1 \u003c\u003c 20 * 40},\n)\ndefer r.Close()\n\nr.Seek(100, io.SeekCurrent)\n\nres, err := io.ReadAll(r)\n```\n\n#### Related Work\n\n* https://github.com/yacchi/s3-fast-reader — provides `io.Reader` interface, focuses on connection pool and parallelism, uses mocks for tests \n\n[^1]: https://docs.aws.amazon.com/whitepapers/latest/s3-optimizing-performance-best-practices/use-byte-range-fetches.html\n[^2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaydubina%2Faws-s3-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolaydubina%2Faws-s3-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaydubina%2Faws-s3-reader/lists"}