News for hackers. Stuff that matters.
Re:Sloth search for Ruby Weekly – a 100 minute hack turned 2... by emmanueloga_ on Friday June 21, 2024 @10:08PM (#40755599)
P.S. it just occurred to me that if the aggregated links are less than 1mb of data or something like that you could try to bundle all data in a single JSON object and search in the frontend with a library like flexsearch [1]. That could be even less work than running a minimal rails backend.

--

1: https://github.com/nextapps-de/flexsearch

Re:Sloth search for Ruby Weekly – a 100 minute hack turned 2... by fao_ on Friday June 21, 2024 @11:09PM (#40755930)
They don't even need to output to JSON - https://phiresky.github.io/blog/2021/hosting-sqlite-database...

The entire thing could be a static site using the above method -- even if it's many hundreds of megabytes in size!