Open PRO-2684 opened 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?
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)
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?
POST
to https://userstyles.world/add
with credentials. Simply login, visit https://userstyles.world/add and inspect the form <form method="post" action="/add" enctype="multipart/form-data">
.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.
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.
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.
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.
Is there an existing issue outlining your problem?
Describe your issue.
Any plan to upload these userstyles to userstyles.world?