it is partly a Rust implementation of the "bi-widget", originally a React application. This project is my first venture into the Rust programming language. In this project, I engaged with network requests, real-time WebSocket data handling, and explored memory management alongside concurrency features in Rust. This terminal application offers a structured and interactive interface to work with product data directly in the terminal, presenting a fruitful first attempt at Rust.
- Concurrency: Leveraging Rust's capabilities for efficient data management.
- WebSocket: Fetching real-time product data through WebSocket connections.
- TUI: Utilizing the
ratatuilibrary for a seamless terminal user interface.
- Rust
- Ratatui - For UI rendering
- Tokio - Asynchronous runtime for Rust
- Crossterm - For building cross-platform terminal applications
- Serde - For serializing and deserializing Rust data structures
To set up the BI Widget Rust CLI on your local machine, follow these steps:
- Ensure you have Rust and Cargo installed. You can download them from the official site.
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Run the following command to install the necessary dependencies:
cargo run