Is there anyway to tap into and extend frappe/socketio.js, so that custom apps could publish messages, that could be handled by nodejs applications in the custom app?
Example:
I would like to publish events from custom app doc.js e.g.
Write you own node_utils.js and socketio.js and start it instead of the ones built by frappe. You can try to hack up something to import and extend existing js files instead of full copy-paste.
Changes will be needed in :
For manual production setup: supervisor.conf, change the node socketio.js part
For dev setup: Procfile
For container setup: replace image of websocket / frappe-socketio service with your own image.