Paste the content of generateJson.js into the browser console when you are on your guide page. Format like https://steamcommunity.com/sharedfiles/manageguide/?id=xyz The uploaded images must have their appid as filename.
Files named 1 through 5 will be used to display rating
Copy the resulting json into a text file called definition.json and run generateTable.ts with deno. It will write its output to guide.txt which you then can put into your guide.