|
8 | 8 | body { padding-left: 6rem; padding-right: 6rem; padding-top: 1rem; padding-bottom: 5rem; } |
9 | 9 | textarea { width: 50%; min-height: 8rem; } |
10 | 10 | details { border: 0.1rem dashed #222; padding: 0.5rem; } |
| 11 | +pre { padding-left: 6rem; } |
11 | 12 | </style> |
12 | 13 | <script> |
13 | 14 | const TIMEOUT = 7000 |
|
149 | 150 | example.hash = "#content=wss://theforest.nostr1.com,wss://relay.primal.net&blossom=https://blossom.primal.net&append=0" |
150 | 151 | $("example").href = example |
151 | 152 |
|
152 | | - setTimeout(() => { |
| 153 | + setTimeout(async () => { |
153 | 154 | if (window.nostr) { |
| 155 | + try { |
| 156 | + await window.nostr.getPublicKey() |
| 157 | + } catch (e) { |
| 158 | + console.log(e.message || String(e)) |
| 159 | + } |
154 | 160 | $("publish").disabled = false |
155 | 161 | $("refresh").disabled = true |
156 | 162 | } |
@@ -193,69 +199,42 @@ <h1>No bullshit, <i>safe</i>, and <i>reliable</i> <a href="https://en.wikipedia. |
193 | 199 |
|
194 | 200 | <b>4.</b> Open <i>this</i> page on Desktop/Laptop → install <a href="https://github.com/dsbaars/bunker46-extension#readme" target="_blank">Bunker46</a> → click on the extension icon → paste the Bunker URI copied from Amber → [Connect] → <button id="refresh" onclick="location.reload()">Refresh</button> this page.<br><br> |
195 | 201 |
|
196 | | -<b>5.</b> <button id="publish" disabled>Publish</button> your relay/server lists.<br><br> |
| 202 | +<b>5.</b> <button id="publish" disabled>Publish</button> your relay/server lists. |
| 203 | +<pre id="status"></pre> |
197 | 204 | <details> |
198 | 205 | <summary>Or select them manually first if you know what you're doing.</summary> |
199 | 206 | <br> |
200 | 207 | Content Relays:<br> |
201 | 208 | <textarea id="content"> |
202 | 209 | wss://nos.lol |
203 | | -wss://nostr-01.yakihonne.com |
204 | | -wss://nostr.data.haus |
205 | | -wss://relay.ditto.pub |
206 | | -wss://relay.dreamith.to |
207 | | -wss://relay.momostr.pink |
208 | | -wss://relay.mostr.pub |
209 | | -wss://relay.nmail.li |
210 | 210 | </textarea><br> |
211 | 211 |
|
212 | 212 | DM Relays:<br> |
213 | 213 | <textarea id="dm"> |
214 | | -wss://auth.nostr1.com |
215 | | -wss://chat.wisp.talk |
216 | | -wss://relay.ditto.pub |
217 | | -wss://relay.dreamith.to |
218 | | -wss://relay.nmail.li |
| 214 | +wss://nos.lol |
219 | 215 | </textarea><br> |
220 | 216 |
|
221 | 217 | Marmot Key Package Relays:<br> |
222 | 218 | <textarea id="keypackage"> |
223 | 219 | wss://nos.lol |
224 | | -wss://relay.0xchat.com |
225 | | -wss://relay.ditto.pub |
226 | | -wss://relay.nmail.li |
227 | | -wss://relay.primal.net |
228 | 220 | </textarea><br> |
229 | 221 |
|
230 | 222 | Search Relays:<br> |
231 | 223 | <textarea id="search"> |
232 | | -wss://nostr.polyserv.xyz |
233 | | -wss://nostr.wine |
234 | | -wss://relay.ditto.pub |
235 | | -wss://relay.noswhere.com |
236 | 224 | wss://search.nos.today |
237 | 225 | </textarea><br> |
238 | 226 |
|
239 | 227 | Blossom Servers:<br> |
240 | 228 | <textarea id="blossom"> |
241 | | -https://blossom.data.haus |
242 | 229 | https://blossom.ditto.pub |
243 | 230 | </textarea><br> |
244 | 231 |
|
245 | 232 | Publish Relay Lists to:<br> |
246 | 233 | <textarea id="profile"> |
247 | | -wss://directory.yabu.me |
248 | | -wss://indexer.coracle.social |
249 | | -wss://profiles.nostr1.com |
250 | | -wss://purplepag.es |
251 | | -wss://relay.ditto.pub |
252 | | -wss://relay.dreamith.to |
253 | | -wss://relay.nos.social |
254 | | -wss://sendit.nosflare.com |
255 | | -wss://user.kindpag.es |
| 234 | +ws://127.0.0.1:10547 |
256 | 235 | </textarea><br> |
257 | 236 | </details> |
258 | | -<pre id="status"></pre> |
| 237 | +<br> |
259 | 238 | <b>6.</b> Use <a href="https://armada.buzz" target="_blank">Armada</a> Nostr client (also available as an <a href="http://armadahvhvaj57ojv7mavkqaecdajzejansfiksp5mdscczyh5g7stid.onion" target="_blank">onion service</a>) for private/group chats:<br><br> |
260 | 239 | - use "Log in with Extension" in the Armada <i>browser</i> page<br> |
261 | 240 | - use "login with Amber" button in the Armada <i>Android</i> app<br> |
|
0 commit comments