Are any of these encrypted messaging systems open source and or free?
tl;dr
Telegram has an open source frontend and clients exists for all major systems.
There is also Signal which is fully open source and the go-to solution if you are heavily privacy focused.
WhatsApp is closed and your phone must always be connected to the internet to access it via the Web. It has no real App, only an electron App which is the web version.
Signal is the best, as it's open source and uses end-to-end encryption.
The Signal guys are the one who invented the encryption Whatsapp is using now.
They don't store anything.
Their Encryption algorithm is fully transparent and open.
Then there is Telegram.
It's cloud based and stores your messages on its servers.
It's made by 2 Russian brothers who worked (or created) the biggest social media site there.
They left and made a messenger that is non-profit and funded by the millions (or so) they made.
You can also use secret chats and use end-to-end encryption.
Because of the cloud based storage you can upload files (up to 100GB think) and access it from any device connected.
The backend is closed, but the frontend has an open API and there are open source clients for Linux (even a command line tool exists).
They use their own encryption that is not open. So you need to trust them that it's secure.
But the Russian government banned Telegram for several months as they refused to give away user data.
People used VPN or other mechanisms to still access the messenger and the government released the ban later I think.
That speaks for itself in my opinion.
It's much more trustworthy in my opinion than WhatsApp, but less than Signal.
A lot more people use Telegram instead of Signal.
I don't recommend WhatsApp, as it collects your metadata and shares it with Facebook.
It has no open frontend/API and you have t use the Web-App to access it not from your Phone.
There is an App, but it's eelctron based, so it's the same as the web page.
Your Phone must be connected to the internet, as WhatsApp does not store your data on any servers.
That's the only good thing about them if you are privacy concerned, but it's extremely inconvenient to use.
And the metadata is enough for them to know so much about you.
I have WhatsApp but I'm rarely using it. Mostly for my university group.
After my studies I want to delete it as most people I have contact with have Telegram now
The others are even more niece than Signal and I don't consider them an alternative for me.
There is Threema which claims that they are privacy focused, but they are not open and you need to pay for their service. So no.
I hope that helps you and others who are interested in the subject.
If you have more questions feel free to ask.
I did some research about the topic in the past