Displays the latest statistics from the russian military.

Overview

Shoporusni CLI

A CLI tool for displaying the latest statistics of the Russian military losses.

This Rust application retrieves the latest statistics of Russian military losses from the russianwarship.rip API and displays them in a formatted table. The application is built using the chrono, colored, prettytable, serde, url, and clap Rust libraries.

shoporusni GIF

Usage

  • Install Rust programming language if it's not already installed on your machine. You can do this by following the instructions on the official Rust website: https://www.rust-lang.org/tools/install

  • Once Rust is installed, you can install the 'shoporusni' package by running the following command in your terminal:

cargo install shoporusni

This will download the package from crates.io and install it on your machine. The executable file will be installed in the ~/.cargo/bin directory.

  • To make the shoporusni package available in all directories on your Mac, you need to add the ~/.cargo/bin directory to your system's PATH environment variable. Here's how you can do it:

Open your shell profile file in a text editor. Depending on your shell, this file can be one of the following:

  • ~/.bash_profile (for Bash)
  • ~/.zshrc (for Zsh)
  • ~/.profile (for some other shells) Add the following line at the end of the file:
export PATH=$PATH:~/.cargo/bin

Save the file and close the text editor.

  • Reload your shell profile file by running the following command:
source ~/.bash_profile  # for Bash
source ~/.zshrc         # for Zsh
source ~/.profile       # for some other shells
  • Test that the shoporusni executable is now available in all directories by running the following command:
shoporusni --version

This should output the version number of the shoporusni package. If it does, you have successfully made the package available in all directories on your Mac.

  • Run cli app
shoporusni -s

Dependencies

The following Rust libraries are used in this application:

chrono: Used for working with dates and times. colored: Used for adding color to terminal output. prettytable: Used for formatting tables in the terminal. serde: Used for serializing and deserializing data in JSON format. url: Used for parsing URLs. clap: Used for parsing command-line arguments.

Author This Rust application was created by Dmytro Barabash [email protected].

You might also like...
Embedded Rust arithmetic, 2D/3D vector, and statistics library
Embedded Rust arithmetic, 2D/3D vector, and statistics library

Embedded-friendly (i.e. no_std) Rust math library featuring fast, safe floating point approximations for common arithmetic operations, trigonometry, 2D/3D vector types, statistical analysis, and quaternions.

Rust Statistics and Vector Algebra Library

Rstats Usage Insert rstats = "^1" in the Cargo.toml file, under [dependencies]. Use in source files any of the following structs, as needed: use rstat

Output the individual word-count statistics from a set of files
Output the individual word-count statistics from a set of files

Output the individual word-count statistics from a set of files, or generate a curated word list

🛡️ Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance
🛡️ Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance

AdGuardian-Term Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance About AdGuardian Terminal Eddition - Keep a

Query system statistics with SQL.

pg_stat_sysinfo Collects system statistics. ---- CREATE EXTENSION pg_stat_sysinfo; CREATE EXTENSION ---- SELECT * FROM pg_stat_sysinfo_collect();

Statistics network traffic --- Rust Library

Language : 🇺🇸 English | 🇨🇳 简体中文 netraffic Overview netraffic is a rust library that provides ability to statistics network traffic. Prerequisites

A utility for exporting administrative/moderation statistics from your Lemmy instance's PostgreSQL database to InfluxDB!
A utility for exporting administrative/moderation statistics from your Lemmy instance's PostgreSQL database to InfluxDB!

Lemmy (Stats) Data Exporter About This Project This project aims to act as a bridge between Lemmy's PostgreSQL database and InfluxDB, primarily to tra

Coinlive is an interactive command line tool that displays live cryptocurrency prices.
Coinlive is an interactive command line tool that displays live cryptocurrency prices.

Coinlive is an interactive command line tool that displays live cryptocurrency prices. It can also display simple historical price charts.

Midnote is a terminal application that reads a MIDI file and displays you its notes bar-by-bar, while playing it.

MIDNOTE Midnote is a terminal application that reads a MIDI file and displays you its notes bar-by-bar, while playing it. Goals As a blind musician my

Very minimalist tmux status bar that displays used memory and CPU usage.
Very minimalist tmux status bar that displays used memory and CPU usage.

woot-bar Ultra minimalist status bar that displays used memory and CPU usage woot-bar is made for tmux but it is compatible with anything that eats st

Displays 9-Patch UI elements in Bevy
Displays 9-Patch UI elements in Bevy

