Rust

web2app

Turn any web page into a desktop app (but, lightweight ~3MB)

H

hamza72x

Dernière activité 27 oct. 2025
hamza72x/web2app

214

étoiles

9

forks

3

issues ouvertes

Ce README est souvent en anglais.

Intro

Convert any web page into a desktop app (but, lightweight ~3MB)

Pre-requisites

macOS

# cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Linux

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.

Ubuntu (and derivates such as KDE Neon, PopOS etc.)
sudo apt install libwebkit2gtk-4.0-dev -y
OpenSUSE
sudo zypper in -y webkit2gtk3-soup2-devel
Other

You need to look for another package that provides the development libraries for webkit with GTK4. There might also be other missing packages.

Windows

Windows Setup (x64)

Install

# downgrade to old rust version
# a PR to upgrade the rust and tauri version will be welcomed
rustup default 1.71

cargo install tauri-cli --version '1.6.6'

cargo install web2app

Usages

# 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):

Output

  • The output will be saved in $HOME/web2app_apps/<name> directory.

Roadmap

  • Zoom In/Out
  • Reload
  • Standard Copy/Paste
  • Custom User Agent
  • Desktop Notification (working for some apps)
  • Back and forward navigation
  • Automatically fetch icon from website
  • Dark Reader Extension (already there but, not fully working)
  • Retain window size and position after restart
  • Separate web2app_apps repo to host common built apps through Github Action
  • File download support

Libraries

Projets similaires

🤱🏻 Turn any webpage into a desktop app with one command.

Rustchatgptclaudedesktop
Ttw93
61,8 k étoiles12,7 k

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

Rustdesktop-apphigh-performancemobile-app
Ttauri-apps
111,5 k étoiles4 k

The most full featured web-to-app toolkit on Android, a complete APK workshop that runs entirely on your phone

Kotlinandroidappweb
Sshiaho777
6,6 k étoiles1 k