Closed silverwind closed 5 years ago
See Mottie's response on https://github.com/StylishThemes/StackOverflow-Dark/pull/115.
I don't think this is necessarily a bad idea. Maybe we should consider publishing on OpenUserCSS instead? Though they seem to be missing CC licence options at this time and I don't exactly like the blurring everywhere.
Yes, OpenUserCSS is certainly an option, but I'd only consider it if there is a way to automate update deployment via an API, otherwise it's too much work for little benefit.
Seems like they do have an API (api.openusercss.org), and there's code for the API in their repo, but it doesn't look like it's documented.
I see there's a GraphQL API but it looks rather complicated to write a client against without documentation (lots of body parameters).
@DecentM I don't suppose you maybe have a sample client to api.openusercss.org available?
Yeah, I'm all for dumping USO, but I've had some difficulty adding styles to openusercss.org. If you can automate it, that'd be awesome!
I can work on converting all the remaining styles into user.css versions, then we can host them all here on GitHub.
There was an interesting discussion on USO about licensing and source code https://forum.userstyles.org/discussion/61002/stylish-open-source-status-as-of-2017#latest but I disagree with the views expressed, because no one bothered to read GPLv3 and paragraph 6 more specifically.
In any event there seems to be mystery surrounding mystery that no one is able to cut through for various reasons and officially there is no effort in clarifying anything or assuage peoples qualms.
OpenUserCSS has had some bugs squashed in the areas of adding/managing styles, sadly nothing has been done about automatic deployment, but dont despair, there are related issues open and being tracked, waiting further development and bug fixes, So in time with more maturity it will be a valid option for you guys :)
I can work on converting all the remaining styles into user.css versions, then we can host them all here on GitHub.
The only thing with that is visibility and popularity which leads to exposure is considerably lower than USO.
I can work on converting all the remaining styles into user.css versions, then we can host them all here on GitHub.
That'd be great, yes. Once we have all our styles in usercss format, we're free to move from USO. For the simple styles without configuration, all that should be needed is a small header.
nothing has been done about automatic deployment
Yeah, seems so. I think at minimum I'd need a way to generate auth tokens in the web interface and a API endpoint to POST a updated style to. I have to admit, this GraphQL stuff seems a bit intimedating, I guess I'd prefer REST endpoints, but maybe I'm too old-fashioned. :)
The only thing with that is visibility and popularity which leads to exposure is considerably lower than USO.
I don't particularily care about popularity, we write styles mostly for our own use.
Here is one thing to consider, remove the mention of stylish from all readmes and wiki entries. I know I will.
I don't particularily care about popularity, we write styles mostly for our own use.
I also write styles for my usage, but after I spent x amount of hours writing it and tweaking it/updating it and posting on GH, its nice to share with others and have users find them sort of easily, that said a certain degree of difficulty will likely filter out some users you may or may not want to have :).
I think at minimum I'd need a way to generate auth tokens in the web interface...
You only need tokens for actions that require logging in, like changing passwords, uploading a theme, etc. The rest of the functions are publicly accessible (this may change in the future if I see a lot of abuse), so it should be easy to search for themes and get their contents from any app.
...and a API endpoint to POST a updated style to. I have to admit, this GraphQL stuff seems a bit intimedating, I guess I'd prefer REST endpoints, but maybe I'm too old-fashioned. :)
I've written some API functions for usage in Stylus here: https://github.com/openstyles/stylus/blob/44a11508fff2175da9397972c62396c8bc23c80a/background/openusercss-api.js
You can think of GraphQL as REST with some restrictions. You can only do POST and the body must contain a string that's a valid query. For example, this string:
query {
theme(id: "5a2f03e7ba666f0b00b9c829") {
title
screenshots
user {
displayname
}
}
}
will result in the following JSON response:
{
"data": {
"theme": {
"title": "Dark Google search",
"screenshots": [
"https://i.imgur.com/hdNGXpm.png",
"https://i.imgur.com/A3Agtsa.png"
],
"user": {
"displayname": "DecentM"
}
}
}
}
If you feel like experimenting, there is an excellent Star Wars themed API you can poke without installing anything here: https://graphql.org/swapi-graphql/
You can also do the same thing with the OUC API by downloading GraphiQL from here: https://github.com/skevy/graphiql-app/releases (set the endpoint to https://api.openusercss.org)
I think GitHub must've gone crazy... the comment arrows only appear in self posts and the new comment area now.
I think GitHub must've gone crazy.
Im quite sure of it. for quite a few reasons.
I could live without those arrows, but let's not derail this topic any more.
Ive removed all mentions of stylish on my readmes in its entirety, I see you only have removed from GHD but still left some safari entry, which I presume is pre tracking code, but still, all gone especially since it links to noweher https://safari-extensions.apple.com/details/?id=com.sobolev.stylish-5555L95H45
The Safari Extension (code at https://github.com/350d/stylish) is independent from the other Stylish extensions, so I kept the link. I don't think it includes any tracking code, but probably best to check twice.
You cant get the extension from the links provided on the developers website to the apple store, The GH repo is a mirror and if whatever that https://github.com/350d/stylish/blob/master/stylish.2.1.0.zip is I doubt many people will find it never mind install it.
In any case the link in GHD readme leads nowhere fast.
Also, https://github.com/StylishThemes/GitHub-Dark/wiki/Install#stylish, I would make contributions to wiki, but its closed.
So it appears Apple has taken down the Stylish extension from the Safari store, I didn't expected that because to my knowledge, it does not contain the tracking code. There is a FreeStyler extension for Safari but that does not seem to support the usercss format, so I guess we're out of options there.
IDK what reasons were, but Ive been updating my readmes etc and replaced Stylish with Freestyler and found Freestyler also is not anywhere for G Chrome.
TBH never really looked into Freestyler much, it appears to be mostly left to the flies.
Did I miss something? Freestyler claims to have extensions for Chrome, Firefox, Opera and Safari - https://freestyler.ws/plugin-page - The Firefox & Safari versions appear to expect you to install them directly, but no instructions are included.
Did I miss something? Freestyler claims to have extensions for Chrome,
At some point something happened, and now they dont seem to have any I could find easily from their download page but seems the only one that is offered an indirect link i.e to gchrome store.
Have no idea of reason and also dont have much interest in finding out :)
edit, I found a 3rd party site that has Freestyler for chrome, I dont trust 3rd party sites such as this and urge care when visiting or downloading anything. see https://www.crx4chrome.com/crx/43201/
I did a short test with FreeStyler on Safari:
Our readme states usercss support for FreeStyler. Is this true for the Chrome/Firefox versions only perhaps?
More FreeStyler testing:
Also, it seems it is not possible to install/create a style not published on freestyler.ws. I'm thinking we have to drop that one too.
The Chrome extension page is 404. I assume it was either redacted or taken down by Google.
Ive said this same thing, but I think its strange that 3rd party site has newer version and FS forums have no news of anything that new.
At first look, its seems everything Freestyler is abandoned going back to 2017, this doesnt seem good enough to advertise a product that will likely have no support.
Does anyone know where sourcecode for Freestyler is? Does it even exist?
Our readme states usercss support for FreeStyler
Sorry, I was thinking of xStyle.
Does anyone know where sourcecode for Freestyler is? Does it even exist?
I don't think it is published anywere but you can just rename a .xpi extension for Firefox to .zip and inspect the minified Javascript source. From a cursory look, it seems to include some sort of "statistics" code which seems a bit fishy, If it was taken down from the Chrome store ,maybe this was the reason.
I don't know if it works with the freestyler.ws site
I don't think it supports anything beside a similar set of options exposed by USO, managed purely by the web interface.
On other not news, news. https://addons.mozilla.org/pl/firefox/addon/stylish/versions/3.1.5
Stylish makes a comeback into Firefox addon store. Ill be curious to see what Robert Heaton has to say about this new code.
Edit: makes no difference to me, I'm strictly only recommending Stylus only.
I've now deleted (or rather, archived) all our userstyles.org styles with messages to install from GitHub instead, so this is actually fixed now.
Thanks! I've been super busy... product launch tomorrow.
Given the latest news about shady businesses of the owners of the Stylish extension (and userstyles.org), I feel like we should delete our account there along with all styles hosted on it as I do not want to associate anymore with the owners. Also, the extension has been pulled from various stores so it makes the site kind of obsolete too. @Mottie are you fine with it? Less work when updating the style, too.