@ybbet
But if your case be somehow regularly, you could make some script or program to compose and encode “config.js” file from some defined structure with python or any other language.
Basically, config.js is some kind of JSON object(or like-something), So you can prepare one template object, and manipulate the object with your purpose by condition. Then write it into config.js file.
There is indeed a Text-To-Speech module that works: MMM-TTS.
Unfortunately, the libraries used do not take into account the French language. The alternative solution is the use of google-tts.
I tried to create my own module to integrate the module google-tts-api
Not being used to developing under Nodejs, I have trouble making it work as I would like.