{"id":13612500,"url":"https://github.com/digitalsparky/jekyll-minifier","last_synced_at":"2025-05-16T09:04:23.316Z","repository":{"id":25530819,"uuid":"28963259","full_name":"digitalsparky/jekyll-minifier","owner":"digitalsparky","description":"Jekyll HTML/XML/CSS/JS Minifier utilising yui-compressor, and htmlcompressor","archived":false,"fork":false,"pushed_at":"2024-07-13T23:37:04.000Z","size":72,"stargazers_count":250,"open_issues_count":22,"forks_count":24,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-14T11:58:09.855Z","etag":null,"topics":["htmlcompressor","jekyll","jekyll-minifier","jekyll-plugin","minifies","ruby","ruby-gem"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitalsparky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"digitalsparky"}},"created_at":"2015-01-08T11:37:22.000Z","updated_at":"2025-03-20T20:46:12.000Z","dependencies_parsed_at":"2024-02-24T08:30:57.821Z","dependency_job_id":"661fedd0-c323-468e-b0b2-2eb78bd1d7dc","html_url":"https://github.com/digitalsparky/jekyll-minifier","commit_stats":{"total_commits":69,"total_committers":12,"mean_commits":5.75,"dds":"0.33333333333333337","last_synced_commit":"78245699ec6fa3c208d7902fd71f3ff89dcf3c03"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalsparky%2Fjekyll-minifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalsparky%2Fjekyll-minifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalsparky%2Fjekyll-minifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalsparky%2Fjekyll-minifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalsparky","download_url":"https://codeload.github.com/digitalsparky/jekyll-minifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501557,"owners_count":22081528,"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":["htmlcompressor","jekyll","jekyll-minifier","jekyll-plugin","minifies","ruby","ruby-gem"],"created_at":"2024-08-01T20:00:30.802Z","updated_at":"2025-05-16T09:04:23.278Z","avatar_url":"https://github.com/digitalsparky.png","language":"Ruby","funding_links":["https://github.com/sponsors/digitalsparky","https://paypal.me/MattSpurrier","https://www.buymeacoffee.com/digitalsparky"],"categories":["Assets \u0026 Converters \u0026 Minifiers","Ruby"],"sub_categories":[],"readme":"# jekyll-minifier [![Build Status](https://travis-ci.org/digitalsparky/jekyll-minifier.svg?branch=master)](https://travis-ci.org/digitalsparky/jekyll-minifier) [![Gem Version](https://badge.fury.io/rb/jekyll-minifier.svg)](http://badge.fury.io/rb/jekyll-minifier)\n\nRequires Ruby 2.3+\n\nMinifies HTML, XML, CSS, JSON and JavaScript both inline and as separate files utilising yui-compressor and htmlcompressor.\n\nThis was created due to the previous minifier (jekyll-press) not being CSS3 compatible, which made me frown.\n\nNote: this is my first ever gem, I'm learning, so feedback is much appreciated.\n\n** This minifier now only runs when JEKYLL_ENV=\"production\" is set in the environment **\n\nEasy to use, just install the jekyll-minifier gem:\n\n\u003cpre\u003e\u003ccode\u003egem install jekyll-minifier\u003c/code\u003e\u003c/pre\u003e\n\nThen add this to your \\_config.yml:\n\n\u003cpre\u003e\u003ccode\u003eplugins:\n    - jekyll-minifier\n\u003c/code\u003e\u003c/pre\u003e\n\nOptionally, you can also add exclusions using:\n\n\u003cpre\u003e\u003ccode\u003ejekyll-minifier:\n  exclude: 'atom.xml' # Exclude files from processing - file name, glob pattern or array of file names and glob patterns\n\u003c/code\u003e\u003c/pre\u003e\n\nand toggle features and settings using:\n\n\u003cpre\u003e\u003ccode\u003ejekyll-minifier:\n  preserve_php: true                # Default: false\n  remove_spaces_inside_tags: true   # Default: true\n  remove_multi_spaces: true         # Default: true\n  remove_comments: true             # Default: true\n  remove_intertag_spaces: true      # Default: false\n  remove_quotes: false              # Default: false\n  compress_css: true                # Default: true\n  compress_javascript: true         # Default: true\n  compress_json: true               # Default: true\n  simple_doctype: false             # Default: false\n  remove_script_attributes: false   # Default: false\n  remove_style_attributes: false    # Default: false\n  remove_link_attributes: false     # Default: false\n  remove_form_attributes: false     # Default: false\n  remove_input_attributes: false    # Default: false\n  remove_javascript_protocol: false # Default: false\n  remove_http_protocol: false       # Default: false\n  remove_https_protocol: false      # Default: false\n  preserve_line_breaks: false       # Default: false\n  simple_boolean_attributes: false  # Default: false\n  compress_js_templates: false      # Default: false\n  preserve_patterns:                # Default: (empty)\n  uglifier_args:                    # Default: (empty)\n\u003c/code\u003e\u003c/pre\u003e\n\njs_args can be found in the the uglifier documentation at listed below\n\nNote: es6 has been implemented as experimental only via the upstream uglifier package.\nSee https://github.com/lautis/uglifier for more information.\n\nTo enable es6 syntax use:\n\n\u003cpre\u003e\u003ccode\u003e\njekyll-minifier:\n  uglifier_args:\n    harmony: true\n\n\u003c/code\u003e\u003c/pre\u003e\n\n\n# Like my stuff?\n\nWould you like to buy me a coffee or send me a tip?\nWhile it's not expected, I would really appreciate it.\n\n[![Paypal](https://www.paypalobjects.com/webstatic/mktg/Logo/pp-logo-100px.png)](https://paypal.me/MattSpurrier) \u003ca href=\"https://www.buymeacoffee.com/digitalsparky\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/white_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalsparky%2Fjekyll-minifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalsparky%2Fjekyll-minifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalsparky%2Fjekyll-minifier/lists"}