{"id":18908571,"url":"https://github.com/superluminar-io/s3-caching-reader","last_synced_at":"2026-04-30T19:32:31.722Z","repository":{"id":103367245,"uuid":"253010634","full_name":"superluminar-io/s3-caching-reader","owner":"superluminar-io","description":"S3 Caching Reader is a Go module that allows to use S3 as caching backend","archived":false,"fork":false,"pushed_at":"2020-04-07T13:05:55.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-01T01:47:01.351Z","etag":null,"topics":["aws","caching","golang","s3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/superluminar-io.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-04-04T13:57:11.000Z","updated_at":"2022-02-21T03:16:14.000Z","dependencies_parsed_at":"2023-07-08T20:00:34.867Z","dependency_job_id":null,"html_url":"https://github.com/superluminar-io/s3-caching-reader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/superluminar-io/s3-caching-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superluminar-io%2Fs3-caching-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superluminar-io%2Fs3-caching-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superluminar-io%2Fs3-caching-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superluminar-io%2Fs3-caching-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/superluminar-io","download_url":"https://codeload.github.com/superluminar-io/s3-caching-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/superluminar-io%2Fs3-caching-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32475192,"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","caching","golang","s3"],"created_at":"2024-11-08T09:27:13.207Z","updated_at":"2026-04-30T19:32:31.705Z","avatar_url":"https://github.com/superluminar-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3 Caching Reader\n\n![](https://github.com/superluminar-io/s3-caching-reader/workflows/Go/badge.svg)\n\nS3 Caching Reader is a Go module that allows to use S3 as caching backend.\n\n## Installation\n\n```bash\ngo get github.com/superluminar-io/s3-caching-reader\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"time\"\n\n\t\"github.com/aws/aws-sdk-go/aws/session\"\n\t\"github.com/aws/aws-sdk-go/service/s3\"\n\trdr \"github.com/superluminar-io/s3-caching-reader/reader\"\n)\n\nfunc main() {\n\toriginFunc := func() (string, error) {\n\t\treturn fmt.Sprintf(\"something from origin at: %s\", time.Now().String()), nil\n\t}\n\tsess := session.Must(session.NewSession())\n\ts3Client := s3.New(sess)\n\tr := rdr.NewReader(\n\t\t\"s3-caching-reader-test-bucket\",\n\t\t\"my-key-generated-from-some-input\",\n\t\toriginFunc,\n\t\t10,\n\t\ts3Client,\n\t)\n\n\tall, err := ioutil.ReadAll(r)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Printf(string(all))\n}\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperluminar-io%2Fs3-caching-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuperluminar-io%2Fs3-caching-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuperluminar-io%2Fs3-caching-reader/lists"}