nativefier_tauri

Crates.ionativefier_tauri
lib.rsnativefier_tauri
version0.2.5
sourcesrc
created_at2022-11-28 08:56:30.820284
updated_at2023-03-12 07:17:57.601976
descriptionTurn any web page into a desktop app (but, lightweight <1MB)
homepage
repository
max_upload_size
id724281
size118,194
(hamza72x)

documentation

README

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

Commit count: 0

cargo fmt