mymy

AGPL License

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.

Features

The main commands available in the mymy are: - ips: Find out all the IP addresses allocated to your system, including local and external ones. - dns: Discover your system's configured DNS server. - 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. - architecture: Determine your CPU's architecture. - interfaces: List all the network interfaces configured on your system.

Benefits

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).

Getting Started

To use mymy, follow these steps:

  1. Install the tool by running the cargo install mymy command.
  2. Open a terminal or command prompt.
  3. Use any of the commands mentioned in the Features section, preceded by the name of the executable.

Example Usage

Here are some example usages of the System Information Tool commands:

```bash $ 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's Laptop

$ my os macOS 13.2.1

$ my architecture arm64

$ my interfaces lo0 127.0.0.1 lo0 ::1 en0 192.168.2.242 ```

Contributing

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.

Getting Started

  1. Fork the repository: Start by forking the project to your own GitHub account. This will create a personal copy of the repository that you can work on.
  2. Clone the repository: Clone your forked repository to your local machine. You can do this by running the following command: bash git clone https://github.com/your-username/mymy.git
  3. Create a new branch: Create a new branch for your changes. Keep the branch name descriptive and concise. For example: bash git checkout -b feature/add-new-command
  4. Make your changes: Implement the new feature or fix the bug you've identified. Remember to follow the project's coding style and conventions.
  5. Commit your changes: Once you've made your changes, commit them with a clear and descriptive commit message. This helps other contributors understand the purpose of your changes. bash git commit -m "Add a new command for displaying system memory usage"
  6. Push your changes: Push your changes to your forked repository on GitHub. bash git push origin feature/add-new-command
  7. Submit a pull request: Finally, create a pull request from your forked repository to the main project repository. Provide a clear and concise description of the changes you've made and the purpose of your pull request.

Contribution Best Practices

Reporting Bugs or Requesting Features

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.

License

This project is licensed under the AGPL-3.0 license. For more information, see the LICENSE file.