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
suggestion: Use github gist to synchronize/backup stylus configuration #813
Comments
We have a new auto-sync feature which should be available in the next month or so. It'll provide options for dropbox, gdrive, and onedrive, but that probably won't help much for your particular issue. @eight04 hooked up the new sync feature. IIRC, he originally mentioned the possibility of adding Github as an option, but that hasn't happened as of yet. Not sure if that's something he might still plan on adding eventually, or if he decided against it for whatever reason. |
The goal is a little different. @ackvf wants to backup his configuration to Github gist. The sync feature backup styles to cloud storage.
It is possible to use a Github repo to store data. The only problem is that it is so slow compared to other services. The bandwidth limit is also lower. Note that the pref is already synced with your Google/Firefox account if you log in to the browser. |
Yeah, I guess I missed the main point here. I thought this about backup/sync in general, not just configuration. Prefs should really be included in backups and sync by default, not as a separate feature.
Well, if that's the case, it probably isn't even worthwhile. |
"Configuration" is open to interpretation. I suspected you meant styles, and 8 figured you meant "preferences". We don't currently include preferences in backups, or the new sync feature, which is yet to be released, but preferences can be synced separately via the browser sync feature. Eventually, the new "auto-sync" feature will replace the current manual Dropbox one.
IDK what limitations 8's referring to specifically, but it's in relation to the new sync feature, which syncs styles individually, so they should all be relatively small. Github must just be slower in general. |
@narcolepticinsomniac I am still no smarter, I think I am doing it wrong and missing some core feature. :) Basically, when I signed in to the Chrome on the new company computer, all my extensions got installed, but there are no installed styles in Sorry to bother you, but I am really confused and perhaps I can avoid the storage service altogether, which would solve my problems. |
Think of prefs like any toggles you may have flipped in options, or various other checkboxes in the UI. Those should be synced via the built-in browser sync. Browser sync has a size restriction of 100kb, and various other limitations which make it useless for syncing styles. Syncing styles requires a cloud service. |
Another gist sync implementation that's a little closer to Stylish is Snippets—its basically the snippets pane in DevTools with an extended feature set, most importantly sync via gist API (its also a great javascript complement to Stylish). |
Is there any chance that it could be linked to a git repo as a whole? |
@deef0000dragon1 Since you are asking a different feature, please open a new issue to summarize your request. |
@deef0000dragon1 BTW, github's gists are really just git repositories, you can check both out locally. You can even checkout gist and push it into a git remote. Gist just doesn't use folders. |
Is there any progress in using OneDrive's sync feature now? |
+1, I also want to use Gist to sync my configuration and styles. |
I normally use Dropbox to synchronize the Stylus configuration across all my devices, however, my current company blocks all storage related web services, so working on a new machine is a real pain (in the eye mostly).
VSCode Settings Sync uses gist for the same already and it has proven viable. As a bonus, it also keeps the change history.
The text was updated successfully, but these errors were encountered: