{"id":13983650,"url":"https://github.com/jszwec/s3fs","last_synced_at":"2025-07-21T23:31:06.153Z","repository":{"id":41240567,"uuid":"328865478","full_name":"jszwec/s3fs","owner":"jszwec","description":"S3 FileSystem (fs.FS) implementation","archived":false,"fork":false,"pushed_at":"2023-12-11T00:38:40.000Z","size":68,"stargazers_count":175,"open_issues_count":0,"forks_count":19,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-10T05:09:22.877Z","etag":null,"topics":["filesystems","fs","go","golang","s3","s3-bucket"],"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/jszwec.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}},"created_at":"2021-01-12T03:52:54.000Z","updated_at":"2024-08-09T01:02:52.000Z","dependencies_parsed_at":"2024-01-22T04:48:27.326Z","dependency_job_id":null,"html_url":"https://github.com/jszwec/s3fs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwec%2Fs3fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwec%2Fs3fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwec%2Fs3fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jszwec%2Fs3fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jszwec","download_url":"https://codeload.github.com/jszwec/s3fs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226998787,"owners_count":17715385,"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":["filesystems","fs","go","golang","s3","s3-bucket"],"created_at":"2024-08-09T05:01:50.461Z","updated_at":"2024-11-28T22:30:42.394Z","avatar_url":"https://github.com/jszwec.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# s3fs [![Go Reference](https://pkg.go.dev/badge/github.com/jszwec/s3fs.svg)](https://pkg.go.dev/github.com/jszwec/s3fs) ![Go](https://github.com/jszwec/s3fs/workflows/Go/badge.svg?branch=main)\n\nPackage s3fs provides a S3 implementation for Go1.16 [filesystem](https://tip.golang.org/pkg/io/fs/#FS) interface.\n\nSince S3 is a flat structure, s3fs simulates directories by using\nprefixes and \"/\" delim. ModTime on directories is always zero value.\n\n# SDK Versions\n```github.com/jszwec/s3fs``` uses aws sdk v1\n\n```github.com/jszwec/s3fs/v2``` uses aws sdk v2\n\n\n# Example (SDK v1)\n```go\nconst bucket = \"my-bucket\"\n\ns, err := session.NewSession()\nif err != nil {\n    log.Fatal(err)\n}\n\ns3fs := s3fs.New(s3.New(s), bucket)\n\n// print out all files in s3 bucket.\n_ = fs.WalkDir(s3fs, \".\", func(path string, d fs.DirEntry, err error) error {\n    if err != nil {\n        return err\n    }\n\n    if d.IsDir() {\n        fmt.Println(\"dir:\", path)\n        return nil\n    }\n    fmt.Println(\"file:\", path)\n    return nil\n})\n```\n\n# Installation\n\n```\ngo get github.com/jszwec/s3fs\n```\n\n# Requirements\n\n* Go1.16+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjszwec%2Fs3fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjszwec%2Fs3fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjszwec%2Fs3fs/lists"}