Since you're in WSL2, here are the steps to run this on Windows:
-
Copy the entire project to your Windows file system:
cp -r /home/your-username/reading_agent /mnt/c/Users/YourUsername/Desktop/reading_agent
-
Open PowerShell/Command Prompt in Windows and navigate to the folder:
cd C:\Users\YourUsername\Desktop\reading_agent npm install npm run build npm start
- Install VcXsrv or similar X server on Windows
- Set DISPLAY environment variable in WSL2:
export DISPLAY=:0 - Install missing libraries (requires sudo):
sudo apt update sudo apt install -y libnss3 libnspr4 libatk-bridge2.0-0 libdrm2 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libxss1 libasound2
The React frontend is already running at http://localhost:5173 - you can view this in your browser to see the UI, though the backend Electron APIs won't work.