Gzuuus on Nostr: I think this is quite possible, I already do this in dvmcp and dvmcp.fun as you have ...
I think this is quite possible, I already do this in dvmcp and dvmcp.fun as you have defined data types and everything is a compliant json schema where the inputs are defined, you can easily build a form with some defined input methods for each data type, string is just a text input, boolean is just a checkbox, etc. There are already libs that can help you with this and do json schema to form
Published at
2025-04-29 10:05:04Event JSON
{
"id": "73047fc1e6c495ed9fa898845851d8bffdb266bfed05a63a758cbed8f944b1b9",
"pubkey": "40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451",
"created_at": 1745921104,
"kind": 1,
"tags": [
[
"e",
"21cb4608368b7669aeb1b1d19c9e1502913bf402e97e357ed50d08d68a5eaf3a",
"",
"reply"
],
[
"p",
"40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"a",
"30023:40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451:reflection-dvms"
],
[
"a",
"30023:40b9c85fffeafc1cadf8c30a4e5c88660ff6e4971a0dc723d5ab674b5e61b451:reflection-dvms"
],
[
"r",
"dvmcp.fun"
]
],
"content": "I think this is quite possible, I already do this in dvmcp and dvmcp.fun as you have defined data types and everything is a compliant json schema where the inputs are defined, you can easily build a form with some defined input methods for each data type, string is just a text input, boolean is just a checkbox, etc. There are already libs that can help you with this and do json schema to form",
"sig": "b4e9b8238b0267bb94c58b2b37af71f840d2d0c38de8564670b67517b1e638908de4c0dd03490039fde696e882b0ba368730be810abfb6941b1443650f34e3e8"
}