Avatar
Pedro Vicente
4ea843d54a8fdab39aa45f61f19f3ff79cc19385370f6a272dda81fade0a052b
Nostr client and relay is a Nostr C++ engine that allows to build Nostr applications for command line, desktop or web (iOS, Android coming soon) https://pedro-vicente.net/

New iOS interface (iPad) 🙃

Hey, I made a new pull request that has more CMake support for the secp256k1 lib, do you have time to merge it? Thanks (Sent from Nostur for Mac, neat desktop client) . https://github.com/damus-io/nostrdb/pull/2

Spent all day trying to build an iOS app with errors of “Xcode couldn't find any iOS App Development provisioning profiles”. Do you guys at Damus headquarters have any luck with certificates for XCode? https://stackoverflow.com/questions/48584288/code-signing-no-account-for-team-message-when-signing-for-different-developer/76833424#76833424

On the competition chapter, my app now builds on iOS. Hopefully AppleStore coming soon . A screenshot on iPhone

DoraHacks demo workshop of ‘nostr_client_relay’ was published. We demo the C++ API with Microsoft Visual Studio, the client web interface and the native desktop

clients. Thank you for YakiHonne for hosting the workshop. Link to GoogleDrive below (Round 2, Session 1) https://dorahacks.io/hackathon/hack-nostr-on/workshops-&-demo-live

That “delay in the UI” remark caught my attention. If the delay was because you Were doing a DB query that could be because you were doing a synchronous call. in UI we have to do asynchronous calls or use another thread for things that take a long time . Maybe an issue in Nostr is that it takes a long time to query many different relays . A solution maybe to have a local cache and show that first and then update 🫡

It’s really cool that I get to do my browser for the #nostr protocol. The world is your 🦪

This just seems like the perfect work environment 😐 Not a real work environment, is it, just some nice landscape you found on the Internets? 🧐

Yes, that was kind of what my point was “if it ain't broke, don't fix it”. As #nostr devs, we shouldn’t have to deal with the underlying transport, we just use libraries that abstract that from us. I believe most languages have a WebSockets library. In my case, when I started with Nostr, it took me a week to find a good C++ library that I was happy with, but now I just use it and don’t care what happens under the hood. And because there was no Nostr C++ API, I made one. Check it out https://pedro-vicente.net/nostr/nostr.html

If you need an API to publish or receive events over WebSockets from the command line, you can use this one (there is also a prototype HTTP client and server that sends/receives #nostr events) https://github.com/pedro-vicente/nostr_client_relay

I’m working on exactly that, download OpenGraph data from a URL to generate link previews for my JSON clients. It’s about 90% done, it can download a HTML page and traverse the HTML to get the OG tags https://github.com/pedro-vicente/url_parse_open_graph