#desktop-applications #web-page #web-apps #interactive #turn #user-agent

app nativefier_tauri

Turn any web page into a desktop app (but, lightweight <1MB)

15 releases

0.2.5 Mar 12, 2023
0.2.3 Mar 11, 2023
0.2.0 Dec 12, 2022
0.1.9 Nov 29, 2022

#911 in GUI

Download history 3/week @ 2024-07-25 6/week @ 2024-09-19 2/week @ 2024-09-26

66 downloads per month

MIT license

110KB
435 lines

Intro

Turn any web page into a desktop app (but, lightweight <1MB)

Requirements

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# macOS
brew install imagemagick

# apt
sudo apt install imagemagick
  • Linux Specific
# arch
sudo pacman -S webkit2gtk

# debian
sudo apt install -y webkit2gtk

Install

cargo install nativefier_tauri

Usages

# Run with args

nativefier_tauri args -n Notion -u https://www.notion.so -i icon.png
# Run with interactive mode

nativefier_tauri 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/nativefier_tauri_apps/<name> directory.

Roadmap

  • Zoom In/Out
  • Reload
  • Standard Copy/Paste
  • Dark Reader Extension (already there but, not fully working)
  • Custom User Agent
  • Desktop Notification (useful for Discord like app)
  • Custom url navigation
  • Github Action to build binary
  • Separate native_tauri_apps repo to host common built apps through Github Action
  • Retain window size and position after restart
  • File download support
  • Automatically fetch icon from website
  • Docs in crates.io

Libraries

Dependencies

~1.4–9.5MB
~72K SLoC