The simplest way to add games to your website.
- Choose the repo you want to use (Seraph, Truffled, etc)
- Fetch the game list
async function getGames() {
const res = await fetch("https://cdn.jsdelivr.net/gh/gmshelf/seraph/seraph.json")
const data = await res.json()
return data
}- Load the game into an iframe or another embedding method
Example game URL: https://cdn.jsdelivr.net/gh/gmshelf/truffled/truffled/1v1lol/1v1.html
Alternatively, you can simply download the games and host them on your server.