awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
tdewolff avatar

tdewolff/minify

0
View on GitHub↗
go.tacodewolff.nl/minify↗

Minify

This project is a collection of Go libraries designed to reduce the size of multiple web formats while preserving functional integrity. It serves as a high-performance text processor and multi-format asset compressor for shrinking HTML, CSS, JavaScript, JSON, SVG, and XML files by removing redundant characters.

The tool is designed for both static batch processing and real-time use. It includes middleware capabilities to intercept and minify web responses on the fly based on MIME types or file extensions, allowing for content compression during active data streams.

The processing suite covers a broad range of web assets and structured data. It handles the removal of whitespace, comments, and metadata across markup languages, stylesheets, scripts, and vector graphics, while also optimizing numeric representations and path data.

The implementation uses stream-based processing and state-machine parsing to minimize memory overhead when handling large assets.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • Web Asset Minification - Provides a comprehensive set of libraries to batch-minify HTML, CSS, JS, JSON, SVG, and XML files to reduce transfer size.
  • Web Asset Minifiers - Provides a comprehensive suite of Go libraries to minify HTML, CSS, JavaScript, JSON, SVG, and XML assets.
  • Real-Time Compression - Provides real-time compression of web resources via middleware that shrinks files on the fly based on content type.
  • CSS Minification - Strips comments and whitespace from stylesheets while optimizing colors and numeric values to reduce CSS size.
  • Multi-Format Asset Compressors - Offers a set of tools to compress multiple web data formats to reduce payload sizes.
  • Vector Graphic Compression - Optimizes SVG files by removing metadata and streamlining path data to reduce the size of scalable images.
  • Markup State Machines - Utilizes deterministic state machines to tokenize and minify markup languages character by character without constructing a full AST.
  • JavaScript Minification - Reduces JavaScript payload size by shortening variable names and removing whitespace and semicolons.
  • Stream-Based Text Processing - Implements stream-based text processing using reader and writer interfaces to maintain a low memory footprint for large assets.
  • Compression Middleware - Provides middleware that intercepts HTTP responses to apply minification in real-time before sending data to the client.
  • Resource Minifications - Converts content from various input streams into minified formats in real-time based on the detected media type.
  • Response Compression - Intercepts and minifies web content in real-time as part of the HTTP response cycle to improve load times.
  • Content Minification - Implements whitespace removal and character stripping for JSON and XML payloads to reduce data transfer size.
  • HTML Minification - Decreases markup file size by removing superfluous quotes, default attributes, and unnecessary whitespace from HTML.
  • JSON Minification - Eliminates unnecessary whitespace and optimizes numeric representations to reduce the size of JSON data files.
  • SVG Minification - Trims metadata, comments, and whitespace from SVG files while optimizing path data to reduce image size.
  • XML Minification - Reduces XML file size by deleting unnecessary whitespace, removing comments, and collapsing empty tags.
  • Web Asset Optimization - Reduces the size of HTML, CSS, and JavaScript assets to improve website loading speeds and minimize bandwidth usage.
  • Real-Time Data Compressors - Provides middleware capabilities to intercept and minify web responses on the fly based on MIME types.
  • Frontend Build Pipelines - Integrates automated minification of web assets into frontend build pipelines to ensure minimal production file sizes.
  • Pattern-Based Reduction - Employs regular expressions to optimize and shrink numeric values and color representations within stylesheets and markup.
  • Go Text Processors - Utilizes a high-performance Go implementation for efficient processing of structured web formats.
  • Reusable Buffer Pools - Implements reusable buffer pools to minimize memory allocations and garbage collection pressure during text processing.
  • MIME Type Mappings - Uses MIME type mappings to route content to the appropriate minification logic based on file extension or media type.
  • General Utilities - Fast file minification for web assets.
  • General Utility Libraries - Fast minifier for web assets.
  • Text Processing - Minifier for web static resources.
4,152 stars·245 forks·Go·MIT·13 views

Star history

Star history chart for tdewolff/minifyStar history chart for tdewolff/minify

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does tdewolff/minify do?

This project is a collection of Go libraries designed to reduce the size of multiple web formats while preserving functional integrity. It serves as a high-performance text processor and multi-format asset compressor for shrinking HTML, CSS, JavaScript, JSON, SVG, and XML files by removing redundant characters.

What are the main features of tdewolff/minify?

The main features of tdewolff/minify are: Web Asset Minification, Web Asset Minifiers, Real-Time Compression, CSS Minification, Multi-Format Asset Compressors, Vector Graphic Compression, Markup State Machines, JavaScript Minification.

Which projects share features with tdewolff/minify?

Projects with overlapping indexed features include: apache/incubator-pagespeed-ngx — This project is an NGINX performance module and automatic page accelerator that optimizes web pages and associated… anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… peco/peco — Peco is an interactive text filter and fuzzy finder for the terminal. It serves as a terminal user interface selection… guumaster/hostctl — Your dev tool to manage /etc/hosts like a pro! jakubpawlowicz/clean-css — Clean-CSS is a Node.js CSS optimizer and minifier designed to reduce stylesheet file sizes and improve web… uncss/grunt-uncss — grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization…

Projects sharing features with Minify

These projects share indexed features with Minify. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • apache/incubator-pagespeed-ngxA

    apache/incubator-pagespeed-ngx

    4,343View on GitHub↗

    This project is an NGINX performance module and automatic page accelerator that optimizes web pages and associated assets to reduce load times. It functions as a web asset optimizer that minifies CSS and JavaScript and compresses images to reduce total data transfer. The system operates as an HTTP cache optimizer, modifying cache headers and extending asset lifetimes to decrease the frequency of repeat downloads. It automatically applies web performance best practices to accelerate page loading and improve delivery speed. The project covers broad capability areas including frontend asset com

    C++
    View on GitHub↗4,343
  • anglesharp/anglesharpAngleSharp avatar

    AngleSharp/AngleSharp

    5,548View on GitHub↗

    AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a W3C compliant document object model. It functions as a programmatic HTML generator and a CSS selector engine for querying and locating specific elements within a DOM. The project provides tools for simulating browser environments to automate web interactions, navigate URLs, and submit forms. It includes a dedicated HTML and CSS minifier to reduce the file size of web assets by removing unnecessary characters. The library supports HTML DOM manipulation and the extraction of s

    C#angle-bracketanglesharpc-sharp
    View on GitHub↗5,548
  • guumaster/hostctlguumaster avatar

    guumaster/hostctl

    1,225View on GitHub↗

    Your dev tool to manage /etc/hosts like a pro!

    Goclideveloper-toolsdns
    View on GitHub↗1,225
  • peco/pecopeco avatar

    peco/peco

    7,892View on GitHub↗

    Peco is an interactive text filter and fuzzy finder for the terminal. It serves as a terminal user interface selection tool that filters standard input in real-time using fuzzy matching and regular expressions. The tool preserves and renders ANSI color escape sequences from piped input streams while performing matching logic on plain-text versions. It supports multi-stage filtering, allowing users to freeze result sets to create a new base for subsequent refinements. Capability areas include advanced search filtering with negative matching, multi-item selection, and the ability to pipe selec

    Go
    View on GitHub↗7,892
Compare all 30 related projects→