logoalt Hacker News

hmokiguess • today at 1:38 PM • 1 reply • view on HN

I am not familiar with the internals, so excuse my question, but how does one builds this? Separately, how often can it get stale?


Replies

guitmz • today at 1:53 PM

It was stale for many years because I had a script to generate the tables for me that ran manually and then I had to convert the data into SQL so my API could use it (and also convert to html for the frontend). I changed the script to generate the dataset from Kernel sources as JSON instead and the API loads it and makes it available.

Then the frontend is refreshed from the API weekly via a cronjob with some simple Go templating