Bevy 9-Patch plugin Implementation of 9-patch images in Bevy. Let you have a UI that scale only the right parts of your images. See the examples for w

A cargo subcommand that displays ghidra function output through the use of the rizin rz-ghidra project.

cargo-rz-ghidra A cargo subcommand that displays ghidra function output through the use of the rizin rz-ghidra project. Install cargo install --git ht

A CLI tool that converts videos to ASCII and displays them to the terminal on the fly
A CLI tool that converts videos to ASCII and displays them to the terminal on the fly

A CLI tool that converts videos to ASCII and displays them to the terminal on the fly

ePaperify: Framebuffer/image pre-processing library for e-Paper displays

ePaperify: Framebuffer/image pre-processing library for e-Paper displays

A cargo subcommand that displays the assembly generated for Rust source code

cargo-show-asm A cargo subcommand that displays the assembly generated for Rust source code.

An open-source emulator for small OLED displays that are often used for Arduino/IOT projects.
An open-source emulator for small OLED displays that are often used for Arduino/IOT projects.

SSD1306 OLED Emulator An open-source emulator for small OLED displays that are often used for Arduino/IOT projects. This project is still in an alpha

Play videos on IT8951-controlled e-paper displays

it8951-video Play videos on IT8951-controlled e-paper displays via USB. This has been tested with a Waveshare 7.8inch e-Paper HAT display. Design This

Displays the Show/Movie you're currently watching on Discord!
Displays the Show/Movie you're currently watching on Discord!

Jellyfin-RPC Program used to display what you're currently watching on discord. Jellyfin-RPC uses the API to check what you're currently watching, thi

Kusa is a simple CLI tool that works on any platform and displays GitHub contribution graphs.
Kusa is a simple CLI tool that works on any platform and displays GitHub contribution graphs.

Kusa is a simple CLI tool that works on any platform and displays GitHub contribution graphs. Installation Homebrew (only macOS) $ brew tap Ryu0118/Ku

Owner
Dmytro B.
Dmytro B.
Tokei is a program that displays statistics about your code.

Tokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.

null 7.5k Jan 1, 2023
Rust bindings for the latest stable release of PROJ

PROJ Coordinate transformation via bindings to the PROJ v7.2.1 API. Two coordinate transformation operations are currently provided: projection (and i

GeoRust 96 Dec 21, 2022
Rust bindings for the latest stable release of PROJ

PROJ Coordinate transformation via bindings to the PROJ v7.2.1 API. Two coordinate transformation operations are currently provided: projection (and i

GeoRust 96 Dec 21, 2022
🦸‍♂️ Recast migrates your old extensions to AndroidX, making them compatible with the latest version of Kodular.

Recast Recast helps make your old extensions compatible with Kodular Creator version 1.5.0 or above. Prerequisites To use Recast, you need to have Jav

Shreyash Saitwal 13 Dec 28, 2022
Get the latest torrents from mixtapetorrent.com

MixtapeTorrent CLI This is a command line interface and Rust library for MixtapeTorrent. Installation Simply run: $ cargo install mixtapetorrent macOS

Tsiry Sandratraina 2 Sep 5, 2022
A demo repo that shows how to use the latest component model feature in wasmtime to implement a key-value capability defined in a WIT file.

Key-Value Component Demo This repo serves as an example of how to use the latest wasm runtime wasmtime and its component-model feature to build and ex

Jiaxiao Zhou 3 Dec 20, 2022
Statistics-driven benchmarking library for Rust

Criterion.rs Statistics-driven Microbenchmarking in Rust Getting Started | User Guide | Master API Docs | Released API Docs | Changelog | | Criterion.

Brook Heisler 3.1k Jan 8, 2023
A cross-platform library to retrieve performance statistics data.

A toolkit designed to be a foundation for applications to monitor their performance.

Lark Technologies Pte. Ltd. 155 Nov 12, 2022
Tool to monitor the statistics and the energy consumption of docker containers

Docker Activity Docker activity is a tool to monitor the statistics of your containers and output their energy consumption. Warning It's still in earl

Jérémie Drouet 39 Dec 6, 2022
Export statistics of Mosquitto MQTT broker (topic: $SYS) to Prometheus

Preface The Mosquitto MQTT broker provides a number of statistics on the special $SYS/# topic (see mosquitto(8)). Build requirements As a Rust program

Bobobo-bo Bo-bobo 2 Dec 15, 2022