Skip to content

A fast nostr api/web server with opengraph support, built on nostrdb and egui.

License

Notifications You must be signed in to change notification settings

damus-io/notecrumbs

Repository files navigation

notecrumbs

ci

A nostr opengraph server build on nostrdb, egui, and skia. It renders notes using the CPU in around 50ms.

Status

WIP!

  • Local note fetching with nostrdb
  • Basic note rendering
  • Fetch notes from relays
  • Render profile pictures
  • Cache profile pictures
  • HTML note page

Very alpha. The design is still a bit rough, but getting there:

Relay discovery & metrics

  • Notecrumbs keeps long-lived relay connections and now learns new relays from every event it ingests. Relay list (kind:10002) events and contact lists (kind:3) are parsed for r/relays tags as well as per-contact relay hints, and the pool deduplicates and connects to any valid URLs it sees.
  • Per-request fetch loops feed those hints straight into the shared pool, so visiting a profile helps warm future requests that need the same relays.
  • Relay pool health counters (ensure calls, added relays, connect successes/failures, and active relay count) are exposed via Prometheus at http://127.0.0.1:3000/metrics, and a mirrored summary is logged every 60 seconds.

About

A fast nostr api/web server with opengraph support, built on nostrdb and egui.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages