eweb-tauri-0.1.5 is not a library.
⚡ eweb-tauri
Transform any website into a native desktop/mobile app with one command
Ultra lightweight: ~3MB vs Electron's 150MB+
🎯 Why eweb-tauri?
| Feature | eweb-tauri (Tauri) | Electron |
|---|---|---|
| 📦 App Size | ~3 MB | ~150 MB |
| 💾 Memory Usage | ~30 MB | ~100+ MB |
| 🚀 Startup Time | Instant | 2-5 seconds |
| 📱 Mobile Support | ✅ iOS & Android | ❌ |
| 🔒 Security | System WebView | Bundled Chromium |
✨ Features
- 🚀 One Command - Generate & build in single command
- 📱 Cross-Platform - Windows, macOS, Linux, iOS, Android
- 🎨 Auto Icons - Generate all icon sizes from URL or file
- ⚡ Ultra Light - 50x smaller than Electron apps
- 🦀 Pure Rust - Fast, safe, no Node.js required
- 🔧 Zero Config - Works out of the box
📦 Installation
Prerequisites
- Rust 1.70+
- Tauri Prerequisites
- For Android: Android SDK + NDK (see Android Setup)
🚀 Quick Start
One Command Build
# Linux desktop app
# Android app
# Just generate project (build later)
Full Example
⚙️ Options
| Option | Short | Description |
|---|---|---|
--name |
-n |
App name |
--app-version |
App version (default: 1.0.0) | |
--icon |
-i |
Icon path or URL |
--output |
-o |
Output directory |
--platform |
-p |
Build platform (see below) |
--debug |
-d |
Debug build (auto-signed APK) |
--help |
-h |
Show help |
--version |
-V |
Show version |
Platform Options (-p)
| Value | Platform | Output | Required OS |
|---|---|---|---|
linux |
Linux | .deb, .rpm, .AppImage | Linux |
mac |
macOS | .app, .dmg | macOS |
windows |
Windows | .exe, .msi | Windows |
android |
Android | .apk, .aab | Any (with SDK) |
ios |
iOS | .ipa | macOS + Xcode |
⚠️ Note: Desktop builds require the target OS. Cross-compilation is not supported for desktop platforms.
💡 Tip: Use
--debugfor Android to get auto-signed APK that can be installed directly!
📊 Size Comparison
| Format | eweb-tauri | Electron | Savings |
|---|---|---|---|
| .deb | 2.8 MB | ~150 MB | 98% |
| .rpm | 2.8 MB | ~150 MB | 98% |
| .apk | 20 MB | N/A | ✅ Mobile! |
| .aab | 11 MB | N/A | ✅ Mobile! |
📱 Android Setup
1. Install Android SDK
# Ubuntu/Debian
# Download command line tools
2. Install SDK Components
|
3. Add Rust Targets
4. Set Environment Variables
Add to your ~/.bashrc, ~/.zshrc, or ~/.env:
# Android SDK / Tauri Development
# Linux
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home # macOS
5. Build!
# Debug build (auto-signed, can install directly)
# Release build (unsigned, needs signing for distribution)
📁 Generated Project Structure
<app>-tauri/
├── src/
│ └── index.html
├── dist/ # Build artifacts (auto-renamed)
│ ├── MyApp-1.0.0-universal.apk
│ └── MyApp-1.0.0-universal.aab
└── src-tauri/
├── Cargo.toml
├── tauri.conf.json
├── build.rs
├── capabilities/
├── icons/
└── src/
├── main.rs # Desktop entry
└── lib.rs # Mobile entry
🛠️ Tech Stack
- Rust - Systems programming language
- Tauri 2.0 - Cross-platform app framework
- clap - CLI argument parsing
- image - Icon processing
- reqwest - HTTP client
📋 Changelog
v0.1.4 (2024-12-21)
- ✅ Add
--debugflag for auto-signed APK (can install directly) - ✅ Debug APK output to
dist/folder
v0.1.3 (2024-12-21)
- ✅ Copy custom icons to Android mipmap resources
- ✅ Support all Android icon densities (mdpi to xxxhdpi)
v0.1.2 (2024-12-21)
- ✅ Auto-rename build artifacts with app name and version
- ✅ Add
--app-versionoption - ✅ Output to
dist/folder
v0.1.1 (2024-12-21)
- ✅ Add
lib.rsfor Android/iOS mobile support - ✅ Fix mobile build configuration
v0.1.0 (2024-12-21)
- 🎉 Initial release
- ✅ One-command project generation
- ✅ Auto icon generation from URL
- ✅ Cross-platform support
- ✅ Published to crates.io
📄 License
MIT © neosun100
⭐ Star History
📱 Follow Us

If this project helps you, please give it a ⭐!
Made with ❤️ and 🦀 Rust