Skip to content

lichess.org mobile application

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING.md
Notifications You must be signed in to change notification settings

kraktus/lichobile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status GitHub contributors GitHub All Releases GitHub

lichess mobile screenshots

Lichess mobile is the lichess.org official application. It is written in TypeScript, with a bit of Kotlin and Swift. It is a web application that access native SDK thanks to Ionic capacitor. The rendering library is mithril.js. It talks to a native Stockfish engine, supporting multiple variants, through a capacitor plugin. Multi-variant chess library is brought by a JavaScript version of scalachess.

Required dependencies

Android:

  • in addition to capacitor dependencies, android ndk for stockfish compilation (to install with Android Studio).

Initialize build

Make sure you installed all deps:

$ npm install

Capacitor needs the web app before update, so build it:

$ npm run build

Update capacitor:

$ npx cap update

Run in a browser

$ npm run serve

Will serve assets at http://localhost:8080. Once the server is running, browse to http://localhost:8080/www.

Be sure to Toggle Device Mode in your browser, or else you won't be able to click on anything.

Run in a device/emulator

The easiest way to do it is to open the native IDE. Capacitor has a command for that:

$ npx cap open

Advanced setup

See the wiki.

About

lichess.org mobile application

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.8%
  • Stylus 16.7%
  • JavaScript 2.7%
  • Java 0.7%
  • Swift 0.6%
  • HTML 0.2%
  • Other 0.3%