@webcatalog/molecule

Javascript library to make any web page a desktop application


Keywords
electron, linux, macos, nodejs, windows
License
MPL-2.0
Install
npm install @webcatalog/molecule@1.0.7

Documentation

molecule

npm package

Platform Build Status
Linux CircleCI
macOS Travis Build Status
Windows AppVeyor Build Status

Node.js module which turns web app into Electron app.

Facebook Messenger app for macOS, created with Molecule

Usage

yarn add @webcatalog/molecule
createAppAsync(
  'google',
  'Google',
  'https://google.com',
  path.resolve(__dirname, 'test', '828296a5-0969-4a56-8e68-e188b03584b0.icns'),
  path.resolve(__dirname, 'dist'),
)
.then(() => console.log('ok'))
.then(err => console.log(err));

Development

yarn
yarn install-app-full
yarn electron-dev

yarn install-app-full is required because running yarn only installs the production dependencies, not devDependencies. This trick is to minimize WebCatalog package size.