Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iewnfod/url2app

A tool to convert a website into a desktop application
https://github.com/iewnfod/url2app

Last synced: 10 days ago
JSON representation

A tool to convert a website into a desktop application

Awesome Lists containing this project

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
1. Install `node.js` and `rust`
2. Install this tool `npm install url2app -g`
3. Use `url2app` command in your console!

## Usage
```shell
$ url2app [options]
```

### Options
| Option | Description | Default Value |
| ------ | ----------- | ------------- |
| `-v, --version` | output the version number | |
| **`-u, --url `** | target url to convert | |
| **`-n, --name `** | the name of this application | |
| `-i, --icon-path ` | the icon paths for the application | ![](./icons/icon.png) |
| `-d, --description ` | a short description for this application | A desktop application for the website. |
| `-a, --author ` | the author of this application | your user name on the computer |
| `-w, --width ` | the default width of the window | 800 |
| `-h, --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 ` | the dir that will store the file created | the path of this module |
| `-id, --identifier ` | the bundle identifier for this application | generated by name |
| `--debug` | remain all the files created while generation | false |
| `--help` | display help for command |