hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 579 forks source link

Feature Request: some kind of permalink for entries - SparkleShare URI Scheme #1824

Open glunardi opened 6 years ago

glunardi commented 6 years ago

It would great if there was a way to pass an "url" between SparkleShare users that could point to the right file/folder copy on the local SparkleShare instance

Say you have Linux users at: /home/usera/SparkleShare/git.internal.companya.co.uk/foo/bar/amazing-slide-deck.pdf /home/userb/encrypted-home/SS/git.internal.companya.co.uk/foo/bar/amazing-slide-deck.pdf Windows and MacOS wherever their files might leave...

But the local SparkleShare instance should always know where "/foo/bar/amazing-slide-deck.pdf" lives.

I do not know if there is an easy way to register a custom (URI) Scheme across all the platform SparkleShare supports but it would be great to be able to link sparkleshare://foo/bar/amazing-slide-deck.pdf between our users.

hbons commented 6 years ago

love this idea!

hbons commented 6 years ago

Since URL and folder names may be different across setups too, we can use the ID in the .sparkleshare file for the link creation. But I guess writing the link by hand should be easy too.