Oddbean new post about | logout
 I'm hitting a hard limit of 500 gifs stored under Kind 1063 (File Metadata) for the  @damus and  @primal relays

I keep publishing nip94 events on gifbuddy and I can retrieve them, but I'm worried that earlier gifs that were stored on the relays are now being overwritten

Is someone else able to help me confirm?

 @NotBiebs  @Don't ₿elieve the Hype 🦊
#asknostr 
 Just use nostr.build 
 I do

I should have said "hard limit of 500 events" and those events point to Nostr.Build urls

I just seem to be hitting a limit on how many events are stored on the relay, which is a problem 
 Oh sorry now I understand.

Yes same here, I can only scroll so far back on my profile.    Much less than a yeaworth is stores now on my relays unfortunately.  But this is how nostr was designed to work.

I guess you could resolve this by running your own relay?  Then setting the data retention to unlimited.

Its in my to do list but can only do it with a tor relay on my start9/server.

I haven't got the skills yet to setup my own clearnet relay yet.  :( 
 I know you’re probably right but…

https://media.tenor.com/mC4GSXM2UX0AAAAC/that-just-sounds-hard-liz-lemon.gif 
 Im gonna do it now.
If you want you can use my relay if you have tor capabilities?
let me know.

https://docs.start9.com/0.3.5.x/service-guides/nostr/index

 
 Turns out that I'm just dumb and I wasn't batching events. I didn't realize that each call is limited to 500, but the relay stores more.

The good news is: you took this moment to start your own relay so I'm going to count this as a win

Send me your relay when you have it running and I'll add it

https://media.tenor.com/mIEbfl2flI0AAAAC/mr-rogers-proud-of-you.gif 
 if you use negentropy (nip77) it will only pull down new gifs. 
 🎚️ https://image.nostr.build/f1cd723b4e81b34c4fab72056e52205c27199dfaa01fa22c618a73dc34aed3b4.jpg  
 Hannibal playing the conga is kinda neat, Will.

I can take no for an answer, unlike the standards. 
 Are you sure? Did you try chunking your requests? The relay might only return 500 max events in a request. 
 Use the until filter to request older events 
 Also consider my PR, it stores the events in a local database, so you can search locally 
 I think you’re right and that I’ll be needing this soon 
 Merged

You are now a contributor to Gifbuddy
Thank you for your service 

https://media.tenor.com/E1GDX3Ng9xIAAAAC/burt-lancaster-salute.gif