Commit Graph

13 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
3caa8578dd use badger v4 for internal db. 2023-11-06 12:43:06 -03:00
fiatjaf
9967d10cd6 using eventstore for storing events, querying locally. 2023-11-05 14:39:10 -03:00
fiatjaf
d05440b98f update go-nostr. 2023-11-04 16:09:00 -03:00
fiatjaf
493ee21465 DISK_CACHE_PATH as an environment variable. 2023-10-21 07:45:03 -03:00
fiatjaf
7291dd4bed telegram instant preview when a note is very big. 2023-09-13 20:49:24 -03:00
Daniele Tonon
eabec9b590 Add npubs archive
Add more npubs
2023-07-27 23:15:48 +02:00
fiatjaf
c0cbb3c27c disable cache at build time.
using build tag `nocache` to disable usage of the disk cache entirely.
2023-07-12 14:22:34 -03:00
fiatjaf
0dd5ad262f cache db garbage collection. 2023-07-12 12:48:01 -03:00
fiatjaf
36186b6e83 vastly simplify code for TTLs.
turns out badger had support for that out of the box.
2023-07-12 12:43:39 -03:00
fiatjaf
4b8f75e375 cache relays from nip65. 2023-07-12 10:53:32 -03:00
fiatjaf
d63bb45fca persist expiring keys. 2023-07-12 10:39:53 -03:00
fiatjaf
6e15520beb on-disk cache with badger. 2023-07-12 10:39:52 -03:00