{"id":24042229,"url":"https://github.com/breadybred/minifier-tools","last_synced_at":"2026-03-14T22:36:31.009Z","repository":{"id":269734745,"uuid":"908273844","full_name":"BreadyBred/minifier-tools","owner":"BreadyBred","description":"Speed up your website's performance with these easy-to-use minification tools. Includes options for post-build automation, quick file minification, and on-demand usage.","archived":false,"fork":false,"pushed_at":"2025-01-30T11:40:06.000Z","size":28354,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T20:55:33.427Z","etag":null,"topics":["minification","minify","shell","tools"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BreadyBred.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-25T16:42:11.000Z","updated_at":"2025-01-30T11:40:10.000Z","dependencies_parsed_at":"2024-12-25T18:26:55.257Z","dependency_job_id":"55ee6f66-d8ed-4aa0-b691-2d28097a857c","html_url":"https://github.com/BreadyBred/minifier-tools","commit_stats":null,"previous_names":["breadybred/minifier-tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BreadyBred/minifier-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreadyBred%2Fminifier-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreadyBred%2Fminifier-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreadyBred%2Fminifier-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreadyBred%2Fminifier-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BreadyBred","download_url":"https://codeload.github.com/BreadyBred/minifier-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BreadyBred%2Fminifier-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30520626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-14T19:51:21.629Z","status":"ssl_error","status_checked_at":"2026-03-14T19:51:12.959Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["minification","minify","shell","tools"],"created_at":"2025-01-08T22:37:33.706Z","updated_at":"2026-03-14T22:36:30.970Z","avatar_url":"https://github.com/BreadyBred.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minifier Tools\n\n**Tired of manually minifying your files?** Minifier Tools is a handy GitHub repository that provides you with three easy ways to minify your files locally and on demand!\n\n## Overview\n\nMinifier Tools is designed to simplify the process of reducing the size of your files, whether you're working on a personal project or managing a complex build process. By minimizing file sizes, you can:\n\n*\tSignificantly improve website loading times.\n*\tEnhance overall performance by reducing bandwidth usage.\n*\tStreamline your workflow with automated or manual options for file minification.\n\nThis tool supports multiple file types and is flexible enough to fit into any development setup. Whether you're automating your build pipeline or handling ad-hoc file minification, Minifier Tools has you covered!\n\n## Features\n\nThere are two ways to use Minifier Tools:\n\n*\t**Post-build Minifier:** Perfect for integration with your build process. Simply add a script to your `package.json` to automatically minify your compiled JavaScript file after running `npm run build`. This script **WILL** overwrite your old JavaScript file.\n*\t**Standalone Minifier:** Drag your files to the `to_minify` folder. Run the script and voilà! Your minified files will appear in the `minified` folder. No manual configuration needed!\n\nAdditional Features:\n\n*\tAutomatic Dependency Installation: Checks for and installs missing tools like CleanCSS, or UglifyJS.\n*\tSafe File Handling: The standalone version ensures no overwriting by appending a -min.extension suffix to minified files.\n\n## Supported File Types\n\n*\tJavaScript\n*\tCSS\n*\tJSON\n*\tHTML\n*\tSVG\n\n**Important Notes:**\n\n*\tThe post-build minifier currently only works with JavaScript files.\n*\tStandalone version will not overwrite existing files. Minified files will have a suffix of `-min.extension`.\n*\tAll scripts automatically check for and install necessary tools (CleanCSS, UglifyJS, etc...) if they're missing.\n\n## Getting Started\n\nHead over to the GitHub repository to download Minifier Tools and get started by launching `minifier_tools.exe`\n\n### Prerequisites\n\n**1. Node.js and NPM:**\n\nMinifier Tools requires a functional Node.js environment and NPM (Node Package Manager) for installing and using the necessary tools. Ensure that Node.js and NPM are installed and properly configured on your system before proceeding.\n- Download and install Node.js from the [official website](https://nodejs.org/).\n- Verify installation:\n\t```bash\n\tnode --version\n\tnpm --version\n\t```\n\n\u003e [!IMPORTANT]\n\u003e Make sure Node.js is added to your PATH environment variable during installation.\n\n**2. Bash Interpreter (e.g., Git Bash):**\n\nA Bash interpreter is necessary for running shell scripts.\n- Download Git Bash from the [official website](https://git-scm.com/downloads).\n\n\u003e [!IMPORTANT]\n\u003e Ensure Git Bash is added to your PATH during installation.\n\n**3. Python (optional):**\n\nIf you plan to use the EXE version, Python is required.\n- Download Python from the [official website](https://www.python.org/downloads/).\n- Verify installation:\n```bash\npython --version\n```\n\n\u003e [!IMPORTANT]\n\u003e Make sure to check the \"Add Python 3.x to PATH\" option during installation.\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/BreadyBred/minifier-tools.git\ncd minifier-tools\n```\n2. That's it! You're ready to go, start `minifier_tools.exe` to start using the Standalone version or start setting up the postbuild tool with the quick guid in [Usage](#usage).\n\n### Usage\n\n**Post-build Minifier:**\n\n1.\tUpdate your `package.json` using the following format:\n```json\n\"scripts\": {\n\t\t\"build\": \"tsc\",\n\t\t\"postbuild\": \"bash ./path/to/script/postbuild_minifier.sh\",\n}\n```\n\u003e `postbuild` will be automatically called after the successfull call of `build`\n\n2.\tReplace `FILE_NAME=\"C://PATH/TO/JS/SCRIPT/script.js\"` with the actual path to your compiled JavaScript file.\n3.\tEverytime you run the `npm run build`, you will find your newly minified file under `$FILE_NAME-min.js`\n\n**Standalone Minifier:**\n\n1.\tDrag your files to the `to_minify` folder.\n2.\tRun the script.\n3.\tFind your minified scripts in the `minified` folder.\n\n## Technologies Used\n\n*\tShell\n*\tPython","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreadybred%2Fminifier-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreadybred%2Fminifier-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreadybred%2Fminifier-tools/lists"}