Over the last weeks I spent my free-time experimenting further with the SAFE DOM API. The result is a small chat app similar to Whatsapp. Inspired by MaidSafe’s mobile showcase chat app all messages are end-to-end encrypted using sealed messages. Feel free to take advantage of the safe.js API wrapper or any other code that might help you for your own projects.
I wrote this to gain further knowledge of the SAFE API and want to share it in the hope that others can benefit from the code. Btw.: I know that the code is by no means perfect / clean or anything but I hope it’s at least structured enough so others can read and understand it.
In order to use the chat, just browse the following URL using SAFE Browser: safe://mind2chat/
Let me know what you think or post if you have any questions or feedback! Of course you can also give me feedback using Mind.Chat My username is: Mindphreaker
Please note: Some actions (registering, etc.) can take a little while, please be patient. ^^ If you are in doubt, open the dev tools which should give quite verbose feedback about the status of the app.
The chat automatically polls for new conversations and / or messages, so you don’t have to refresh the page.