it's typically meant to be embedded into clients, but you could in theory use it on the server. notecrumbs works this way

GitHub
GitHub - damus-io/notecrumbs: A fast nostr api/web server with opengraph support, built on nostrdb and egui.
A fast nostr api/web server with opengraph support, built on nostrdb and egui. - damus-io/notecrumbs