Global Feed Post Login
Replying to Avatar jb55

Here’s a screenshot of #nostrscript which is currently working inside of damus! This script connects to a specific relay (primal) and fetches their trending data using their custom query.

The language im using here is actually AssemblyScript, which compiles to wasm. You can use any programming language in theory to code nostrscripts. Damus executes the wasm binary directly.

These scripts will be the engine of custom list views, allowing a very powerful system for pluggable algorithms. You will also be able to broadcasts these scripts to the network, and damus can automatically list and load them, enabling a marketplace of algorithms.

Avatar
Montzstar 2y ago

Code is beautiful. What editor is that?

Reply to this note

Please Login to reply.

Discussion

Avatar
jb55 2y ago

Its not an editor, its just https://carbon.now.sh

Thread collapsed