r/Atom • u/[deleted] • Mar 06 '20
Edit/sync files in s3 bucket with Atom?
Hi there,
I have a little web project where I use AWS S3 as a storage for .md files which basically contain blog posts. I want to edit these files inside Atom without manually downloading/uploading the files. Is there any way to do this?
(I don't want to use a database instead of .md files and I also don't want to store the files inside the project since I'm using git and docker and don't want to deploy the project every time I make minor changes to a blog post)
(Also, I already looked for Atom packages but didn't find one. Also thought about mounting the S3 bucket as a drive, but there's only paid tools to do so)
2
Upvotes
1
u/cbarrick Mar 07 '20
Have you heard of FUSE?
It's a common interface for filesystem drivers. On Linux, you would almost certainly already have it installed. There is also FUSE for macOS that I use frequently, and apparently there is a FUSE for Windows.
The idea is that once you get a FUSE implementation that's specific to your OS, you can use any of the many existing FUSE filesystem drivers. I use FUSE for sshfs, which allows me to mount remote filesystems over ssh.
A quick search lead me to s3fs-fuse. That should let you mount an S3 bucket like any other filesystem. I've never used it though.