Skip to content

lichess-org/api-ui

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 dev

Build for production + preview

pnpm build
pnpm preview

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');

localStorage.setItem('lichessHost', 'https://lichess.dev');

Modify the CSP meta tag in index.html to include that domain.

Refresh and verify the configuration value in the footer.

To reset back to prod default, log out and it will clear localStorage.

About

some web UIs on top of the Lichess API

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •