I have a VPS server in the cloud that I use for wireguard. I got the idea to also use it to host a shared folder across my devices: Linux laptop and Android phone.
I started doing some research on this, and would welcome pointers.
Syncthing. I switched from Dropbox to syncthing several years ago when Dropbox started enshitifying and never looked back.
Sync thing is a great resource if you want your files to be replicated across systems. I use it for files that I might work on while in different locations and devices.
Its basically a personal onedrive or Dropbox.
Syncthing
looks promising, thanks!
I’ve been using self-hosted Seafile for quite a while and can recommend it.
promising, thx!
you could do that via SFTP, Samba, NFS or iSCSI.
I would not “share” it synchronously as @gratux@lemmy.blahaj.zone recommended because in that case the data is only stored on one device and almost always accessed remotely. If the internet connection is gone, you’d no longer have access to the data and if the VPS dies, your data would be gone on all other machines too.
If you want to use Nextcloud anyways, that would be an option.
If all you want to do is have a shared synchronised state between multiple machines though, Syncthing would be a much lighter weight purpose-built alternative.
I think SFTP would work plenty. On linux you can use rclone to mount it, and Android has many file managers that support it (personal favorite is Total Commander with the SFTP plugin)
You could also certainly host a full Nextcloud instance, but it might be a bit overkill
I was looking into Nextcloud! It was my first thought.