csdocs/devs/create-your-own-json-reposi...

26 lines
953 B
Markdown
Raw Permalink Normal View History

2023-01-22 10:06:50 +00:00
---
label: Creating your own JSON repository
2023-01-23 16:29:54 +00:00
order: 997
icon: /static/json.png
2023-01-22 10:06:50 +00:00
---
# Creating your own JSON repository
Cloudstream uses JSON files to fetch and parse lists of repositories. You can create one following this template:
```json
{
"name": "<repository name>",
"description": "<repository description>",
"manifestVersion": 1,
"pluginLists": [
"<direct link to plugins.json>"
]
}
```
- `name`: self explanatory, will be visible in the app
- `description`: self explanatory, will be visible in the app
- `manifestVersion`: currently unused, may be used in the future for backwards compatibility
- `pluginLists`: List of urls, which contain plugins. All of them will be fetched.
2023-01-22 10:12:51 +00:00
- If you followed "[Using plugin template](using-plugin-template)" tutorial, the appropriate `plugins.json` file should be in the builds branch of your new repository.
2023-01-22 10:06:50 +00:00
- If not, you can still generate one by running `gradlew makePluginsJson`