Crates.io | web2app |
lib.rs | web2app |
version | 0.2.12 |
source | src |
created_at | 2023-03-21 05:42:17.33757 |
updated_at | 2024-02-19 05:09:50.569955 |
description | Turn any web page into a desktop app (but, lightweight ~3MB) |
homepage | |
repository | |
max_upload_size | |
id | 815880 |
size | 183,209 |
Convert any web page into a desktop app (but, lightweight ~3MB)
# cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
You should first install the Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Then you need to install some dependencies, which depends on your Linux distribution.
sudo apt install libwebkit2gtk-4.0-dev -y
sudo zypper in -y webkit2gtk3-soup2-devel
You need to look for another package that provides the development libraries for webkit with GTK4. There might also be other missing packages.
Windows Setup (x64)
cargo install web2app tauri-cli
# Run with args
web2app args -n Notion -u https://www.notion.so -i icon.png
# Run with interactive mode
web2app interactive
# 🍀 Enter Name (TestApp):
# 🍀 Enter URL (https://trello.com):
# 🍀 Enter Description (An example application.):
# 🍀 Enter Version (0.1.0):
# 🍀 Enter Author (John Doe):
# 🍀 Enter Identifier (com.example.testapp):
# 🍀 Enter Icon (icon_path.png):
# 🍀 Enter User Agent (Mozilla/5.0):
$HOME/web2app_apps/<name>
directory.web2app_apps
repo to host common built apps through Github Action