{"id":22493585,"url":"https://github.com/bigsk1/base64-convert","last_synced_at":"2025-11-04T11:03:04.738Z","repository":{"id":191924298,"uuid":"685690303","full_name":"bigsk1/Base64-Convert","owner":"bigsk1","description":"Python app to convert and resize images into base64 code and webp - Windows and Linux","archived":false,"fork":false,"pushed_at":"2024-01-18T05:40:43.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T17:51:14.906Z","etag":null,"topics":["base64","base64-encoding","imageconverter","jekyll","jekyll-blog","linux","python3","webp","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigsk1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"bigsk1","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-08-31T19:37:02.000Z","updated_at":"2024-03-08T11:33:23.000Z","dependencies_parsed_at":"2024-01-18T07:45:33.230Z","dependency_job_id":"1d7c085c-c82b-4a6d-8464-56a84964becb","html_url":"https://github.com/bigsk1/Base64-Convert","commit_stats":null,"previous_names":["bigsk1/base64-convert"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigsk1%2FBase64-Convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigsk1%2FBase64-Convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigsk1%2FBase64-Convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigsk1%2FBase64-Convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigsk1","download_url":"https://codeload.github.com/bigsk1/Base64-Convert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246396488,"owners_count":20770378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","base64-encoding","imageconverter","jekyll","jekyll-blog","linux","python3","webp","windows"],"created_at":"2024-12-06T18:55:07.716Z","updated_at":"2025-11-04T11:03:04.689Z","avatar_url":"https://github.com/bigsk1.png","language":"Python","readme":"# Base64 Convert Images - Get txt file with base64 and a webp from jpg or png\n\n## Overview\n\nThe Base64 Convert App is a Python script that automates the process of converting images to Base64 format and resizing them. It's particularly useful for embedding images directly into Markdown files for Jekyll-based websites. The app also generates WebP versions of the images for better compression and quality.\n\n## Features\n\n- Converts images in the `images` folder to Base64 format.\n- Saves the Base64 string to a `.txt` file with the same name as the image.\n- Resizes the image to 250x160 pixels. ( or the size you want, can be edited )\n- Converts the resized image to WebP format.\n- Saves the WebP image with a `_converted.webp` suffix.\n\n## How to Use\n\n1. **Setup**: Place the `convert.py` script in the same directory as your `images` folder.\n2. **Batch File**: Double-click the provided `.bat` file. This will set up a Python virtual environment, install required packages, and run the `convert.py` script.\n3. **Output**: After running, you'll find a `.txt` file containing the Base64 string and a `_converted.webp` image in the `images` folder for each image processed.\n\n## Requirements\n\n- Python 3.x\n- Pillow library (automatically installed by the `.bat` file)\n\n## Notes\n\n- The `.bat` file will check if a virtual environment already exists. If it does, it will simply activate it and run the script.\n- Detailed logs will be displayed in the CMD window, including any errors.\n\n## Linux \n\nUse the convert.sh \n\ngive it execute permissions (chmod +x convert.sh), and then you can run it with ./convert.sh\n","funding_links":["https://github.com/sponsors/bigsk1"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigsk1%2Fbase64-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigsk1%2Fbase64-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigsk1%2Fbase64-convert/lists"}