GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lichess-org/api-demo: Client-side app using various Lichess APIs for demonstration purpose

BranchesTags
Open more actions menu

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
example
example
 
 
scss
scss
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.oxfmtrc.json
.oxfmtrc.json
 
 
.oxlintrc.json
.oxlintrc.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
tsconfig.json
tsconfig.json
 
 
vite.config.mts
vite.config.mts
 
 

Repository files navigation

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

  • ND-JSON stream reader
  • OAuth "Login with Lichess"
  • Read the main event stream
  • Game play
  • Create a seek and await a game
  • Challenge a player
  • Watch Lichess TV

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

lichess-org.github.io/api-demo/

Topics

lichesslichess-api

Resources

Readme
AGPL-3.0 license

Code of conduct

Code of conduct

Security policy

Security policy
Activity
Custom properties

Stars

74 stars

Watchers

5 watching

Forks

23 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.