state icon indicating copy to clipboard operation
state copied to clipboard

Decentralize Authentication, Encrypt communication, and show current online status

Open philschatz opened this issue 4 years ago • 2 comments

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 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.

See https://philschatz.com/todo/ to try this code out. It should work offline as well

philschatz avatar Jan 03 '21 02:01 philschatz

Hey @philschatz this looks amazing - I'm afk this week but I'll take a closer look when I get back!

HerbCaudill avatar Jan 06 '21 19:01 HerbCaudill

👀

devYonz avatar Mar 21 '24 00:03 devYonz