11 0 11 Sign in to rate

AnkiHub - automatic plugin updater based on github

0.03MB. Updated 2016-09-11. Only supports Anki 2.0.x.

Description

How users can install your plugin Install AnkiHub in Anki (code: 116826216) Restart Anki Go to Tools > Add-Ons > From GitHub Enter the GitHub path (e.g. dayjaby/AnkiHub) An Anki restart is NOT necessary anymore!! Or: Register your plugin If you prefer the users to use the standard way to install your plugin, then add the following code to your plugins: try: import ankihub ankihub.update(['githubUsername/repository']) except: pass Release a new version In your github repository for your plugin click on 'releases' and then 'Draft a new release'

Enter appropriate title and description

Upload the .zip file from your plugin

Enter a tag name of the form v0.0 for major releases or v0.0.X (with X>0) for minor releases Major releases must contain the entire plugin as .zip, whereas minor releases should be used for smaller updates, e.g. when you have changed only one .py file. You can create such small update zip files by running the command from the root of your plugin. rm small-update.zip 7z a small-update.zip path/to/updatedFile If you are done, it should look like: This will automatically notify the users about new versions for your plugins on github!If you prefer the users to use the standard way to install your plugin, then add the following code to your plugins:Major releases must contain the entire plugin as .zip, whereas minor releases should be used for smaller updates, e.g. when you have changed only one .py file. You can create such small update zip files by running the command from the root of your plugin.If you are done, it should look like: https://github.com/dayjaby/AnkiHub/releases The next time the user starts Anki, he will get a notification about your new release:

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

To download this add-on, please copy and paste the following code into the desktop program:

116826216

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

Other Anki 2.0.x Add-Ons Ask a Question

Reviews

Thx.