Crates.io | mymy |
lib.rs | mymy |
version | 0.3.0 |
source | src |
created_at | 2023-04-03 07:52:48.743196 |
updated_at | 2023-04-24 20:20:11.999983 |
description | Access the most common information about your system using a single command |
homepage | https://github.com/oleiade/mymy |
repository | https://github.com/oleiade/mymy |
max_upload_size | |
id | 828904 |
size | 161,970 |
mymy is a user-friendly command-line application designed to help users gather information about their system quickly, intuitively, and easily. Instead of using multiple tools to access various system details, this single tool consolidates all the important information you need.
The main commands available in the mymy are:
cpu
: Get information about your CPU, including its name, number of cores, and clock speed.ips
: Find out all the IP addresses allocated to your system, including local and external ones.dns
: Discover your system's configured DNS server.disks
: List all the disks attached to your system.date
: Consult your system's configured date in a human-readable format.time
: Consult your system's configured time and get the offset from the central NTP clock server.datetime
: A combination of the date
and time
commands.hostname
: Retrieve your system's hostname.username
: Find out your current user's system username.device-name
: Get your device's configured name.os
: Identify the operating system your system is running.ram
: Get information about your system's RAM, including its total capacity and usage.architecture
: Determine your CPU's architecture.interfaces
: List all the network interfaces configured on your system.mymy eliminates the need to remember multiple commands and their specific syntax, as well as searching through different files for specific information. Additionally, this tool is multi-platform, making it even more convenient for users across different operating systems (MacOS, Linux, Windows).
brew tap oleiade/tap
brew install mymy
# Download and install the repository's GPG key
curl -fsSL https://oleiade.github.io/deb/oleiade-archive-keyring.gpg | \
gpg --dearmor \
sudo tee /usr/share/keyrings/oleiade-archive-keyring.gpg > /dev/null
# Add the repository to your system's sources
echo "deb [signed-by=/usr/share/keyrings/oleiade-archive-keyring.gpg] https://oleiade.github.io/deb stable main" \
sudo tee /etc/apt/sources.list.d/oleiade.list > /dev/null
# Update your sources
apt update
# Install mymy
apt install mymy
cargo install mymy
Here are some example usages of the command:
$ my ips
public 84.172.75.134
local 192.168.2.246
$ my dns
1.1.1.1
8.8.8.8
192.168.1.1
$ my date
Saturday, 8 April, 2023, week 14
$ my time
20:51:42 UTC +02:00
±0.0795 seconds
$ my datetime
Saturday, 8 April, 2023, week 14
20:51:53 UTC +02:00
±0.0801 seconds
$ my hostname
oleiades-laptop.local
$ my username
oleiade
$ my device-name
Oleiade Laptop
$ my os
macOS 13.2.1
$ my architecture
arm64
$ my interfaces
lo0 127.0.0.1
lo0 ::1
en0 192.168.2.242
We appreciate your interest in contributing to our project! This is a small, open-source Rust project, and we welcome contributions from developers of all skill levels. To ensure a smooth and enjoyable experience for everyone involved, please take a moment to read through these guidelines before getting started.
git clone https://github.com/your-username/mymy.git
git checkout -b feature/add-new-command
git commit -m "Add a new command for displaying system memory usage"
git push origin feature/add-new-command
develop
branch when making changes. Avoid making changes directly to the main
branch.If you encounter any bugs or have a feature request, please open a new issue on the project's GitHub page. Be sure to provide a clear and concise description of the issue or feature request, and include any relevant information, such as error messages or steps to reproduce the issue.
This project is licensed under the AGPL-3.0 license. For more information, see the LICENSE file.