Commit Graph

40 Commits

Author SHA1 Message Date
fiatjaf
f7f231dfc6 rearrange relays and add public relaying.io 2023-10-03 15:39:45 -03:00
fiatjaf
7088986f21 strip querystring from relays. 2023-10-03 15:33:35 -03:00
fiatjaf
4f3141f66a fetch seenOn relays for individual events. 2023-10-02 15:17:39 -03:00
fiatjaf
08c16d371c update go-nostr to get relay information from pool. 2023-10-02 09:24:07 -03:00
fiatjaf
b0bda60577 improve and fix telegram instant preview for markdown articles. 2023-09-14 10:31:38 -03:00
fiatjaf
3775841ca0 enforce kind when loading naddr with a specified kind. 2023-09-14 08:01:55 -03:00
fiatjaf
a2eda96b98 add primal relay as a source for everything. 2023-09-05 06:13:57 -03:00
Daniele Tonon
92d1944e69 Replace nson.Marshal with json one
Because:
> note1lykvtd827lg6eqmgajqxkwau56fwx00u4z950sdqaah35jp3g3rqru9tj7
"it's a giant event broke my nson"
2023-08-30 18:29:54 +02:00
fiatjaf
da6cac23eb escape from pool.EnsureRelay() earlier. 2023-08-07 10:10:20 -03:00
Daniele Tonon
7ee3119170 Fix profile last notes order 2023-08-07 13:05:20 +02:00
fiatjaf
0f3633bcca update go-nostr and don't wait for the entire world to fetch. 2023-08-07 07:12:15 -03:00
Daniele Tonon
dcf8e3a451 Filter out some relays from the archive 2023-07-27 23:30:05 +02:00
Daniele Tonon
eabec9b590 Add npubs archive
Add more npubs
2023-07-27 23:15:48 +02:00
Daniele Tonon
30d9db9068 Remove relays duplicates when fetching an event 2023-07-16 00:03:03 +02:00
Daniele Tonon
0e77a8f108 Remove relays duplicates merging kind 3 and kind 10002 lists 2023-07-16 00:01:26 +02:00
Daniele Tonon
197ef89e3e Avoid caching empty reply/note lists 2023-07-14 14:46:32 +02:00
Daniele Tonon
df83b221a4 Include relays in the profile 2023-07-14 11:09:14 +02:00
Daniele Tonon
b688f0ff41 Remove debug logs 2023-07-14 11:08:02 +02:00
Daniele Tonon
c32362e220 Add initial support to profile sitamaps 2023-07-12 23:27:10 +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
Daniele Tonon
9dbd4d6d40 Remove duplicates in the relays list before fetching last notes 2023-07-12 17:53:17 +02:00
Daniele Tonon
0cbb4918e6 Randomize access to the hardcoded relays list 2023-07-12 17:51:15 +02:00
fiatjaf
e5e17f08c9 fix slice creation. 2023-07-12 10:56:30 -03:00
fiatjaf
4b8f75e375 cache relays from nip65. 2023-07-12 10:53:32 -03:00
fiatjaf
512d91e773 more efficient sorting. 2023-07-12 10:44:12 -03:00
fiatjaf
eac5b4c78b use envconfig for managing environment variables. 2023-07-12 10:42:55 -03:00
fiatjaf
6e15520beb on-disk cache with badger. 2023-07-12 10:39:52 -03:00
Daniele Tonon
bd3b4bee0b Sort profile notes by date 2023-07-12 12:52:10 +02:00
Daniele Tonon
e03b522554 Add an environment variable to disable the cache 2023-07-12 11:51:04 +02:00
fiatjaf
bfa2f5f537 update go-nostr to fix a stupid bug. 2023-07-11 15:26:33 -03:00
fiatjaf
15dc2dff45 small context tweaks. 2023-07-11 11:04:16 -03:00
fiatjaf
6f24ed761a improve caching (cache lastNotes). 2023-07-09 11:22:08 -03:00
fiatjaf
7c5d37ecfc cache headers for much longer. 2023-07-08 20:26:34 -03:00
fiatjaf
393556b18c support nip05 codes. 2023-07-08 20:21:49 -03:00
fiatjaf
3531ecc4ca stop sending npubs to relays and use hints when fetching notes. 2023-07-08 20:08:51 -03:00
fiatjaf
9f2272072e prevent halting, fetch relays per pubkey and improve notes and profile fetching. 2023-07-08 09:09:42 -03:00
fiatjaf
6724e1123d fetch profiles from profiles relay list. 2023-07-06 10:50:31 -03:00
fiatjaf
3b46b8de76 fix querying notes on nprofile. 2023-06-24 13:50:24 -03:00
Daniele Tonon
136d160091 Show last notes on profiles and add canonical to notes 2023-05-30 07:12:09 +02:00
fiatjaf
48ed02dbd0 wip 2023-05-09 13:41:24 -03:00