feat(s3): add S3 bucket browsing as a VFS provider#3843
Open
fecet wants to merge 1 commit intosxyazi:mainfrom
Open
feat(s3): add S3 bucket browsing as a VFS provider#3843fecet wants to merge 1 commit intosxyazi:mainfrom
fecet wants to merge 1 commit intosxyazi:mainfrom
Conversation
95e85fb to
046f303
Compare
Implement a read-only S3 provider built on the `object_store` crate, allowing users to browse S3 buckets natively within yazi. - Add `ServiceS3` config (region, endpoint, credentials, force_path_style, allow_http) - Add `S3` variant to `Url` enum and `SchemeKind` - Implement read_dir with paginated listing, metadata, and streaming read - Write operations return `Unsupported` for now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
object_storecrate, allowing users to browse S3-compatible buckets natively within yaziServiceS3config with support for region, endpoint, credentials,force_path_style, andallow_httpUrlenum andSchemeKindwith anS3variant; implementread_dir(paginated listing),metadata, and streaming readScreenshot
Details
This builds on the VFS provider infrastructure from #3821. The S3 provider is currently read-only — write operations (
copy,create,create_dir, etc.) returnUnsupported.Configuration example in
yazi.toml:Then browse via
s3://my-s3/bucket-name/path/.