Pushed a bit more and Claude gave me a multiplatform Nostr Client with native Desktop, iOS and Android apps written in Kotlin without coding any line.

https://image.nostr.build/e7574fed396e5abb802c0bc3c491ef1e15fe1f39eefce844909ae026a46d4a32.jpg


Lol damn. Yea the new Claude is quite good.


Claude is insane


Do you think it would work in another language?


Wow


Potentially. Kotlin is supposed to be the hardest prompt because most of this multiplatform stuff is in early alpha. There has been a lot of breaking changes over the past few months. So, I am surprised it even compiled.


Needless to say, this is the same codebase for the 3 apps.


Nice. How much prompting did it take?


Six or seven rounds. But mostly because of polymorphic parsin g of the websocket flow. It just needed to write the deserializers for Nostr manually.


As someone who can "Just about" buy sats and send them to cold storage, all this coding stuff really does blow my mind. Like, how the fuck do you do it? What do you do? How do you make the computer understand what you're saying? There's no "Open coding app" option, you write a load of code and it just works. You guys actually have to write, to my mind, a load of incomprehensible letters, numbers and figures, wholly separate from anything else, and then you make it into something wonderful🤯🤯🤯. From an ignorant plebs point of view, I just marvel. I am grateful for your work🙏🏻. nostr:nprofile1qqsyvrp9u6p0mfur9dfdru3d853tx9mdjuhkphxuxgfwmryja7zsvhqpzamhxue69uhhv6t5daezumn0wd68yvfwvdhk6tcpz9mhxue69uhkummnw3ezuamfdejj7qgwwaehxw309ahx7uewd3hkctcscpyug et.al.


Nice. Will have a go with Lightning Piggy as well.


:jokerclap:


⚡⚡/A\  |R)  \V/  |I|  |N|⚡⚡

⚡⚡/A\  |R)  \V/  |I|  |N|⚡⚡


Now prompt it to fix all the security and privacy vulnerabilities.


Wow. I just signed up to try Claude this morning. Did you do this in the web browser? Does it do it’s own write/run/eval loop somehow?


No, I had to copy paste and read through it to set things up correctly. But it did work.


amazing


Oh damn, i've been trying this with past iterations of the LLMs but the cutoffs were just too early for enough nostr code in them


I'm guessing you used Kotlin Multiplatform?


We're also tinkering with Claude.


i'll pay attention when it can build a nostr relay


was it aware of nostr-tools/ndk out of the box?


Pura Vida 🤙

Pura Vida 🤙


Yep


Please, did it use bare-bones Ktor for networking?


Yes it did. I will see if I can make a demo github project from this. We could use to refine our libraries to help more people doing simple apps on Kotlin.


Did it use any code you recognize from amethyst?  This is kinda why we are stuck on GitHub for a while longer, otherwise the AIs will not be trained for nostr.. 🐳 obviously in the future we will have to train our own..


No it didn't. It made something I have not seen before.


Project https://github.com/vitorpamplona/nostr-kmp-ai-generated-demo


Nice, sounds like a good idea.


Onward 🫡

Onward 🫡