dtonon on Nostr: The article is interesting, but why compiling everything when configuring meta tags ...
The article is interesting, but why compiling everything when configuring meta tags in dist/index.html is sufficient? (like you did in the first version, if I'm not wrong)
One main selling point of Oracolo is that it does not require complex server side setup.
> Every time you access the web page, the web page is compiled
This is not technically correct :)
JavaScript code is not compiled, it is simply executed; it fetches Nostr data and so builds the page.
Published at
2024-05-29 13:09:47Event JSON
{
"id": "d4fb3aeae033baa4a9504027bff8fd065ba1bbd635c501a5e4f8c7ab0bd37c34",
"pubkey": "7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805",
"created_at": 1716980987,
"kind": 1,
"tags": [
[
"p",
"b12b632c887f0c871d140d37bcb6e7c1e1a80264d0b7de8255aa1951d9e1ff79"
],
[
"a",
"30023:b12b632c887f0c871d140d37bcb6e7c1e1a80264d0b7de8255aa1951d9e1ff79:1716928135712",
"",
"root"
],
[
"r",
"index.html"
]
],
"content": "The article is interesting, but why compiling everything when configuring meta tags in dist/index.html is sufficient? (like you did in the first version, if I'm not wrong)\nOne main selling point of Oracolo is that it does not require complex server side setup.\n\n\u003e Every time you access the web page, the web page is compiled\n\nThis is not technically correct :)\nJavaScript code is not compiled, it is simply executed; it fetches Nostr data and so builds the page.",
"sig": "903ae95893082835a42706eda1328ea85a8bf6fbb172bb2f8696b66fccfebfae8756992894a0fb7bb592cb3f78939bdd5fac4cd1eb49138cbf3ea8069574a1dc"
}