This uses the decentralized authentication chain in local-first-web/auth to encrypt communication between peers and invite new members to the team. The chain is replicated between peers using the Repo class and Automerge. Additionally, since all messages are signed, the username is shown in the online dropdown in the Toolbar:
I am not sure which if any of this code is useful; I did it to learn more about the state and auth repos and cryptography in general.
It would be nice to have an offline PWA on our phones to communicate with friends and family (ephemeral chat, shopping lists, text docs) without needing a cloud.
This uses the decentralized authentication chain in local-first-web/auth to encrypt communication between peers and invite new members to the team. The chain is replicated between peers using the
Repo
class and Automerge. Additionally, since all messages are signed, the username is shown in the online dropdown in the Toolbar:https://user-images.githubusercontent.com/253202/103470690-df9d4500-4d3a-11eb-87bb-3163148d0aec.mp4
I am not sure which if any of this code is useful; I did it to learn more about the
state
andauth
repos and cryptography in general.It would be nice to have an offline PWA on our phones to communicate with friends and family (ephemeral chat, shopping lists, text docs) without needing a cloud.
See https://philschatz.com/todo/ to try this code out. It should work offline as well