/api-ui

some web UIs on top of the Lichess API

Primary LanguageTypeScriptGNU Affero General Public License v3.0AGPL-3.0

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.