Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websiteWrapper

Wrap any website as a native desktop app for macOS or Windows.

Takes a URL, a title and an icon and produces a standalone desktop application around that site using NW.js — useful for turning a web app you use daily into something that lives in the Dock or Start menu.

Install

npm install -g websitewrapper

Usage

websitewrapper -u https://example.com -t "Example" -i ~/icons/example.icns

The result is written to a build folder in the current directory.

Options

Flag Description Default
-u, --url <url> URL of the site to wrap http://www.robertgabriel.ninja
-t, --title <title> Window and app title websiteWrapper
-i, --icon <icon> Full path to an .icns icon bundled placeholder
-V, --version Print the version

To convert a PNG to .icns, use iconverticons.

Use as a module

const siteWrapper = require('websitewrapper');

siteWrapper.create(url, title, icon);

License

MIT © Robert James Gabriel

About

A command-line tool that wraps any website as a native desktop app for macOS or Windows, using NW.js.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages