Skip to content
Thomas Milox edited this page Apr 28, 2017 · 16 revisions

How write my own plugin for AVA

Introduction

Welcome to the guidelines to create your own plugins for AVA!

As you should know, our Artificial Vocal Assistant is based on a plugin system allowing you to customize your way of using it. Our solution is able to deal with plugins written in C++, Golang and of course in Python.

In order to handle your plugins in a generic way, we need you to follow some rules when you'll write your own plugin.

First, a plugin is composed of, at least, two files: the configuration file named manifest.json which contains required details about the plugin and a file with the code to execute when the according command is caught.

Easy, isn't it ? Let's move on!

Just below a representation of a repository for a plugin git written in Python:

As you can see, the folder of the plugin should have the explicit name of the plugin. It contains two files, the manifest.json and the python file git.py.

Alright, you are almost ready to write the code :) Just below you will find every guideline to write the configuration file and to develop you plugin according the language you choose.

Write the plugin!

  • Configuration file

how write the manifest.json

  • How write a plugin in Python

Python guidelines