{"id":23893347,"url":"https://github.com/sumpygump/mince","last_synced_at":"2026-06-15T06:04:42.537Z","repository":{"id":6759451,"uuid":"8006077","full_name":"sumpygump/mince","owner":"sumpygump","description":"Command line build step to automate minifying and combining JavaScript and CSS files.","archived":false,"fork":false,"pushed_at":"2019-04-17T14:11:37.000Z","size":47,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-04T14:17:44.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/sumpygump.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-04T11:29:25.000Z","updated_at":"2013-11-01T18:01:13.000Z","dependencies_parsed_at":"2022-09-10T16:00:39.536Z","dependency_job_id":null,"html_url":"https://github.com/sumpygump/mince","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fmince","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fmince/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fmince/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumpygump%2Fmince/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumpygump","download_url":"https://codeload.github.com/sumpygump/mince/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240275929,"owners_count":19775616,"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":"2025-01-04T14:17:50.733Z","updated_at":"2026-06-15T06:04:42.531Z","avatar_url":"https://github.com/sumpygump.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mince\n\nMinify and combine your js and css files in a web project: a command line tool written in PHP.\n\n## Installation\n\n### Requirements\n - PHP\n - jsmin\n - csstidy\n\nCheckout or download the files into a location on your server or machine. The\nfollowing are good locations: `/usr/share/php/mince-1.3` or\n`/usr/local/share/php/mince-1.3`\n\n### Suggested Installation\n\n    cd /usr/local/share/php\n    git clone git://github.com/sumpygump/mince.git mince-1.3\n    cd mince-1.3\n    composer.phar install\n\nAdd a symlink to the mince program somewhere in your path\n\n    ln -s /usr/local/share/php/mince-1.3/mince /usr/local/bin/mince\n    chmod a+x /usr/local/bin/mince\n\n## Usage\n\nInside your project folder, create a file called .minceconf. That file will be\nin yaml format and contain a list of the minify and/or combine rules.\n\nExample file:\n\n    minify:\n      - public/css/global.css\n      - public/css/admin.css\n      - public/js/somefile.js\n      - public/js/anotherfile.js\n    combine:\n      public/css/global.cmb.css:\n        - public/css/global.min.css\n        - public/css/admin.min.css\n      public/js/project.cmb.js:\n        - public/js/somefile.min.js\n        - public/js/anotherfile.min.js\n\nThis will tell mince to minify the files listed. The minified file written will\nbe the filename `\u003coriginalname\u003e` + `.min` + `\u003cextension\u003e`. For example,\n`global.css` will be minified to `global.min.css`.\n\nThis will also tell mince to combine the minified files into one file. For\nexample, the first file created will be `public/css/global.cmb.css`, and will\nconsist of the contents of the files `public/css/global.min.css` and\n`public/css/admin.min.css`.\n\nBe sure to use paths from the root of the project (where mince will be run).\n\nTo perform the mincing, just run \"mince\" from the command line. It will look\nfor the file named `.minceconf` and perform the directives indicated therein.\n\n## Options\n\n - `mince -v` will run mince with verbose output.\n - `mince -q` will run mince in quiet mode (no output).\n - `mince --file=filename.yml` will tell mince to look for the minceconf file\n   `filename.yml` instead of the default `.minceconf`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumpygump%2Fmince","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumpygump%2Fmince","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumpygump%2Fmince/lists"}