p0deje / Maccy

Lightweight clipboard manager for macOS
https://maccy.app
MIT License
13.05k stars 550 forks source link

Cloud sync/backup? #182

Open orschiro opened 4 years ago

orschiro commented 4 years ago

Hi guys,

What do you think of the idea to sync pinned items and history with iCloud for later retrieval in case you're losing access to your device?

That would be great!

p0deje commented 4 years ago

I don't intend to implement it on my own, but I'll merge any PRs which adds this support.

DigitalDuquette commented 4 years ago

This app being local, simple, with no cloud sync is one of the main reasons I use it and suggest it to others.

orschiro commented 4 years ago

But what if you want to migrate machines?

How do you carry your pinned items with you?

On Thu, 8 Oct 2020 at 15:46, DigitalDuquette notifications@github.com wrote:

This app being local, simple, with no cloud sync is one of the main reasons I use it and suggest it to others.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/p0deje/Maccy/issues/182#issuecomment-705579476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJXQ3QRL22ZIR4JMFHYZ3SJW7DXANCNFSM4SAPXE5A .

p0deje commented 4 years ago

You can simply copy $HOME/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy to a new machine - it will keep the whole history.

p0deje commented 4 years ago

This app being local, simple, with no cloud sync is one of the main reasons I use it and suggest it to others.

@DigitalDuquette Would you stop using it if it optionally provides iCloud sync?

orschiro commented 4 years ago

Good to know! Time Machine does this, right?

On Fri, 9 Oct 2020 at 00:12, Alex Rodionov notifications@github.com wrote:

You can simply copy $HOME/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy to a new machine - it will keep the whole history.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/p0deje/Maccy/issues/182#issuecomment-705850714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJXQZ7P47L4A4A4W6Y4DLSJY2OHANCNFSM4SAPXE5A .

DigitalDuquette commented 4 years ago

This app being local, simple, with no cloud sync is one of the main reasons I use it and suggest it to others.

@DigitalDuquette Would you stop using it if it optionally provides iCloud sync?

No. It would just be a feature I ignored. Clipboard data is mostly ephemeral for me, so anything older than the current day is rarely of interest. I don't have any data to support this claim, I just have a feeling that recent copy data is important, anything else is 😐 .

p0deje commented 4 years ago

Good to know! Time Machine does this, right?

I think so.

No. It would just be a feature I ignored. Clipboard data is mostly ephemeral for me, so anything older than the current day is rarely of interest. I don't have any data to support this claim, I just have a feeling that recent copy data is important, anything else is 😐 .

I agree, which is why I don't want to invest time in developing this feature, but I am not opposed as well.

DigitalDuquette commented 4 years ago

I agree, which is why I don't want to invest time in developing this feature, but I am not opposed as well.

Right, this is why I've emerged from the shadows to comment. I'd hate to have complexity scale out and for this to no longer be as actively supported.

Thanks for your hard work on this great app!

tao-shen commented 3 years ago

it would be perfect if i can sync all history with icloud. i will always use this app in my lifetime.

mpr1255 commented 2 years ago

I have Maccy installed on two Mac Minis on the same local network, often connected by ssh. To my surprise, I just discovered they share a Maccy clipboard history. I have been trying to poke through the code to figure out how on earth that could happen. First assumption was icloud syncing, but nothing in the settings or docs about that. Any clue what is going on??

p0deje commented 2 years ago

@mpr1255 Not really, there is no synchronization built-in Maccy so I can't imagine how this works in your case.

mpr1255 commented 2 years ago

@mpr1255 Not really, there is no synchronization built-in Maccy so I can't imagine how this works in your case.

When I first set up the second one it was by using the Mac transfer settings/app with a thunderbolt cable. Somehow maybe that is playing a role? I agree super weird. Don't really know how I'd even investigate what's causing it. Anyway, it's actually kinda handy.

p0deje commented 2 years ago

I can imagine this happening if either somehow the clipboard itself is shared between 2 computers (Universal Clipboard or some other Apple tech) or the directory ~/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy/ is synchronized between 2 computers.

xkoldxx commented 1 year ago

trying to keep maccy settings sync using dotfiles but the location stated above doesn't exist

p0deje commented 1 year ago

@xkoldxx You can backup the whole ~/Library/Containers/org.p0deje.Maccy if you want.

j-greig commented 1 year ago

This is NOT a good idea imo, imagine all those passwords and credit card details that would end up synced to the cloud somewhere...

missuo commented 1 year ago

For users with multiple Macs, iCloud sync is a very necessary feature. I only use Mac mini at home, and when I go out, I only use MBP. Without iCloud sync, I would not be able to access some important clipboard history.

TimOleSanmann commented 1 month ago

Hello everyone, I am a bit confused about this cloud sync discussion. I currently have the issue, that Maccy syncs the Clipboard between two Macs with the same AppleID, but I don't want Maccy to do that. What could be the reasons that Maccy does this, even if there is no direct iCloud integration? And how do I stop doing this, because on one of the macs I work with sensitive data which I rally want to keep there without missing Maccy in my work.

p0deje commented 1 month ago

@TimOleSanmann What you experience is not specific to Maccy, it's Apple's Universal Clipboard. If you want to prevent Maccy from keeping copies from Universal Clipboard, add com.apple.is-remote-clipboard to Maccy settings / Ignore / Pasteboard types.

TimOleSanmann commented 1 month ago

Great answer, thank you! For me the better solution is to turn off "handoff" on my Mac. I haven't really realised that there is this feature and it's activated by default. Again thank you!

csmith848 commented 2 weeks ago

You can simply copy $HOME/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy to a new machine - it will keep the whole history.

Hey @p0deje 👋🏼 firstly, I love the app - thank you so much for all your work! Would you be able to confirm this directory is still correct please? Thanks in advance

missuo commented 2 weeks ago

You can simply copy $HOME/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy to a new machine - it will keep the whole history.

Hey @p0deje 👋🏼 firstly, I love the app - thank you so much for all your work! Would you be able to confirm this directory is still correct please? Thanks in advance

I tested it and the directory still exists.

csmith848 commented 2 weeks ago

I tested it and the directory still exists.

@missuo thanks for confirming - the 4th level directory in the file path confused me (it's listed simply as 'Maccy', not 'org.p0deje.Maccy')