Desktop application development with Tauri

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1212
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    852
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_bitrix-bitrix-24-1c_fixper_448_0.png
    Website development for FIXPER company
    815

Desktop Application Development with Tauri

Tauri is a framework for desktop applications where the backend is written in Rust and the frontend uses any web stack. Unlike Electron, Tauri doesn't ship its own Chromium: it uses the system WebView (WebKit on macOS/Linux, WebView2 on Windows). Result — distribution from 4 to 15 MB vs 80+ MB for Electron.

Architecture

Frontend (HTML/CSS/JS → any framework)
        ↕ invoke() / events
Tauri Core (Rust)
        ↕ system calls
    OS (file system, notifications, tray)

All unsafe code runs in Rust. Frontend can only call explicitly exposed Rust commands via invoke.

Creating a Project

# Prerequisites: Rust + system dependencies
# macOS: xcode-select --install
# Windows: Visual Studio Build Tools + WebView2
# Linux: webkit2gtk, libayatana-appindicator

npm create tauri-app@latest
# Choose: TypeScript, React, Vite

Project structure:

my-app/
├── src/              # React/Vue/Svelte frontend
├── src-tauri/
│   ├── src/
│   │   ├── main.rs   # Rust entry point
│   │   └── lib.rs    # commands and plugins
│   ├── Cargo.toml
│   └── tauri.conf.json
├── package.json
└── vite.config.ts

Rust Commands: Foundation of Interaction

// src-tauri/src/lib.rs
use tauri::State;
use std::sync::Mutex;

struct AppState {
    counter: Mutex<i32>,
}

// Simple command
#[tauri::command]
fn greet(name: &str) -> String {
    format!("Hello, {}!", name)
}

// Async command with state
#[tauri::command]
async fn increment(state: State<'_, AppState>) -> Result<i32, String> {
    let mut counter = state.counter.lock().map_err(|e| e.to_string())?;
    *counter += 1;
    Ok(*counter)
}

// File system access command
#[tauri::command]
async fn read_file(path: String) -> Result<String, String> {
    std::fs::read_to_string(&path).map_err(|e| e.to_string())
}

pub fn run() {
    tauri::Builder::default()
        .manage(AppState { counter: Mutex::new(0) })
        .invoke_handler(tauri::generate_handler![greet, increment, read_file])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Calling Rust Commands from Frontend

// src/api/tauri.ts
import { invoke } from '@tauri-apps/api/core';

export async function greet(name: string): Promise<string> {
  return invoke('greet', { name });
}

export async function increment(): Promise<number> {
  return invoke('increment');
}

// Usage in React component
function App() {
  const [count, setCount] = useState(0);

  const handleIncrement = async () => {
    const newCount = await increment();
    setCount(newCount);
  };

  return <button onClick={handleIncrement}>Count: {count}</button>;
}

Event System

// Rust → Frontend
use tauri::{Manager, Emitter};

#[tauri::command]
async fn start_long_task(app: tauri::AppHandle) {
    tokio::spawn(async move {
        for i in 0..=100 {
            tokio::time::sleep(tokio::time::Duration::from_millis(50)).await;
            app.emit("progress", i).unwrap();
        }
        app.emit("task-complete", "done").unwrap();
    });
}
// Frontend — subscribe to events
import { listen } from '@tauri-apps/api/event';

const unlisten = await listen<number>('progress', (event) => {
  setProgress(event.payload);
});

await invoke('start_long_task');

Ecosystem Plugins

# src-tauri/Cargo.toml
[dependencies]
tauri-plugin-fs = "2"
tauri-plugin-dialog = "2"
tauri-plugin-notification = "2"
tauri-plugin-shell = "2"
tauri-plugin-store = "2"
pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_fs::init())
        .plugin(tauri_plugin_dialog::init())
        .run(tauri::generate_context!())
        .expect("error running app");
}

Build and Distribution

# Development
npm run tauri dev

# Build for current platform
npm run tauri build

Output:

  • macOS: .app + .dmg
  • Windows: .exe (NSIS) + .msi
  • Linux: .deb + .AppImage + .rpm

When to Choose Tauri over Electron

Tauri justified when: distribution size is critical, need maximum native code performance, team knows Rust or willing to learn.

Electron justified when: need identical runtime regardless of system WebView, team is JavaScript/TypeScript only, app actively uses npm ecosystem in main process.

Size difference: Tauri ~8 MB, Electron ~120 MB. Memory: Tauri 30-60 MB vs Electron 100-200 MB at startup.