a proof of concept realtime collaborative text editor using atproto as a sync server
jake.tngl.io/y-pds/
1<!doctype html>
2<html lang="en">
3 <head>
4 <title>yjs via pds</title>
5 <meta charset="utf8" />
6 <script>navigator.serviceWorker.register("./atsw.js", { type: "module" });</script>
7 <script src="./vendor/importmap.js"></script>
8 <link rel="stylesheet" href="./style.css" />
9 </head>
10 <body>
11 <div id="app"></div>
12 <script type="module">
13 import { render } from "preact";
14 import { html } from "htm/preact";
15 import { App } from "./app.js";
16 render(html`<${App} />`, document.getElementById("app"));
17 </script>
18 </body>
19</html>