tangled
alpha
login
or
join now
evbogue.com
/
wiredove
1
fork
atom
a demonstration replicated social networking web app built with anproto
wiredove.net/
social
ed25519
protocols
1
fork
atom
overview
issues
pulls
pipelines
add a very experimental sync button
Everett Bogue
4 months ago
fa41c8e2
3cd7d5be
+10
-2
1 changed file
expand all
collapse all
unified
split
navbar.js
+10
-2
navbar.js
···
36
36
style: 'float: right; margin-top: 3px;',
37
37
classList: 'material-symbols-outlined',
38
38
onclick: async (e) => {
39
39
+
sync.remove()
40
40
+
const remotelog = await fetch('https://pub.wiredove.net/').then(l => l.json())
41
41
+
for (const m of remotelog) {
42
42
+
await apds.add(m.sig)
43
43
+
await apds.make(m.text)
44
44
+
}
39
45
const log = await apds.query()
40
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
61
-
}}
66
66
+
}
67
67
+
window.location.hash = 'whut'
68
68
+
window.location.hash = ''
69
69
+
}
62
70
}, ['Autorenew'])
63
71
64
72
export const navbar = async () => {