Skip to content

A handy utility to convert data sizes to Honeygain points, providing quick and accurate estimates in dollars.

License

Notifications You must be signed in to change notification settings

kRystalDevv/honeygain-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Conversion Tool for Honeygain

Welcome to the Honeygain Conversion Tool! This simple command-line tool allows you to calculate rates and conversions for Honeygain, specifically for data sizes in megabytes, gigabytes, and points.

Features:

  1. User-Friendly Interface: The tool presents a straightforward menu interface, making it easy for users to choose the type of conversion they want to perform.

  2. Cross-Platform Compatibility: Compatible with both Windows and Linux environments, ensuring a consistent user experience across different operating systems.

  3. Verbose Mode: Activate verbose mode using the -v command-line option to enable additional information about the operating system.

  4. Clear Screen Functionality: The tool utilizes platform-specific clear screen functions, ensuring a clean and organized display.

  5. IP Address Lookup (Windows/Linux): For Windows users, the tool provides a quick lookup of the IPv4 address using ipconfig. For Linux users, the equivalent information is displayed using ifconfig.

  6. Conversion Options:

    • Megabytes to Points: Convert the provided amount in megabytes to points, with an estimated value in dollars.
    • Gigabytes to Points: Convert the provided amount in gigabytes to points, with an estimated value in dollars.
    • Direct Points Entry: Enter an amount in points, providing an estimated value in dollars.
  7. Input Validation: Robust input validation ensures that users are prompted until a valid input is provided, preventing errors from unexpected input.

Usage:

Installation:

  1. Clone the repository to your local machine.

  2. Compile the program using a C compiler.

    gcc honeygain_conversion.c -o honeygain_conversion

Run the Program:

Windows:

honeygain_conversion.exe

Linux:

./honeygain_conversion

Verbose Mode:

Enable verbose mode to get additional information about your operating system.

Windows:

honeygain_conversion.exe -v

Linux:

./honeygain_conversion -v

Example:

$ ./honeygain_conversion

===================
1. Use Megabytes
2. Use Gigabytes
3. Use Points -
===================

Choice: 1
Enter Amount in Megabytes: 50

Your points are 15.00
Estimated in Dollars: $0.015

About

A handy utility to convert data sizes to Honeygain points, providing quick and accurate estimates in dollars.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages