2016-06-14, 13:52
Repository Bootstrapper
Creating a repository enables you to easily distribute your addons to your Kodi clients.
It has never been easier before and with "Repo Bootstrapper", you can create one from scratch by running a simple Python script.
How to get started
That's it! You have just created a repository addon if it did not exist and in the output folder all your zipped addons and repo files.
Creating a repository enables you to easily distribute your addons to your Kodi clients.
It has never been easier before and with "Repo Bootstrapper", you can create one from scratch by running a simple Python script.
- Create a repository addon which users can install.
- Create the addons.xml and addon.xml.md5 files.
- ZIP-file your addons with version numbers.
- Copy changelogs and rename with version numbers.
- Copy icons & fanarts, if any.
- Ignore .idea subdirectories in addons' directories (pycharm's project settings)
- This all is outputted in a directory (default _repo) which you can sync to an online server.
How to get started
- Download the master zip or clone the repo: https://github.com/Twilight0/Repository-Bootstrapper
- Put your uncompressed addon directories in the root folder OR copy the _tools folder to your directory with uncompressed addons
- Edit _tools/config.ini
- The 'url' value in config.ini should be the address to directory at the server where you will place the 'output' directory. If your _tools folder is at mydomain.com/subdir/_tools, the url should be set at mydomain.com/subdir/. By default, the script will use addresses like: mydomain.com/subdir/_repo/addons.xml
- When using GitHub, please use the 'raw' location (eg. http://raw.githubusercontent.com/[username]/[repository]/)
- Run _tools/generate_repo.py
That's it! You have just created a repository addon if it did not exist and in the output folder all your zipped addons and repo files.