Skip to content

lichess-org/api-demo

Lichess OAuth app demo

This is an example for a fully client side OAuth app that uses various APIs.

Features

  • Fully client side, no server needed
  • Login with Lichess (OAuth2 PKCE)
  • View ongoing games
  • Play games
  • Challenge the AI opponent
  • Challenge a player
  • Create a game seek
  • Watch Lichess TV

Try it out

The demo app is hosted on Github Pages

Run it on your machine

  1. npm install
  2. npm run build
  3. npm run serve or any other method to serve the app on http://localhost:8000

Points of interest

Feel free to reuse and learn from this code when building your own Lichess API app.