Uglifier minifies JavaScript files by wrapping UglifyJS to be accessible in Ruby
A Ruby interface to YUI Compressor for minifying JavaScript and CSS assets.
Jekyll Minifier using htmlcompressor for html, uglifier for js and css
paperclip-optimizer is a Paperclip processor for optimizing and minifying uploaded images.
Resolve dependencies, merge and minify CSS and JavaScript files with Juicer - the command line tool for frontend engineers
A HTML whitespace minifier for Middleman
Terser minifies JavaScript files by wrapping TerserJS to be accessible in Ruby
Ruby implementation of Douglas Crockford's JSMin JavaScript minifier.
Ruby library for minifying CSS. Inspired by cssmin.js and YUI Compressor.
Load CSS and JS faster. Minifies, bundles, and optimizes CSS/JS assets ahead of time (e.g., on deploy), not at runtime. Loads popular third-party JS (like jQuery, YUI, and Dojo) from localhost in development, and auto-switches to Google's CDN in production. Lets you switch on LABjs mode to load more scripts in parallel. Can rewrite stylesheets to use CDN hosts (not just your web server) and cache-busting hashes for updated images.
Pre-parser for JSON that removes C/C++ style comments and whitespace from formatted JSON, similar to https://github.com/getify/JSON.minify.
Minify Jekyll's HTML output using html_press
Rails plugin to automatically minify JS and CSS when their bundles get cached. Send in those patches!
Reduce your assets: minify javascript + stylesheets, optimize images lossless
Minifier plugin for jekyll. Minifies all html, js, css files. Simple just drop it in solution. No Java required
Extremely fast and smart HTML + JS + CSS minifier
A rake task to minify javascripts and coffeescripts
Writes versioned, bundled and minified javascript files and dependencies
Minify SVG assets, and optionally convert them to PNG for browser compatibility.
A Ruby interface to the Clean-CSS minifier for Node.
Resolve dependencies, merge and minify CSS and JavaScript files with Juicer - the command line tool for frontend engineers
sinatra-minify is an extension for Sinatra to compress assets.
Jzip was created due to the need of simply merging and minifying Javascript files to reduce HTTP requests and file size of application assets. Using sprites for images and SASS for stylesheets only left javascripts not be optimized. AssetPackager almost suited the solution, but it hasn't got enough flexibility in configuration. So with AssetPackager (for minification) and SASS (for merging with templates) as inspiration, I came up with Jzip.
Minify Jekyll's HTML output using html_press
Ruby wrapper for kangax js library html-minifier. If you want pure ruby use html_press
A framework agnostic packaging solution for your assets: version files, combine them, minify them and create a manifest
Fast allocation-less HTML minifier with smart whitespace handling
A Ruby interface to YUI Compressor for minifying JavaScript and CSS assets.
A generic swappable back-end for JS minifiers
Minify for rails js and css
FrontCompiler is a Ruby based JavaScript/CSS/HTML compressor. It provides the basic JavaScript/CSS/HTML minifying feature. Plus it can create albeit packed JavaScript files, can inline CSS inside of JavaScript, works with DRYed CSS files and also can work as a RubyOnRails plugin.
A JavaScript and CoffeeScript minifier for Jekyll.
Minify your files based on their filetype.
Terser minifies JavaScript files by wrapping TerserJS to be accessible in Ruby. This is a temporary fork for a GitLab usecase.
Build, minify, and deal with different platforms and environments for your HTML5 app. This is often used with PhoneGap but designed not to require it, and high_five can be used to deploy any kind of HTML/JS/CSS-based application that requires different deployment configurations.
Easy preflight command-line script for jslint and jsmin. Provides a packed, minified javascript file on STDOUT, or writes .js and provided .html files to a provided directory.
Provides some tools to minify and compress CSS files - Ruby ports of the YUI CSS Compressor and CSS Tidy
The microservice precompiler uses a handful of technologies to compile Javascripts and Stylesheets and create HTML pages from templates into a distribution folder ready for deployment. The microservices used are CoffeeScript, SASS and Mustache, compiling and minifying (where possible) into Javascript, CSS and HTML, respectively.
Trivial command-line minifier for HTML5 markup
Can be used to compile any static assets (etc minify javascript)
Minify Outputted HTML in Bridgetown
Minifier for HTML5 documents
nib.js is a NibJS javascript library allowing to maintain javascript projects ala 'node.js' (modules, exports, require) while also targetting a web browser as execution platform. It contains a simple packager command (nibjs) that will convert your sources to a single and minified .js file to be embedded in the browser. Node.js's exports and require are correctly bounded.
Densify is a general-purpose string minification gem written purely in C. It takes mere microseconds (literally) to minify thousands of lines of CSS to approximately the size other minfiers acheive.
Pre-parser for JSON that removes C/C++ style comments and whitespace from formatted JSON, similar to https://github.com/getify/JSON.minify.
A Ruby interface to YUI Compressor for minifying JavaScript and CSS assets.
Yes yet another static site generator. Has built in support for Erb - and Markdown templates, Typescript compiler, Sass compiler, JavaScript/Css minifier, partial- and layout support, variable support, easily extendable.
This gem formats URLs to different formats, like the Youtube formats: embed, minified and default
VBScript minifier CLI tool and library
Stylist provides powerful stylesheet management for your Rails app. You can organize your CSS files by media, add, remove or prepend stylesheets in the stylesheets stack from your controllers and views, and process them using Less or Sass. And as if that wasn't awesome enough, you can even minify them using YUI Compressor and bundle them into completely incomprehensible, but bandwidth-friendly mega-stylesheets.