navorite / sessionic

A web extension to save, manage and restore sessions, windows and tabs.
GNU Affero General Public License v3.0
466 stars 17 forks source link

Add an option to sync sessions between devices and browsers #48

Open ZachSaucier opened 10 months ago

ZachSaucier commented 10 months ago

Describe the problem

With local storage, sessions are not auto-synced between devices.

Describe the proposed solution

Use browser storage to auto-sync between devices. You can even let users choose whether to save locally or save to the browser storage.

If you'd likely merge it, I'd consider making a PR for it.

Alternatives considered

No good ones.

Importance

i cannot use sessionic without it

navorite commented 10 months ago

I actually thought about this before deciding to use IndexedDB for two reasons:

Unless you have an idea how we would workaround the first problem then I think it wouldn't be worth it working on it.

Instead, I think we should add Cloud Sync, making it possible to sync sessions between all types of browsers and devices using something like Google Drive for example.

I'm currently away from home for 2 weeks so I'll not be able to work on that till I come back home, if you can open a PR and work on that, then sure, I am more than willing to merge it when I am back

ZachSaucier commented 10 months ago

For my personal usage, 100 KB is ample storage as I will only have ~5 sets of ~10 tabs being saved. I tend to use tools like this as "open this set of tabs on my other computer" functionality, only occasionally for longer-term sort of multi-tab storage.

Cloud based is fine so long as it's free 😄

navorite commented 10 months ago

For my personal usage, 100 KB is ample storage as I will only have ~5 sets of ~10 tabs being saved. I tend to use tools like this as "open this set of tabs on my other computer" functionality, only occasionally for longer-term sort of multi-tab storage.

Cloud based is fine so long as it's free 😄

Yeah, I believe they offer free plans. I don't think storage.sync is a good option because then we would have to offer two ways of saving / modifying / searching sessions.

I will definitely implement Cloud Sync soon along with a couple of other good enhancements, for the meantime you can workaround this by exporting sessions and the importing it on other devices.

HuronExplodium commented 10 months ago

100k def wouldn't work out for me but also very interested in sync. I wish there was a decentralized option, but I'll take a stinky cloud provider :smile_cat:

navorite commented 10 months ago

100k def wouldn't work out for me but also very interested in sync. I wish there was a decentralized option, but I'll take a stinky cloud provider 😸

I think local backup does the job, no? Can't think of other options

HuronExplodium commented 10 months ago

I think local backup does the job, no? Can't think of other options

My case is accessing sessions from my various machines without having to remember what I have saved where or manually sending links around or whatever- not sure how typical this is but I have a lot of stuff just open or pending at all times that would be nice to check on remotely. [also thanks- I'm using this extension either way !]

keagxn commented 10 months ago

yes please add a google drive sync/backup option similar to Tab Session Manager, im switching over from that and this is the only thing holding this back from being the actual best tab extension. An option to automatically export the SSF file to drive/local would also be great. Also im not sure if tab groups are working it doesnt seem so, otherwise this is a goated extension and ill definitely donate!

navorite commented 10 months ago

yes please add a google drive sync/backup option similar to Tab Session Manager, im switching over from that and this is the only thing holding this back from being the actual best tab extension. An option to automatically export the SSF file to drive/local would also be great. Also im not sure if tab groups are working it doesnt seem so, otherwise this is a goated extension and ill definitely donate!

Yeah that is my current plan about syncing online, I'll make sure to add the roadmap of features im gonna add when i comeback in ~3 days.

For tab groups, im not entirely sure, i'll have to double check when im back

Thanks for the feedback everyone, don't forget to add a review on the extension chrome/firefox store pages :)

inson1 commented 9 months ago

What about sync without server and cloud?

navorite commented 9 months ago

What about sync withut server and cloud?

How is that possible?

inson1 commented 9 months ago

@ZachSaucier I mean peer-to-peer sync, idk if that is possible with extensions

inson1 commented 9 months ago

@navorite Are these options end to end encrypted?

mofazhe commented 4 months ago

Is it possible to synchronize via webdav and support password encryption, like floccus bookmarks sync?