Skip to content

lichess-org/api-ui

Repository files navigation

Lichess API UI

Some web UIs for the Lichess API

Try it out

https://lichess.org/api/ui

Run it on your machine

pnpm install
pnpm build # or pnpm watch
pnpm serve

Tests

pnpm test
## or
pnpm test:watch
# run prettier
pnpm format

# check typescript
pnpm tsc

Using a development instance of Lila

Open the browser console and run:

localStorage.setItem('lichessHost', 'http://localhost:8080');

Modify the CSP meta tag in index.html to add that domain. For example, change lichess.org to localhost:8080.

Refresh and verify the configuration value in the footer.