-
Notifications
You must be signed in to change notification settings - Fork 53
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
Sync styles #2
Comments
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
Seems easy. @hideheader, what do you say? |
Since this is Chrome sync - and the user needs to be logged into a Google account to sync Chrome - couldn't the extension access the user's Google Drive storage to place settings data in there? or can Chrome extensions not ask the user for permission? or Stylish doesn't want to branch out too much just for the chrome version? |
@PushkaCom, that would look verrrry strange. Are there any extensions or addons that use it instead of the browser's built-in sync abilities? |
Instead of syncing the styles themselves, is it possible to sync URLs to access the styles? |
@AKPWebDesign That wouldn't sync styles created locally, but it's a good idea. Any thoughts on how to handle local? |
Perhaps a GitHub Gist could be used. When the local style is ready to be synced, create a Gist, and use the direct URL. And to save more space, you could even shorten the URLs with goo.gl or something similar. |
That's not a small feature request or a great user experience. You would have to create a private gist (it is a local stylesheet after all, the assumption would be to maintain privacy) which would require people setting up a new personal access token, saving a new gist, and saving that gist ID along with their token into Stylish. I still think saving a list of links is a good idea on the surface, but whatever the outcome it should be a simple solution for both developers to create/maintain/debug and users to use. |
You don't need to create a personal access token. Saving a new gist is as simple as a POST request to https://api.github.com/gists with the proper data, and the gists created are private by default. I'm currently using gists for some features in a Node.JS program, and can provide example code, if it would help. |
Would be nice to have som statistics on how much styles people have. Maybe the default sync storage is enough for most users and only power users need more where a more advanced (complex) feature could be added? |
If a first version of this feature only synced the URLs to public styles, I think that would still be a welcome addition and not too complex to implement. Some solution for private styles could be bolted on later. |
I only use private styles since I use Stylus to make a couple of sites I use more readable by changing the font to what I like but I guess I could publish them to be able to sync them. |
I second using Drive for the sync. A few apps do this already. No reason one more can't. Could even make it save them as plain css files so they can be edited in drive with a normal editor :P |
I'm not sure if this has been brought up somewhere else (tried to search) or if it's not possible, but what about the possibility to provide a path where the styles are loaded from and saved to? That would let you handle the syncing yourself with something like Bittorrent Sync/Dropbox? |
So:
|
Any news on this? |
Can you at least create an option to dump json(sql)/import dump back? |
Yes, we can! |
@tophf thanks a lot! |
The
@AKPWebDesign
|
+1 |
Note that if you use a website like greasy fork to host styles, you can use tampermonkey for chrome to sync styles ~ |
+1 |
Manual export/import really is no solution to this problem since users would have to go through the process of copy/upload/download/paste on every small change. Personally, I'd be okay with Drive sync if I can define the folder containing the styles. But I can also see that it would be a large investment for users who are not using Google Drive already. Also, I think it is more work than using gists. As long as Github is cool with that, I don't see a problem creating a new secret gist on every change. Also, I agree with @sobh and @Nojevah on the size limit of Chrome settings not being a problem for most of the users. |
Any new on this? |
+1 |
Guys, there are built in reactions now. Please don't leave a +1 comment with nothing else to add. |
@PushkaCom Do you know how Tampermonkey syncs scripts? |
ViolentMonkey can auto sync scripts by onedrive/dropbox, even between chrome and opera. |
@renyouguo I'd prefer Chrome sync because it doesn't force users to use one of a set of supported cloud storages. For me, Google Drive would be fine but for someone else it would be Dropbox or nothing at all. Even though cross-browser sync is quite cool indeed. |
+1 |
ib4 3-yr anniversary. |
One drawback with using cloud storage is that a lot of companies (like the one I work for now) block them. The native Chrome sync would be the best in that regard. |
+1 |
Seriously...this issue has been open for nearly 3 years and has more comments and thumbs up than any other issue in your backlog, open or closed. Please throw us a bone here @JasonBarnabe |
Jason Barnabe doesn't use sync, and evidently, obviously not interested in implementing it. As for me, I don't use sync as well. The only reason I've contributed is to have the features I needed, mostly UI-related, a couple of performance enhancements. Actually, this was the only reason I've learnt programming many years ago in the first place: to be able to modify/enhance the apps I use. So my point (and obviously Jason's) is that anyone is free to [learn programming and] implement sync functionality. |
This is a complex feature. I think some people may be afraid that if they implement it in the way they think they should @JasonBarnabe will not accept their PR. I know I do that. Perhaps Jason could just delineate how he would like the feature to be implemented people would take a second look at the idea of implementing it. |
It has been 3 years and the sync feature is still missing? Could we implement a basic version first, like sync small stylesheets directly but ignore large ones? I believe it would benefit many users. |
+1 |
1 similar comment
+1 |
Anything new on this? 😄 |
proposed solution: #205 |
Still not worth uBlock/uMatrix sync system. |
i am crazy? does stylish now support sync by default? installed new chrome version and opened a site at work where i have a style active only on my machine at home, but the style was there, opened stylish and there are many styles i absolutley did not install at work? |
Were those your own local styles or referenced ones? |
Tamper Monkey provides a choice between browser sync and google drive |
Commenting in 2018, would still love this |
Yeah would love to have this feature... |
I'm guessing it no longer matters since Google pulled out Stylish from the Chrome Web Store. |
I switched to Stylus |
Happy 2022 everyone. |
From stylish-userstyles/stylish#94
http://forum.userstyles.org/discussion/33477/sync-userstyles-between-chrome-instances#Item_4
The text was updated successfully, but these errors were encountered: