|
| 1 | +import React from "react"; |
| 2 | + |
| 3 | +export default function AboutPage() { |
| 4 | + return ( |
| 5 | + <div className="space-y-xl bg-page-gradient-purple py-40"> |
| 6 | + <section className="container max-w-screen-md space-y-sm text-color-primary-text"> |
| 7 | + <h1 className="text-4xl sm:text-4xl lg:text-6xl font-semibold mb-6 text-center font-assistant"> |
| 8 | + About CollabyDraw |
| 9 | + </h1> |
| 10 | + |
| 11 | + <div className="prose prose-invert prose-headings:text-white prose-a:text-blue-400 prose-strong:text-white prose-code:text-pink-400 max-w-none lg:text-xl"> |
| 12 | + <p> |
| 13 | + <strong>CollabyDraw</strong> is a web-based collaborative whiteboard |
| 14 | + where multiple users can draw, edit, and brainstorm together in real |
| 15 | + time. Whether solo or in a group session, the app offers a smooth, |
| 16 | + intuitive canvas experience with real-time sync, shape tools, editable |
| 17 | + text, and privacy-focused end-to-end encryption — all without needing |
| 18 | + an account. |
| 19 | + </p> |
| 20 | + |
| 21 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">✅ Core Features</h3> |
| 22 | + <ul className="flex flex-col gap-1"> |
| 23 | + <li><strong>Canvas Drawing:</strong> Freehand, shapes, and editable text</li> |
| 24 | + <li><strong>Rough.js Support:</strong> Optional sketch-style drawing</li> |
| 25 | + <li><strong>Perfect-freehand Support:</strong> Hand drawn feel</li> |
| 26 | + <li><strong>Eraser Tool:</strong> Remove individual shapes</li> |
| 27 | + <li><strong>Editable Text:</strong> Double-click to edit on canvas</li> |
| 28 | + </ul> |
| 29 | + |
| 30 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🔗 Collaboration</h3> |
| 31 | + <ul className="flex flex-col gap-1"> |
| 32 | + <li><strong>Real-time Sync:</strong> WebSocket-powered live drawing</li> |
| 33 | + <li><strong>Multi-Tab Awareness:</strong> No duplicate join/leave events</li> |
| 34 | + <li><strong>Optimistic Updates:</strong> Instant feedback before server response</li> |
| 35 | + </ul> |
| 36 | + |
| 37 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🔐 Privacy & End-to-End Encryption (E2EE)</h3> |
| 38 | + <p> |
| 39 | + CollabyDraw is built with <strong>privacy by design</strong> to ensure |
| 40 | + that no sensitive drawing data can be accessed by anyone other than the |
| 41 | + intended participants. |
| 42 | + </p> |
| 43 | + |
| 44 | + <h4 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🔑 How It Works</h4> |
| 45 | + <pre> |
| 46 | + <code>https://collabydraw.app/#room=abc123,xyz456</code> |
| 47 | + </pre> |
| 48 | + <ul className="flex flex-col gap-1"> |
| 49 | + <li><code>abc123</code>: Unique room ID (used by the server)</li> |
| 50 | + <li><code>xyz456</code>: Encryption key (used <strong>only</strong> on the client)</li> |
| 51 | + </ul> |
| 52 | + |
| 53 | + <h4 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🧠 Key Never Touches the Server</h4> |
| 54 | + <ul className="flex flex-col gap-1"> |
| 55 | + <li> |
| 56 | + The <strong>encryption key</strong> after the comma (<code>xyz456</code>) is part |
| 57 | + of the URL fragment (<code>#...</code>) |
| 58 | + </li> |
| 59 | + <li>This fragment is <strong>never sent</strong> in HTTP requests</li> |
| 60 | + </ul> |
| 61 | + <blockquote> |
| 62 | + The server cannot see or store the encryption key. |
| 63 | + </blockquote> |
| 64 | + |
| 65 | + <h4 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🔒 Client-Side Only Decryption</h4> |
| 66 | + <ul className="flex flex-col gap-1"> |
| 67 | + <li>All encrypted drawing data is transmitted over WebSocket</li> |
| 68 | + <li> |
| 69 | + The <strong>decryption and rendering</strong> happen completely on the |
| 70 | + client-side using the key from the URL |
| 71 | + </li> |
| 72 | + <li> |
| 73 | + Even if someone intercepts the WebSocket traffic, they cannot decrypt |
| 74 | + the data without the key |
| 75 | + </li> |
| 76 | + </ul> |
| 77 | + |
| 78 | + <h4 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🛡️ Benefits</h4> |
| 79 | + <ul className="flex flex-col gap-1"> |
| 80 | + <li>No one — not even the server — can read what’s drawn without the key</li> |
| 81 | + <li>Ensures <strong>confidentiality</strong> for private sessions</li> |
| 82 | + <li> |
| 83 | + Works like <strong>Excalidraw's E2EE rooms</strong>, but tailored for your logic |
| 84 | + </li> |
| 85 | + </ul> |
| 86 | + |
| 87 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🧠 Reliability</h3> |
| 88 | + <ul className="flex flex-col gap-1"> |
| 89 | + <li><strong>Message Queue:</strong> Stores unsent messages in memory/localStorage</li> |
| 90 | + <li><strong>Auto Retry:</strong> Flushes queued messages on reconnect</li> |
| 91 | + </ul> |
| 92 | + |
| 93 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🧭 Modes</h3> |
| 94 | + <ul className="flex flex-col gap-1"> |
| 95 | + <li><strong>Standalone Mode:</strong> Offline/local drawing</li> |
| 96 | + <li><strong>Room Mode:</strong> Collaborative sessions</li> |
| 97 | + </ul> |
| 98 | + |
| 99 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">⚙️ Tech Stack</h3> |
| 100 | + <ul className="flex flex-col gap-1"> |
| 101 | + <li><strong>Frontend:</strong> React (Vite), TypeScript, Tailwind CSS</li> |
| 102 | + <li><strong>Canvas:</strong> HTML Canvas API + Custom Engine</li> |
| 103 | + <li><strong>Realtime:</strong> Native WebSocket (<code>useWebSocket</code> hook)</li> |
| 104 | + <li><strong>Security:</strong> Hash-based E2EE</li> |
| 105 | + </ul> |
| 106 | + |
| 107 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">📂 Github Repo</h3> |
| 108 | + <p> |
| 109 | + <a href="https://github.com/coderomm/CollabyDraw" target="_blank" rel="noopener noreferrer"> |
| 110 | + github.com/coderomm/CollabyDraw |
| 111 | + </a> |
| 112 | + </p> |
| 113 | + |
| 114 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">📽️ YouTube Demo</h3> |
| 115 | + <div className="aspect-w-16 aspect-h-9 mb-4"> |
| 116 | + <iframe |
| 117 | + className="w-full h-full rounded-md" |
| 118 | + src="https://www.youtube.com/embed/NNVdRCoFnK0" |
| 119 | + title="YouTube demo" |
| 120 | + frameBorder="0" |
| 121 | + allowFullScreen |
| 122 | + ></iframe> |
| 123 | + </div> |
| 124 | + |
| 125 | + <h3 className="mt-3 mb-1 lg:mt-8 lg:mb-2">🐦 Tweet Embed</h3> |
| 126 | + <a href="https://twitter.com/coder_om/status/1711737824058880576"></a> |
| 127 | + </div> |
| 128 | + </section> |
| 129 | + </div> |
| 130 | + ); |
| 131 | +} |
0 commit comments