Skip to content

MachWheel/Make-me-Base64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Sleeper Logo

Make me Base64

A fast way to convert any image (or a folder full of them) into Base64 bytestrings.

Single mode

MAIN_DEMO

  • Open the app
  • Choose an image
  • Paste the string

Batch mode

MAIN_DEMO2

  • Open the app
  • Choose a folder
  • Check "_output.py" file

How to install it

There is no installation needed.

Just download the zip file at Releases, extract it and run the standalone .exe file.

Is it "portable"?

Yes! In other words, you need just Make-me-Base64.exe to run this app. To uninstall, just delete it.

Cloning the repository:

First, open the command-line and check your Python version. This app was made using Python 3.10.3:

py --version

Now, install virtualenv if you don't have it:

py -m pip install virtualenv

Clone the repository and change the directory to it:

git clone https://github.com/MachWheel/Make-me-Base64.git
cd Make-me-Base64

Create a virtualenv for the project, then activate it:

py -m venv venv
.\venv\Scripts\activate

Install project dependencies:

py -m pip install -r requirements.txt

Done. Now you can run the app typing:

py main.py

How to compile it:

Second: change to the directory and activate virtualenv if it is not already activated.

cd Make-me-Base64
.\venv\Scripts\activate

Easy way:

Inside Make-me-Base64 virtualenv, change the directory to compile and run the script:

cd compile
.\compile.bat
  • The folder containing the generated .exe file will be opened automatically

Manual way:

Inside Make-me-Base64 virtualenv, change the directory to compile folder and run pyinstaller:

cd compile
pyinstaller -w --onefile ..\main.py --name Make-me-Base64 --icon app_icon.ico --splash splashfile.png
  • The generated .exe file will be in .\compile\dist folder.

requirements.txt

PySimpleGUI==4.60.1
PyInstaller==5.1.0

About

A fast way to convert any image (or a folder full of them) into Base64 byte strings.

Resources

Stars

Watchers

Forks

Packages

No packages published