this post was submitted on 01 May 2024
54 points (85.5% liked)

Selfhosted

40006 readers
827 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Just installed Syncthing on my Scale server. It looks like it doesn't have users but rather folder IDs that are then used to sync devices. One of the cool features of Nextcloud is the ability to share files with other users. Can this be done with Syncthing?

you are viewing a single comment's thread
view the rest of the comments
[–] bastion@feddit.nl 2 points 6 months ago* (last edited 6 months ago)

Think of it like this:

  • there's a syncthing share
  • you connect any devices you want to that share
  • each device uses a local folder to act as that share
  • the devices need to know each other

Then, syncthing sorts it all out. You can move a file into the share on phone1, and it'll show up on phone2. Move it out of that share on phone2, and it disappears from phone1. Same deal for any other device connected to that share.

You can make this all simpler by using the same name for the share and on all folders:

  • A share named Kim-n-Max
  • A folder named /storage/emulated/0/shares/Kim-n-Max on Max's phone
  • A folder named /storage/Kim-n-Max on Kim's phone
  • A folder named c:\Users\Max\Kim-n-Max on Max's computer

..all is pretty clear then.