Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sync description #73

Open
Verity-Freedom opened this issue Dec 19, 2024 · 14 comments
Open

Update sync description #73

Verity-Freedom opened this issue Dec 19, 2024 · 14 comments

Comments

@Verity-Freedom
Copy link

Verity-Freedom commented Dec 19, 2024

I created a public gist for Zero Omega but it doesn't work. What is wrong? Cant find the guide for gist. I tried to sync between edge and chrome using the public gist.
image
https://gist.github.com/Verity-Freedom/415e4c65d4581ac141ab34ccc73a6385

Upd. everything is working when I use https://gist.githubusercontent.com/Verity-Freedom/415e4c65d4581ac141ab34ccc73a6385/raw/27255e7f973d07494dcc5b6585e9148df53cea45/ZeroOmegaOptions.bak as a restore from online file instead of a gist sync option.
image

Probably this is the issue
image

I'm not exactly sure there is something that can be done on your part.

@Verity-Freedom Verity-Freedom changed the title How to use Gist? Gist working only as a raw file Dec 19, 2024
@zero-top
Copy link
Member

zero-top commented Dec 20, 2024

A token with gist permission is required.


image


image

@Verity-Freedom
Copy link
Author

A token with gist permission is required.

image

image

Thank you!

@Verity-Freedom
Copy link
Author

Verity-Freedom commented Dec 20, 2024

@zero-top by the way, Gist unlike .bak file is not saving extension theme. For me Gist syncing looks pretty hard with many steps and many chances to make error like this, so I will use raw file syncing.

@Verity-Freedom Verity-Freedom changed the title Gist working only as a raw file Gist not saving the extension theme & hard to configure Dec 20, 2024
@Verity-Freedom
Copy link
Author

@zero-top I think I wouldn't face this problem if it was more clear that gist needs permission, like if it was colored in red and CAPSLOCK. I'm not really that stupider than average user. And gist not saving the extension theme is now a legitimate issue.

@Verity-Freedom
Copy link
Author

@zero-top
image

This one is outdated and only increases confusion.

@zero-top
Copy link
Member

The current synchronization is mainly to ensure that the added/modified rules can be synchronized correctly. Other things, such as themes, are not considered, because some people have multiple computers and want different themes for different computers.

The difference between sync and bak is that sync will not save PAC Script and Rule List Text.

@zero-top
Copy link
Member

image

image

@zero-top
Copy link
Member

image

@Verity-Freedom
Copy link
Author

Maybe the old syncing was even better

image

image

Well then just only outdated Chrome mention & probably more clear guide howto, im not the smartest person maybe just for me it was hard, still thank you I did it fast after your help.

@zero-top
Copy link
Member

Old sync also does not save PAC Script and Rule List Text. Moreover, Old sync will easily exceed the number limit of chrome.storage.sync due to too many added rules. Gist sync is designed to solve this limitation. At the same time, gist sync can also solve the synchronization between different browsers (such as chrome, edge, firefox).

image

@Verity-Freedom
Copy link
Author

Old sync will easily exceed the number limit of chrome.storage.sync due to too many added rules

Ye sorry my bad, I dunno why it was sent like this, I wrote it like a hour ago when I tried to understand the sync issue, now I know that the old sync was only for chrome browser and was storage limited so its not better definitely. For me the most convenient one is still the link to .bak file but I think that sync description should be updated at least because it is now working for any browser, not only for chrome.

@Verity-Freedom Verity-Freedom changed the title Gist not saving the extension theme & hard to configure Update sync description Dec 20, 2024
@Verity-Freedom
Copy link
Author

This "old sync is better" was probably browser cache that I forgot to clear, I thought like this for about 5 minutes, of course its not that simple. But old sync was just a button, the new sync is much-much harder. Btw I never used sync both in zero and switchy before today so Im not a specialist, but I created a very convenient .bak for myself and others in my repo.

@zero-top
Copy link
Member

This description may confuse some people, and I will update it later.


The configuration restored by bak will reset all existing rules; through sync, the rules added by yourself will be saved to gist as soon as possible, and then synchronized to other browsers. These two mechanisms are still different.

@Verity-Freedom
Copy link
Author

This description may confuse some people, and I will update it later.

The configuration restored by bak will reset all existing rules; through sync, the rules added by yourself will be saved to gist as soon as possible, and then synchronized to other browsers. These two mechanisms are still different.

I also think it should be clear that it is only a personal sync settings, gist tokens are basically tokens from me, from MY Github account, and anyone can do anything with them, it may be very dangerous. I remember people stole my discord token in 2019 when I was just 15 years old. I plan to use .bak file link sync as means to mass synchronisation for using my Tor Portable in Russia with Zero Omega, because your extension is the best out of all of them and you developing it pretty well. I mean gist is clearly not the best way for mass sync which I intend, and it's clearly not chrome related anymore, I hope people will not have any confusion configuring gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants