hzrd149 on Nostr: For other web client devs out there. you can "deploy" your app to nsite using Its ...
Published at
2024-10-01 18:16:33Event JSON
{
"id": "637be5568572a32a6a48046e79a70260c50e73ce3611c3bef19056a661f5241a",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1727806593,
"kind": 1,
"tags": [
[
"e",
"1299e04c56891c12a800e234ee7ee02067152e2cf29f9e17b7b4f979f5f8c075",
"wss://nostr.wine/",
"mention"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"wss://nos.lol/",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "For other web client devs out there. you can \"deploy\" your app to nsite using https://www.npmjs.com/package/nsite-cli\n\nIts like s3 sync but instead of uploading a single server it uploads the files to all your blossom servers and creates kind:34128 events to map the filenames to blob hashes\n\nThen a nsite \"host\" ( like nsite-ts https://github.com/hzrd149/nsite-ts ) can look for these events and host your files as a static website\n\nThis is still a work in progress so SSL and https are not working yet 😞 \n\nnostr:nevent1qvzqqqqqqypzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qyghwumn8ghj7mn0wd68ytnhd9hx2tcpzfmhxue69uhkummnw3e82efwvdhk6tcqyqffnczv26y3cy4gqr3rfmn7uqsxw9fw9nefl8shk760j704lrq82kffn7r",
"sig": "4f190f7183fee1edf495c401cda8f61c686442e21a8a486ee01a58ad14e5e624edf4a7f6d0e399ddba940adf2775febf1f1312e317c3dcc230b35f1dc9664023"
}