I recently developed a command line chat app that I can self-host, to chat with my friends from the terminal and regain control over my chat data and metadata. I self host the back end in Linode and just for the lolz and "Unix portability" I wrote it entirely in C. I don't really expect this to be useful to anybody else than me and the couple of friends that also use it. I can now chat from the terminal during my working hours and my colleagues think that I am doing something mystical in the terminal or developing in Vim.
You can check it out at:
https://github.com/erodrigufer/papayaChat