# webview-packager

> This application creates native desktop webview applications suitable for showing web content, by leveraging [suchipi/webview](https://github.com/suchipi/webview).

Latest version **0.1.1** (published 2020-09-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install webview-packager
pnpm add webview-packager
yarn add webview-packager
bun add webview-packager
```

Provides the command `webview-packager`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2020-09-22 |
| First published | 2020-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | suchipi |

## Links

- npm: https://www.npmjs.com/package/webview-packager
- npm.io page: https://npm.io/package/webview-packager

## Dependencies (3)

- [shelljs](https://npm.io/package/shelljs.md) ^0.8.4
- [yargs-parser](https://npm.io/package/yargs-parser.md) ^20.2.0
- [@suchipi/webview](https://npm.io/package/@suchipi/webview.md) ^0.2.1

## Recent versions

- 0.1.1 (latest) — 2020-09-22
- 0.1.0 — 2020-09-22

## README

# webview-packager

This application creates native desktop webview applications suitable for showing web content, by leveraging [suchipi/webview](https://github.com/suchipi/webview).

You can configure it to either open a webview window and navigate to a URL, or open a webview window and show content from a folder (which will be served by a local http server).

## Usage

To make a webview wrapper for a URL:

```
npx webview-packager --name myApp --title "My App" --outDir "./bin" --url "https://my-app.example.com"
```

To make a webview wrapper for some files:

```
npx webview-packager --name myApp --title "My App" --outDir "./bin" --assetsDir "./public"
```

## TODO

- [x] Generate binaries for macOS, Windows, and Linux
- [x] Set up a basic macOS Info.plist
- [ ] Create `.desktop` files for Linux
- [ ] Automatically convert icons and put them in the right place (icns, resource hacker, pixmap, etc)

---
_Source: https://npm.io/package/webview-packager · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
