|
|
|
Implementing Stockfish that can run in the browser of my Next JavaScript App?
|
|
1 points
by waterdolphin
680 days ago
|
|
I posted on Reddit about this and based on a suggestion there I am posting about it here. I have an idea for a simple free chess site that I want to implement in Next JS for practice and to build something that I enjoy. As part of this I need to figure out how to get a version of Stockfish working within my repo. I am using NextJS and my project is hosted through Vercel. I found a Stockfish endpoint but that seems to be going down sometimes and the latency is not reliable for that either. I did a bit of googling and found that a WASM version of Stockfish can run in the user's browser but that seems to need an emscripten compiler to compile it. This is not something that I'm familiar with at all and I've spent the past day just talking with GPT, Claude and just searching the internet and find myself completely stuck. Can someone who has gone through this process and has it working walk me through the steps I need to take? |
|