oil.nvim icon indicating copy to clipboard operation
oil.nvim copied to clipboard

feature request: Adapter for accessing s3 buckets

Open Danielkonge opened this issue 6 months ago • 2 comments

Did you check existing requests?

  • [x] I have searched the existing issues

Describe the feature

It would be very nice to be able to use oil for looking through s3 buckets similar to how I can use it for looking through files on another machine with ssh.

I don't know how feasible this is, but I think it should be doable with aws s3 ls commands and similar. (Of course this would then require a proper setup of aws, but that can be expected from anyone wanting to use this feature.)

To start with I think the main feature for s3 would be just file navigation and file inspection (without editing). I think it should be possible to add editing too, but that is less important.

I don't know if you would consider adding this to oil itself or if it fits better in a third party extension. If you are open to adding it, I might be able to look into making an initial implementation (though I don't know how much time I will have for this).

Provide background

I prefer navigating all files I look at with oil, and this is the only type of files I can't navigate currently.

What is the significance of this feature?

nice to have

Additional details

I did try https://github.com/kiran94/s3edit.nvim and it works fine for smaller s3 buckets, but the commands used take way too long on some larger s3 buckets (which is why I recommend aws s3 ls since I checked that it runs faster), and it doesn't allow me to navigate with oil as I am used to (in particular I can't easily go in and out of files).

Danielkonge avatar Jun 10 '25 21:06 Danielkonge

I would be open to including this in oil

stevearc avatar Jun 15 '25 23:06 stevearc

This is great! It'd be nice to also stabilize the adapter API, so that more adapters can be contributed through plugins.

duemir avatar Jul 25 '25 01:07 duemir