Home

Awesome

Shrinkray

Create desktop apps in Javascript. Lightweight alternative to Electron because of only supporting macOS (for now).

Features

Installation

npm install -g shrinkray

Usage

The input path must be to a folder that has an index.html in it, everything in the folder will be copied into the generated app and accessible.

shrinkray -i <project>/html -o example.app

Example Apps

Draw.io

<a href="https://github.com/francoislaberge/draw.io">Source code</a> (Click thumbnail to download app) </br> <a href="https://github.com/francoislaberge/draw.io/releases/download/v7.0.0/drawio.app.zip"> <img width="50%" src="http://seflless.github.io/shrinkray/images/drawio-app.png"/> </a>

Regulex

<a href="https://github.com/francoislaberge/regulex">Source code</a> (Click thumbnail to download app) </br> <a href="https://github.com/francoislaberge/regulex/releases/download/v1.0.0/regulex.app.zip"> <img width="50%" src="http://seflless.github.io/shrinkray/images/regulex-app.png"/> </a>

Mini Paint

<a href="https://github.com/francoislaberge/mini-paint">Source code</a> (Click thumbnail to download app) </br> <a href="https://github.com/francoislaberge/mini-paint/releases/download/v1.0.0/mini-paint.app.zip"> <img width="50%" src="http://seflless.github.io/shrinkray/images/mini-paint-app.png"/> </a>

Contributing

  1. Required Tools

  2. Clone the project

    git clone git@github.com:francoislaberge/shrinkray.git
    cd shrinkray
    
  3. Install Dependencies

    npm install
    
  4. Build App Template

    npm run build:app
    
  5. Publish to npm

    npm run publish:patch