catppuccin / userstyles

🖌 Soothing pastel userstyles
MIT License
530 stars 155 forks source link

Upload to userstyles.world #1392

Open PRO-2684 opened 4 weeks ago

PRO-2684 commented 4 weeks ago

Is there an existing issue outlining your problem?

Describe your issue.

Any plan to upload these userstyles to userstyles.world?

uncenter commented 4 weeks ago

What's the benefit of adding them to there? Is there an API that we can use to automatically upload new userstyles to the site?

sgoudham commented 4 weeks ago

I created an account under the org: https://userstyles.world/user/catppuccin and unfortunately doesn't seem to be an API (or well, I can't find any settings that let me create an API key of any kind)

They do seem to have functionality to allow importing from URLs but I'm not sure on the semantics of that (i.e, can you upload once and all updates are automatically pulled in? or do you need re-import on a new version)

PRO-2684 commented 4 weeks ago

What's the benefit of adding them to there? Is there an API that we can use to automatically upload new userstyles to the site?

PRO-2684 commented 4 weeks ago

I created an account under the org: https://userstyles.world/user/catppuccin and unfortunately doesn't seem to be an API (or alteast, I can't find any settings that let me create an API key of any kind)

They do seem to have functionality to allow importing from URLs but I'm not sure on the semantics of that (i.e, can you upload once and all updates are automatically pulled in? or do you need re-import on a new version)

It doesn't have Webhooks like GreasyFork does, but if you import a userstyle, it will check for update "Every 4th minute of every 4 hours".

For authenticating, their Cryptographic usage page might help.

PRO-2684 commented 4 weeks ago

Also, existing userstyles' @updateURL should be removed, or userstyles installed from userstyles.org will be updated from GitHub. Stylus should handle updateURL by itself correctly.

isabelroses commented 4 weeks ago

I suppose I should chime in, we have had no official pushes to userstyles world, but some people in the past have uploaded some themes. Like how I uploaded catppuccin youtube in the past, see below. image

Link to youtube catppuccin on userstyles.world: https://userstyles.world/style/8932/youtube-catppuccin

Also, existing userstyles' @updateURL should be removed, or userstyles installed from userstyles.org will be updated from GitHub. Stylus should handle updateURL by itself correctly.

This gets stripped automatic when you upload the files thankfully.

So we would only need to setup a mirror once per theme, so it would be a matter of ci on init PRs, and one massive one to get all ~100 themes up there now.