jb55 on Nostr: Here’s a screenshot of #nostrscript which is currently working inside of damus! ...
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.
Published at
2023-06-04 03:48:20Event JSON
{
"id": "ccaf60858ef5525d692675603bb20d8cc249483b2841aa0740fb1fa37159e2ae",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1685850500,
"kind": 1,
"tags": [
[
"t",
"nostrscript"
]
],
"content": "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.\n\nThe 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.\n\nThese 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.\n\nhttps://cdn.jb55.com/s/ef3e124195bd7959.png",
"sig": "d6ffa7e8cc4b76ab119cfe25605a60dd49c05bd8028f046ae4da61bc1c02b4391983d3221a81ae90dab86477ff6a9ac5bcc1cdfe8816675d9609e49e1537e6f7"
}