vufa / homo

An open source natural interaction system based on offline wake-up, natural language understanding and sentiment analysis
MIT License
260 stars 60 forks source link

Plugin system #3

Open linonetwo opened 5 years ago

linonetwo commented 5 years ago

How to write a custom skill plugin for it?

I'd like to write a simple JS or Py function that receives the parsing result, and call external API to do something interesting.

Just like plugin system for Alfred or Zazu

vufa commented 5 years ago

:sweat_smile:Yes, this is what I have planned, I am already doing it. Plugin will support golang and python.

linonetwo commented 5 years ago

Cool, I'm willing to learn golang for writing plugins. But it will be better if you support webhook (POST to a URL written in the webhook config, when a condition is triggered), it will allow looser microservices integration.