nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr

How hard would it be to have a button on noStrudel, and when I push it, I can download a file with all of my notes that are currently saved across all the relays? Seems like I don't exactly need a relay to save my notes. I can save them on my hard drive, and if I need to republish them, a simple drag and drop interface to upload them to a client that sends them back out to the relays again would work.

Reply to this note

Please Login to reply.

Discussion

task manager, database, default is 10k events

No dtag-n-drop, but you can have a copy of your notes.

Nostr.land

I'm getting CORS errors to the api endpoint when I submit an npub.

I’ll fix that. Thank you

Appears the issue is not related to Nostr.land

Are you using a NIP-05?

I am. I have a very strict browser setup (Firefox)

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.nostr.land/user/036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58.

Please give me the request logs from the requests tab. It works in my browser (Firefox) and returns the correct CORS headers

It looks like that cors error was actually masking a DNS resolution error. That's on me, my resolver seems to have trouble. Weird how nostr.land resolved but api.nostr.land failed to resolve. Are you hosting them on different nameservers?

Yes, the api.nostr.land domain hits another NS.

Got it. Sorry about that confusion. I didn't know dns would appear as a cors error.

It normally shouldn’t. I suspect something is going on with your DNS responses being tampered with, maybe something like a corporate firewall?

I use unbound in recursive mode behind blocky. When an address gets blocked its supposed to return A 0.0.0.0. I don't know what happens on not found. Usually the 2s timeout occurs before unbound can return a not-found result.

*in front of blocky*

Try resolving with dig and send me the output. Usually some things like errors are listed in EDNS.

To download all your events you would need to scrape the network or be running your own relay as a backup. and neither is super easy to do at the moment

If it helps though you can download the event cache ( the last 10k events you've seen ) in noStrudel on the database dashboard https://nostrudel.ninja/#/relays/cache/database

Uma alternativa seria rodar um Relay local e servir o frontend.

O Relay local propagando as postagens para outros relays.

Poderia ser usado o wails juntamente com o Golang para servir o frontend, com ele é possível gerar o mesmo app para windows, Linux e Mac, e seu funcionamento acontece em um webview.

Também é possível fazer toda a comunicação externa usando TOR ou I2P, diretamente no backend.

Tarefas mais complexas podem tirar vantagens do Golang.

Tá aí algo que eu gostaria de ajudar.