Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 2.03 KB

README.md

File metadata and controls

65 lines (50 loc) · 2.03 KB

CrystApp

Desktop apps Development framework for Crystal-lang

100 times smaller than an Electron app

Screenshot 2023-02-03 at 16 57 52

CrystApp : WebView apps written in Crystal

  • Self-contained.
  • Easy to distribute.
  • 100 times smaller than an Electron app
  • Faster and more energy efficient than an electron app.
  • Safer than Electron.js : Statically compiled and statically typed : most bugs are caught at compile time (not at run-time)

Status :

  • MacOS, Linux : working at developing a CLI tool to replace the makefile.
  • Windows 10, 11 : WebView : The Webview part (client part) now works under Windows 11.
  • Windows 10, 11 : Currenttly busy with trying to make the archiving part compatible with Windows (server part).

In short:

  • "Wails for Crystal".
  • "Electron for Crystal.

(The alpha version uses a Makefile as CLI for the moment)

Prerequisites:

  • npm (for Svelte)
  • Crystal

TODO

TODO.md

THANKS

USES

Mac OS and Linux

  • Should work as is.

Windows

  • The system will have to be modified slighly to accomodate for the current lack of multi-threading in Crystal under Winwows.

DEMO (alpha version)

  • git clone https://github.com/serge-hulne/CrystApp
  • cd CrystApp
  • make init
  • make init_svelte
  • make svelte_build
  • make app_test

To run the app again without re-building it

  • open . (and click on the app's icon) or
  • open App.app or
  • make run