a demonstration replicated social networking web app built with anproto wiredove.net/
social ed25519 protocols

add a very experimental sync button

+10 -2
+10 -2
navbar.js
··· 36 36 style: 'float: right; margin-top: 3px;', 37 37 classList: 'material-symbols-outlined', 38 38 onclick: async (e) => { 39 + sync.remove() 40 + const remotelog = await fetch('https://pub.wiredove.net/').then(l => l.json()) 41 + for (const m of remotelog) { 42 + await apds.add(m.sig) 43 + await apds.make(m.text) 44 + } 39 45 const log = await apds.query() 40 - console.log(log) 41 46 if (log) { 42 47 const ar = [] 43 48 for (const msg of log) { ··· 58 63 if (get) {sendWs(get)} 59 64 } 60 65 } 61 - }} 66 + } 67 + window.location.hash = 'whut' 68 + window.location.hash = '' 69 + } 62 70 }, ['Autorenew']) 63 71 64 72 export const navbar = async () => {