Skip to content

xubylele/base-64-converter

Repository files navigation

Welcome

This is an application that allows you to convert base64 encoded strings to files and vice versa using a graphical user interface (GUI)

Why is this project necessary?

In many cases, sensitive information needs to be shared or stored in a secure manner. By converting files to a base64 string, the data can be encapsulated and transmitted as plain text, ensuring that it remains intact and unaltered during transit. This project allows you to convert those base64 encoded strings back into their original format, ensuring the privacy and integrity of the data.

How to use it?

  1. Run the setup script by executing the following command:

    ./setup_and_run.sh
  2. In case the script is not executable, run the following command:

    chmod +x setup_and_run.sh

This script will:

  • Detect your operating system.

  • Install Python if it is not already installed.

  • Install the required dependencies listed in requirements.txt.

  • Run the application (main.py).

  • Use the GUI to select the conversion mode and input/output files. You can drag and drop files into the respective fields for ease of use.

  • Convert the files by clicking the "Convert" button. The output will be displayed in the GUI, and you can save it to a file if needed.

  • Enjoy the convenience of converting base64 encoded strings to files and vice versa with this simple and intuitive application.

What's new in this version?

Complete graphical user interface (GUI) for the application. Drag and drop support for input and output file fields in the GUI. Configuration file (config.json) to save and load the last used directories and conversion mode. Visual notification for drag and drop functionality.

Future improvements

  • Create a standalone executable for the application to run on any system without the need for Python or dependencies.
  • Add support for more file types and conversion modes.
  • Improve error handling and user feedback for better usability.
  • Implement a progress bar for large file conversions.

Summary

This project provides a simple and effective way to convert base64 encoded strings to files and vice versa using a graphical user interface. It is easy to use, secure, and reliable, making it an essential tool for anyone who needs to work with sensitive data. Try it out today and see how it can simplify your workflow!