florian on Nostr: Many ndk apps e.g. slidestr.net are static web pages. But I think you mean having a ...
Many ndk apps e.g. slidestr.net are static web pages. But I think you mean having a single html page, including ndk from a cdn (script tag) and write some JavaScript to use it!? That could be done but most developers like to have a proper setup, that compiles and optimizes the page.
For simple usecases nostr-tools might also be easier to use.
Published at
2024-11-21 20:24:03Event JSON
{
"id": "9162fb1252b15f702543d5dd8cdccad28717144ac84d4301d9e768a666fe1cdc",
"pubkey": "b7c6f6915cfa9a62fff6a1f02604de88c23c6c6c6d1b8f62c7cc10749f307e81",
"created_at": 1732220643,
"kind": 1,
"tags": [
[
"e",
"577c6f5fe7b2d40582ef64e08eb398df011082e56804b613b4a8bd8638d237e1",
"",
"root"
],
[
"e",
"d30224ce496d33641cd8402157ebb4bbe45c09502feff7f2d642845b30274033",
"",
"reply"
],
[
"p",
"03b5036dc3db82604307c1964d2b926417a91c3b11ef75ba6ca55019e9b7a62a"
]
],
"content": "Many ndk apps e.g. slidestr.net are static web pages. But I think you mean having a single html page, including ndk from a cdn (script tag) and write some JavaScript to use it!? That could be done but most developers like to have a proper setup, that compiles and optimizes the page. \nFor simple usecases nostr-tools might also be easier to use.",
"sig": "6d149f5c544bfa0bdbe95383366f14104e8696b3072d1c1c39d525a1adee3e9a09767433bae3a87e5bb25d7d63cc583d4d70e3a2c7a6fd1dde34bdc64187b556"
}