๐Ÿงพ TUI Inventory App

An old-school terminal-based inventory management system built with Rust and Cursive.
cursive Version


๐Ÿ–ฅ๏ธ Text-based User Interface (TUI) Inventory System

๐Ÿ“š GitHub Repository

This project is an experiment in building a Text User Interface application using the Cursive library โ€” a powerful TUI framework for Rust. Inspired by classic terminal apps, it offers a practical solution for managing a simple inventory of products with full keyboard interaction.

Ideal for Rust learners and enthusiasts exploring terminal UI development.


โš™๏ธ Tools & Stack

Tools

Rust Version cursive Version Build Status


โœจ Features

  1. Create and Save Items

  2. Define product type

  3. Set quantity
  4. Input price per unit

  5. Display All Items

  6. View inventory in a structured list

  7. Automatically calculate total price and sales tax

  8. Delete Items

  9. Remove an item by specifying its ID

  10. Local JSON-based Database

  11. Persistent storage using a flat file database

  12. File path defined as:

    rust const FILE_PATH: &str = "products.json";


๐Ÿ–ผ๏ธ Demo

{{ img(src = "/media/tui_inventory_app.gif") }}


๐Ÿ“ฆ Installation & Run

  1. Clone the Repository

bash git clone https://github.com/maltsev-dev/inventory_system_app cd inventory_system_app

  1. Build the Project

bash cargo build --release

  1. Run the App

bash cargo run


๐Ÿ“„ License

This project is licensed under the MIT License โ€” free to use, modify, and distribute.