-
-
Notifications
You must be signed in to change notification settings - Fork 62
Theme providers
Providers are hosts for the remote install feature introduced in NXThemesInstaller 2.5
Users are able to downlaod themes directly from the themes installer by typing an ID or a search term.
To create your own theme provider first of all you must implemente the API documented here.
The API has been designed to be hosted as static files as well so you can make your own theme repo even on github pages.
To add custom theme providers to the theme installer add a file called providers.json
in the themes folder:
[
{
"name" : "Provider name",
"url": "https://provider.example.com/installerapi?themeid=%%ID%%"
}
]
The %%ID%%
part of the URL will be replaced with the text provided by the user.
It's possible to set the option "static" : true
to disable the "New themes" and "Random themes" options
providers.json
can contain multiple providers.
This is an example github repo that can act as theme provider