suggestion: Use github gist to synchronize/backup stylus configuration
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.
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.
the possibility of adding Github as an option
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.
The goal is a little different. (configuration vs styles)
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.
...Github repo... is so slow compared to other services. The bandwidth limit is also lower.
Well, if that's the case, it probably isn't even worthwhile.
Not sure about the differences between sync/backup you guys mentioned, but this is the one I use to recover in a new browser:
Is that not correct?
Also, how big the config usually is that the speed is a concern here? The file that is stored in my dropbox is 382 KB zipped, 2302 KB unzipped JSON. I guess gist rather accepts JSON than zip.
Not sure about the differences between sync/backup you guys mentioned
"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.
Also, how big the config usually is that the speed is a concern here?
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.
preferences can be synced separately via the browser sync feature
@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 /manage.html. On my other computer, I would follow Backup / Import / Dropbox Import which would fetch the styles that I installed and backed up previously, together with my preferences (did I use the right term now?). Is that right, or is there an easier way which doesn't require a storage service and is automatic via signing in the Chrome Sync?
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? It would be really cool to be able to fork etc, and or edit via <FAVORITE IDE HERE> It would also be nice if it could be detached from github, so someone could self host it, thus the idea of a git repo vs github gist.
@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.