Intro
Convert any web page into a desktop app (but, lightweight ~3MB)
Pre-requisites
macOS
```bash
cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Linux
- Given example is for Ubuntu, but it should work for other distros as well with respective packages.
```bash
cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
webkit2gtk
sudo apt install libwebkit2gtk-4.0-dev -y
```
Windows
Windows Setup (x64)
Install
bash
cargo install web2app tauri-cli
Usages
```bash
Run with args
web2app args -n Notion -u https://www.notion.so -i icon.png
```
```bash
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
- [x] Zoom In/Out
- [x] Reload
- [x] Standard Copy/Paste
- [x] Custom User Agent
- [x] Desktop Notification (working for some apps)
- [x] 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