The official main Plugin Repository for https://github.com/lad1337/XDM
The issue with this repo is that all plugins are downloaded on a single request.
But that could be easily changed if the download url link to different zip files.
XDM >= 0.5.0 can batch install plugins and if and does not redownload the same file in a batch.
Please feel free to use these plugins to create your own plugin(s).
Easiest way to create your JSON is to use the "repoJSONmaker.py" that comes with XDM (>=0.5.0)
e.g. my run command for the dev branch is:
python repoJSONmaker.py --download_url https://github.com/lad1337/XDM-main-plugin-repo/archive/dev.zip --info_url https://github.com/lad1337/XDM-main-plugin-repo/tree/dev --name XDM\ main\ repo --path /Volumes/HDD/lad1337/workspace/XDM-main-plugin-repo/
This will load all of the plugins in /Volumes/HDD/lad1337/workspace/XDM-main-plugin-repo/ and write the meta.json into it with all the info extracted from the plugins. It also warns about missing identifiers or wrong plugin folder names.
===
{
"name": "name of your repo",
"info_url": "url to some site that has information on yout repo",
"plugins": {
"identifier.of.your.plugin": [
{
"major_version": 0, // the major version number X of "X.Y" the version in the plugin
"minor_version": 2, // the minor version number Y of "X.Y" the version in the plugin
"format": "zip", // right now only zip is suported
"desc": "The description of your plugin",
"name": "The name/screen name. IMPORTEND: this must be the same as the folder name in the zip",
"type": "Notifier",
"xdm_version": [ // minimal XDM version needed for this plugin since XDM Zim 0.4.16
0,
4,
16
],
"download_url": "download to the zip containing the plugin"
}
]
}
}
See https://github.com/lad1337/XDM-main-plugin-repo/blob/master/meta.json for running example.
Please make sure your json is valid, check at http://jsonlint.com/