Create desktop apps in Javascript. Lightweight alternative to Electron because of only supporting macOS (for now).
Features
- CLI for converting static website into a macOS app.
- Tiny App sizes (macOS: < 100K, Windows: N/A)
- Debuggable (Right-click window, select "Inspect Element")
- Fullscreen API
- File Read/Write API
- Menu API
npm install -g shrinkray
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
Source code (Click thumbnail to download app)
Source code (Click thumbnail to download app)
Source code (Click thumbnail to download app)
-
Required Tools
-
Clone the project
git clone [email protected]:francoislaberge/shrinkray.git cd shrinkray
-
Install Dependencies
npm install
-
Build App Template
npm run build:app
-
Publish to npm
npm run publish:patch