What is Nostr?
JeffG
npub1zuu…c2uc
2023-06-04 18:16:36

JeffG on Nostr: 👏 sounds cool! ...

👏 sounds cool!
NostrScript (#1246)

NostrScript is a WebAssembly implementation that interacts with Damus. It enables dynamic scripting that can be used to power custom list views, enabling pluggable algorithms.

The web has JavaScript, Damus has NostrScript. NostrScripts can be written in any language that compiles to WASM.

This commit adds a WASM interpreter I've written as a mostly-single C file for portability and embeddability. In the future we could JIT-compile these for optimal performance if NostrScripts get large and complicated. For now an interpreter is simple enough for algorithm list view plugins.

Changelog-Added: Add initial NostrScript implementation

nostrscript, 1 commits

https://github.com/damus-io/damus/pull/1246
Author Public Key
npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc