Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

docs(encrypted-p2p-chat): add DEMO.md with UI screenshots

CarterPerez-devf156941cd82a
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/DEMO.md b/PROJECTS/advanced/encrypted-p2p-chat/DEMO.md
new file mode 100644
index 00000000..fbb1e1e8
--- /dev/null
+++ b/PROJECTS/advanced/encrypted-p2p-chat/DEMO.md
@@ -0,0 +1,89 @@
+<!-- Β©AngelaMos | 2026 -->
+<!-- DEMO.md -->
+
+<div align="center">
+
+```ruby
+β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•— β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
+β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—
+β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘
+β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•— β•šβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•”β•β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β•β• β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘
+β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
+β•šβ•β•β•β•β•β•β•β•šβ•β• β•šβ•β•β•β• β•šβ•β•β•β•β•β•β•šβ•β• β•šβ•β• β•šβ•β• β•šβ•β• β•šβ•β• β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β•
+```
+
+**Demo & Preview**
+
+<br>
+
+<a href="https://chat.carterperez-dev.com">
+ <img src="https://img.shields.io/badge/β–Ά_TRY_IT_LIVE-chat.carterperez--dev.com-DC143C?style=for-the-badge&logo=googlechrome&logoColor=white" alt="Live Demo"/>
+</a>
+
+<br>
+
+```ruby
+docker compose up -d β†’ https://localhost
+```
+
+<br>
+
+[Register](#register) Β· [Login](#login) Β· [New Conversation](#new-conversation) Β· [Empty Conversation](#empty-conversation) Β· [First Message](#first-message) Β· [Encrypted Messaging](#encrypted-messaging) Β· [Mobile View](#mobile-view)
+
+</div>
+
+---
+
+### Register
+
+Passwordless account creation with WebAuthn passkey enrollment β€” username and display name are the only fields, no password is ever entered or stored
+
+![Register](assets/images/register.png)
+
+---
+
+### Login
+
+Passkey authentication with optional username field β€” leave blank to use a discoverable credential resolved by the authenticator
+
+![Login](assets/images/login.png)
+
+---
+
+### New Conversation
+
+Username search resolves the recipient's identity key from the directory before any message is composed
+
+![New Conversation](assets/images/new-conversation.png)
+
+---
+
+### Empty Conversation
+
+Fresh thread with E2EE badge and presence indicator β€” no plaintext history is ever stored on the server, so a new conversation truly starts empty
+
+![Empty Conversation](assets/images/empty-conversation.png)
+
+---
+
+### First Message
+
+Outbound message encrypted client-side with the recipient's public key and pushed over WebSocket β€” the server only ever sees ciphertext
+
+![First Message](assets/images/first-message.png)
+
+---
+
+### Encrypted Messaging
+
+Live two-way conversation with delivery timestamps and the lock indicator on every bubble confirming end-to-end encryption per message
+
+![Encrypted Messaging](assets/images/chat.png)
+
+---
+
+### Mobile View
+
+Responsive single-pane layout with collapsible sidebar β€” passkey auth and E2EE work identically on mobile via the platform authenticator
+
+![Mobile View](assets/images/mobile.png)
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/chat.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/chat.png
new file mode 100644
index 00000000..2ade834b
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/chat.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/empty-conversation.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/empty-conversation.png
new file mode 100644
index 00000000..9c41b3cd
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/empty-conversation.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/first-message.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/first-message.png
new file mode 100644
index 00000000..000d2b7d
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/first-message.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/login.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/login.png
new file mode 100644
index 00000000..967e72ef
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/login.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/mobile.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/mobile.png
new file mode 100644
index 00000000..594fa324
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/mobile.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/new-conversation.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/new-conversation.png
new file mode 100644
index 00000000..472c432b
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/new-conversation.png differ
diff --git a/PROJECTS/advanced/encrypted-p2p-chat/assets/images/register.png b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/register.png
new file mode 100644
index 00000000..85ff368f
Binary files /dev/null and b/PROJECTS/advanced/encrypted-p2p-chat/assets/images/register.png differ