@leonv32 Not sure if you are still working on this or not but I actually created something similar some years ago. All the html code is generated from the latest XML DAT files automatically.
Output lists
https://buildbot.libretro.com/compatibility_lists/
Repo that generates these
https://github.com/libretro/core-compatibility