Juraj on Nostr: Eso level estimator got a web front-end! This is just a coding experiment. Front-end ...
Eso level estimator got a web front-end!
This is just a coding experiment. Front-end is just static HTML and JavaScript, which creates a random Nostr identity and sends the message over Nostr relay to the already existing bot and displays the answer. You can download the three files (index.html, dist/bundle.js and img/logo.png) and host it anywhere else (needs to be served over http(s), not from local filesystem).
Backend is running locally on my machine, with ollama and a model that the machine can handle (depends on where I run it).
So
eso-level-estimator (nprofile…g5m3) how eso is this?
https://juraj.bednar.io/esolevel Published at
2024-07-07 21:08:26Event JSON
{
"id": "d8f3bbe66ddfd58b75c423eb660334149bdc3c4f93a1814388e9361570035c74",
"pubkey": "dab6c6065c439b9bafb0b0f1ff5a0c68273bce5c1959a4158ad6a70851f507b6",
"created_at": 1720386506,
"kind": 1,
"tags": [
[
"p",
"14b7f1bda4e64f93136145e26229c406fd1b60f0f0158e74a36f40c1ff5d7171",
"wss://relay.damus.io/",
"eso-level-estimator"
],
[
"imeta",
"url https://image.nostr.build/1a098a343c173d9c0505ee7e421fae936b5e5cffbf8d46dfbfc0fca5ff291cc6.jpg",
"ox 1a098a343c173d9c0505ee7e421fae936b5e5cffbf8d46dfbfc0fca5ff291cc6 https://nostr.build",
"x e533c04ee1019b1c051af42f471276caa3f29acac86b746a2d37d57e2e12ecc5",
"m image/jpeg",
"dim 1024x1024",
"bh LKLX6;?b_2D%%Mj[RjWB~VM{M|%L",
"blurhash LKLX6;?b_2D%%Mj[RjWB~VM{M|%L"
]
],
"content": "Eso level estimator got a web front-end!\n\nThis is just a coding experiment. Front-end is just static HTML and JavaScript, which creates a random Nostr identity and sends the message over Nostr relay to the already existing bot and displays the answer. You can download the three files (index.html, dist/bundle.js and img/logo.png) and host it anywhere else (needs to be served over http(s), not from local filesystem).\n\nBackend is running locally on my machine, with ollama and a model that the machine can handle (depends on where I run it).\n\nSo nostr:nprofile1qy88wumn8ghj7mn0wvhxcmmv9uq32amnwvaz7tmjv4kxz7fwv3sk6atn9e5k7tcqyq2t0uda5nnylycnv9z7yc3fcsr06xmq7rcptrn55dh5ps0lt4chzglg5m3 how eso is this?\n\nhttps://juraj.bednar.io/esolevel\n\nhttps://image.nostr.build/1a098a343c173d9c0505ee7e421fae936b5e5cffbf8d46dfbfc0fca5ff291cc6.jpg",
"sig": "9ce2eaf8ac14741a039406abc5eca217c300eafce8c1050d32049d98c74f63ecc98352e70f316aa8f94845158f6a79e5e2187f6a218d9f798db71c28310cf2d8"
}