As far as I know there are no open source solutions for wake word detection. Most 'open source Alexa' projects require you to press a button to make it listen.
There is a free offline wake word detector here: https://github.com/Kitt-AI/snowboy ... ok that was closed source when I looked last! Looks like you still need to use their website for training though.
I have used Snowboy – it's open, but the models are not. You can train a voice model using three samples using the site or pay for an API (so you could integrate it into a platform). They will also build you a custom generic voice model if you pay them.