I think i will use websockets, thanks for the advice. At moment i'm using callbacks only because can't do different.
Probably async/await will be available from the next version (I've read that too).
Best method to script posts
I have a Python script which calls ffmpeg on a random selection of movies and pipes them to an RTMP stream. I'd like to be able to post a widget or update an existing forum post. Would I need to use Flask to create an API that's called by NodeBB or is there an existing API I can script something like a widget update to? How would I handle authentication for the API?
You may want to take a look at the Write-Enabled API. Might be helpful from a scripting perspective!