url2app
v0.1.0
Published
A tool to convert web page into a desktop application
Readme
Url 2 App
url2app is a tool to convert a url into a desktop application.
It is based on a rust crate tauri.
This script currently only support macOS.
Installation
- Install
node.jsandrust - Install this tool
npm install url2app -g - Use
url2appcommand in your console!
Usage
$ url2app [options]Options
| Option | Description | Default Value |
| ------ | ----------- | ------------- |
| -v, --version | output the version number | |
| -u, --url <url> | target url to convert | |
| -n, --name <name> | the name of this application | |
| -i, --icon-path <icon_path...> | the icon paths for the application |
|
| -d, --description <description> | a short description for this application | A desktop application for the website. |
| -a, --author <author> | the author of this application | your user name on the computer |
| -w, --width <width> | the default width of the window | 800 |
| -h, --height <height> | the default height of the window | 600 |
| -f, --fullscreen | if the window will be fullscreen when open | false |
| -r, --resize | if the window can be resized | true |
| -o, --output-dir <output_path> | the dir that will store the file created | the path of this module |
| -id, --identifier <identifier> | the bundle identifier for this application | generated by name |
| --debug | remain all the files created while generation | false |
| --help | display help for command |
