kagisearch / smallweb

Kagi Small Web
https://kagi.com/smallweb
MIT License
481 stars 246 forks source link

Query parameter to reduce the size of the feed? #279

Open Pinjasaur opened 1 month ago

Pinjasaur commented 1 month ago

Unfortunately I'm unable to use the feed as-is because the ~25MiB size is too big for my feed reader (Miniflux).

image

Would it be possible to add an optional query parameter e.g. ?limit to truncate the number of <entry> in the feed response? I took a stab at doing this myself (https://www.val.town/v/pinjasaur/smallweb) and while it works, I'd prefer to have the change in the upstream API.

I'd be happy to take a stab at implementing this feature, it's just not clear to me if this repo is also the same code that powers kagi.com/api/v1/smallweb/feed/.