{"id":15318367,"url":"https://github.com/appleboy/minify-tool","last_synced_at":"2025-04-15T02:23:46.370Z","repository":{"id":7048788,"uuid":"8328358","full_name":"appleboy/minify-tool","owner":"appleboy","description":"minify all html, css, js and optimize image files for web project.","archived":false,"fork":false,"pushed_at":"2015-01-07T05:00:12.000Z","size":400,"stargazers_count":15,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T08:29:56.073Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/appleboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-21T04:31:46.000Z","updated_at":"2024-07-09T09:48:18.000Z","dependencies_parsed_at":"2022-09-05T06:41:09.995Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/minify-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fminify-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fminify-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fminify-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fminify-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/minify-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248924848,"owners_count":21184154,"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":[],"created_at":"2024-10-01T08:59:51.214Z","updated_at":"2025-04-15T02:23:46.351Z","avatar_url":"https://github.com/appleboy.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Minify Tool\n\nMinify all html, css, js and optimize image files for web project.\n\n## Feature\n\n* JavaScript compressor: [UglifyJS](https://github.com/mishoo/UglifyJS2)\n* CSS optimizer: [CSSO](https://www.npmjs.com/package/csso)\n* HTML compressor/minifie: [HTML compressor](https://github.com/kangax/html-minifier)\n* Optimize images: [image_optim](https://github.com/toy/image_optim)\n\n## Installation\n\nInstall [NPM](https://npmjs.org/) and compressor tools via the following script command.\n\n```bash\n$ git clone https://github.com/appleboy/minify-tool.git build\n$ cd build \u0026\u0026 chmod +x install.sh minify\n```\n\nInstall Html, CSS and JavaScript minify tool.\n\n```bash\n$ ./install.sh\n```\n\n## Usage\n\nMinify image files (include *.jpg, *.png, *.gif).\n\n```bash\n$ ./minify -t image image_folder_path\n```\n\nMinify single html, css or javascript file.\n\n```bash\n$ ./minify single_file_path\n```\n\nMinify web project on same folder.\n\n```bash\n$ ./minify your_project_folder_path\n```\n\nMinify web project to another folder.\n\n```bash\n$ ./minify your_project_folder_path -o output_folder_path\n```\n\n## UNIX Command\n\nCopy minify to /usr/bin folder\n\n```bash\n$ cp ./minify /usr/bin/minify\n```\n\n## Author\n\nBo-Yi Wu, Twitter: [@appleboy](http://twitter.com/appleboy \"Twitter\"), Blog: http://blog.wu-boy.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fminify-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fminify-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fminify-tool/lists"}