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. pnpm install
  2. pnpm run dev for local development, or pnpm run build for production output
  3. pnpm run serve to preview the production build on http://localhost:4173

Points of interest

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

About

Client-side app using various Lichess APIs for demonstration purpose

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors