I am trying to bundle together a couple of games on my own website. I would love to have an interface like Lichess's analysis page:
You can turn on the Stockfish engine, try out different moves and then save it.
Since everything is written in Javascript and HTML, I tried downloading the complete HTML of Lichess's analysis page. Opening the saved page again shows missing board background, Stockfish not working, buttons not showing up. I just can't get it to work. I know Lichess uses chessground.js for their layout engine but that is even more obscure with hardly any examples that show how to even display a full pgn. Does anyone know where I can get a Lichess-analysis-page quality package to display some PGNs while allowing for move exploration and Stockfish integration?