i havent considered those compile targets. i supose it could be done. is there not something already out there?
i think it would be better to start off with the official version and take it from there. https://github.com/signalapp/libsignal
my version is created specifically for the browser environment.