Commit Graph

10 Commits

Author SHA1 Message Date
fiatjaf
c0004f67a2 fix slowness of previous refactors that injected nostr-sdk into this codebase + refactors.
- adjusting many small things related to nostr-sdk usage
- fetching profiles in a smarter way
- decoupling the logic for rendering profile pages from the `grabData`/`getEvent` flow of other event pages.
- incorporating nostr-sdk more holistically, including more hints stuff
- improving nostr-sdk itself after some bugs and weird behaviors observed here
- set up opentelemetry (should probably remove this later)
2024-08-02 12:48:58 -03:00
fiatjaf
bd1dfb8d50 hardcode relays for the sitemap, just a few "safe" relays. 2024-06-12 16:06:43 -03:00
fiatjaf
db39ef65b1 delete routine cosmetic tweak. 2024-06-12 15:46:01 -03:00
fiatjaf
a7d29b151a fix: fill archives after 10 minutes and then every 24 hours instead. 2024-06-12 15:18:35 -03:00
mattn
1019fef1d3 Relay config by json (#47)
* relay-config.json

* fix README.md

* trustedPubKeys is not relay configuration

* update README.md
2024-02-17 14:05:22 -03:00
Daniele Tonon
b7db88cf09 Use profiles relays set in loadRelaysArchive
Otherwise it fails to fetch the relays
2024-01-03 12:28:38 +01:00
Yasuhiro Matsumoto
ba7261eee8 Safely close databases 2023-12-24 14:05:09 -03:00
fiatjaf
8a2fa69cb9 refactor unique() to be faster. 2023-11-30 12:19:49 -03:00
fiatjaf
e477d38e66 fixing implementation of previous commit in multiple places. 2023-11-05 14:39:10 -03:00
fiatjaf
9967d10cd6 using eventstore for storing events, querying locally. 2023-11-05 14:39:10 -03:00