Skip to content
← All projects

Mandi POS: Offline-First Rust ERP System

A production-grade, load-shedding resilient POS & ERP built entirely in Rust, featuring a Tauri v2 desktop app, SQLite WAL outbox replication, and PostgreSQL central sync.

Client

Mandi POS Engineering

Industry

Agri-Tech & Enterprise Retail

Category

Cloud & DevOps

Mandi POS: Offline-First Rust ERP System, a Cloud & DevOps project for Agri-Tech & Enterprise Retail

Cloud & DevOps

Mandi POS: Offline-First Rust ERP System

Engineered specifically for agricultural commodity trading shops in Pakistan, Mandi POS operates 100% offline during power outages. Built with a pure Rust domain kernel (pos-core), SQLite WAL local database with outbox staging (pos-db), ESC/POS thermal receipt engine with Urdu bitmap rendering (pos-escpos), exponential backoff sync supervisor (pos-sync), and an Axum + PostgreSQL central server (pos-server). Supports double-entry Aarthi ledgers, integer Paisa (i64) arithmetic, FEFO batch stock tracking, and Z-Report day-end locks.

Results

100%

Offline trading continuity (0 data loss)

0

Floating point drift (Integer Paisa)

Dual

Bilingual Urdu/English ESC/POS receipts

100%

Immutable Z-Report day closures

Technologies Used

Rust 1.85Tauri v2SQLite WALPostgreSQLAxumTokioESC/POS Urdu RendererSerde

Want results like this?