GithubHelp home page GithubHelp logo

mkurz01 / lichobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lichess-org/lichobile

0.0 1.0 0.0 74.75 MB

lichess.org mobile application

Home Page: https://lichess.org/mobile

License: GNU General Public License v3.0

JavaScript 72.75% CSS 4.36% HTML 0.08% TypeScript 22.00% Rich Text Format 0.56% Java 0.12% C 0.01% Swift 0.11% Objective-C 0.01% Ruby 0.02%

lichobile's Introduction

Build Status

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 cordova 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

You need to start a web server at http://localhost:8080. For instance:

$ 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.

lichobile's People

Contributors

veloce avatar freefal avatar ornicar avatar frankcalise avatar happy0 avatar niklasf avatar jas14 avatar manuelp2 avatar peutetre avatar bapmrl avatar isaacl avatar duaner avatar danielshaulov avatar ewanmellor avatar thuo avatar sepiropht avatar pianowow avatar ybr avatar dsjoerg avatar gbtami avatar abrogley avatar bak1an avatar palerdot avatar brandone avatar christophgysin avatar flugsio avatar kylerog avatar lakinwecker avatar mattbruv avatar definitelynobody avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.