Are you running lua in the browser? How does that work.
Took half a day and prototyped a new scripting system for nostr: https://ostrichscript.com/
It's not implemented anywhere yet, and only has one defined function, but I wanted to see how feasible it would be to build scripting using embedded lua.
nostr:nprofile1qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gpp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq36amnwvaz7tmwdaehgu3dwp6kytnhv4kxcmmjv3jhytnwv46qzymhwden5te0wfjkcctev93xcefwdaexwdqgdhl 's and nostr:nprofile1qqs99d9qw67th0wr5xh05de4s9k0wjvnkxudkgptq8yg83vtulad30gpr4mhxue69uhkummnw3ez6ur4vgh8wetvd3hhyer9wghxuet5qy28wumn8ghj7un9d3shjtnyv9kh2uewd9hsz9mhwden5te0wfjkccte9e3h2unjv4h8gtnx095sz2rhwden5te0tdnxgvf38gek2vec8fjxxefh8fsnje3e8f3ngefe8garzhf68qcrsvccy48d8 's versions of NostrScript are more sophisticated, but it seemed to me something simpler was warranted, in line with the nostr ethos.
If you're interested in contributing to the project either by expanding the api or by integrating it into clients, let me know.
Discussion
Kia is just a bit of C… couldn’t that be compiled to WASM?
It could, but try ostrichscript.com. It makes it accessible to whomever. Of course you could compile to wasm on the backend, but now the host can inject stuff more easily.
lua-in-js