{"id":13429999,"url":"https://github.com/Taritsyn/WebMarkupMin","last_synced_at":"2025-03-16T05:30:26.621Z","repository":{"id":1637687,"uuid":"39257614","full_name":"Taritsyn/WebMarkupMin","owner":"Taritsyn","description":"The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.","archived":false,"fork":false,"pushed_at":"2025-01-17T07:45:03.000Z","size":9275,"stargazers_count":461,"open_issues_count":4,"forks_count":47,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-01-19T09:40:08.255Z","etag":null,"topics":["aspnet","dotnet","html","markup","minification","minify","xhtml","xml"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Taritsyn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2015-07-17T14:16:49.000Z","updated_at":"2025-01-17T07:45:05.000Z","dependencies_parsed_at":"2023-07-06T22:01:27.138Z","dependency_job_id":"c8d3568f-8ed1-408c-abc2-ce38ef5da1da","html_url":"https://github.com/Taritsyn/WebMarkupMin","commit_stats":{"total_commits":530,"total_committers":4,"mean_commits":132.5,"dds":0.005660377358490565,"last_synced_commit":"e1d7acdf87b4f2bcb75e82d48ff247bb41e72061"},"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Taritsyn%2FWebMarkupMin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Taritsyn%2FWebMarkupMin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Taritsyn%2FWebMarkupMin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Taritsyn%2FWebMarkupMin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Taritsyn","download_url":"https://codeload.github.com/Taritsyn/WebMarkupMin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"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":["aspnet","dotnet","html","markup","minification","minify","xhtml","xml"],"created_at":"2024-07-31T02:00:49.023Z","updated_at":"2025-03-16T05:30:26.615Z","avatar_url":"https://github.com/Taritsyn.png","language":"C#","readme":"Web Markup Minifier [![NuGet version](http://img.shields.io/nuget/v/WebMarkupMin.Core.svg)](https://www.nuget.org/packages/WebMarkupMin.Core/)  [![Download count](https://img.shields.io/nuget/dt/WebMarkupMin.Core.svg)](https://www.nuget.org/packages/WebMarkupMin.Core/)\n===================\n\n\u003cimg src=\"https://raw.githubusercontent.com/Taritsyn/WebMarkupMin/master/images/WebMarkupMin_Logo.png\" width=\"440\" height=\"86\" alt=\"WebMarkupMin logo\" /\u003e\n\nThe **Web Markup Minifier** (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers.\nThe objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.\n\nWebMarkupMin absorbed the best of existing solutions from non-microsoft platforms: Juriy Zaytsev's [HTML Minifier](https://github.com/kangax/html-minifier) (written in JavaScript) and Sergiy Kovalchuk's [HtmlCompressor](https://github.com/serg472/htmlcompressor) (written in Java).\n\nMinification of markup produces by removing extra whitespace, comments and redundant code (only for HTML and XHTML).\nIn addition, HTML and XHTML minifiers supports the minification of CSS code from `style` tags and attributes, and minification of JavaScript code from `script` tags, event attributes and hyperlinks with `javascript:` protocol.\nWebMarkupMin.Core contains built-in JavaScript minifier based on the Douglas Crockford's [JSMin](https://github.com/douglascrockford/JSMin) and built-in CSS minifier based on the Mads Kristensen's [Efficient stylesheet minifier](https://madskristensen.net/blog/efficient-stylesheet-minification-in-c).\nThe above mentioned minifiers produce only the most simple minifications of CSS and JavaScript code, but you can always install additional modules that support the more powerful algorithms of minification: WebMarkupMin.MsAjax (contains minifier-adapters for the [Microsoft Ajax Minifier](https://github.com/microsoft/ajaxmin)), WebMarkupMin.Yui (contains minifier-adapters for the [YUI Compressor for .NET](https://github.com/YUICompressor-NET/YUICompressor.NET)) and WebMarkupMin.NUglify (contains minifier-adapters for the [NUglify](https://github.com/trullock/NUglify)).\n\nAlso supports minification of views of popular JavaScript template engines: [KnockoutJS](https://knockoutjs.com/), [Kendo UI MVVM](https://www.telerik.com/kendo-ui) and [AngularJS](https://angularjs.org/) 1.X.\n\nIn addition, there are several modules that integrate this library into ASP.NET: WebMarkupMin.AspNet4.HttpModules (for ASP.NET 4.X and ASP.NET Web Pages), WebMarkupMin.AspNet4.Mvc (for ASP.NET MVC 3, 4 or 5), WebMarkupMin.AspNet4.WebForms (for ASP.NET Web Forms 4.X), WebMarkupMin.AspNetCore1 (for ASP.NET Core 1.X), WebMarkupMin.AspNetCore2 (for ASP.NET Core 2.X), WebMarkupMin.AspNetCore3 (for ASP.NET Core 3.1 and 5), WebMarkupMin.AspNetCore6 (for ASP.NET Core 6 and 7) and WebMarkupMin.AspNetCoreLatest (for ASP.NET Core 8 and 9).\n\nYou can try WebMarkupMin in action and experiment with different minification settings live on the [WebMarkupMin Online](https://webmarkupmin.bsite.net/) site.\n\n## NuGet Packages\n\n### Core\n * [WebMarkupMin: Core](http://nuget.org/packages/WebMarkupMin.Core/) (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Standard 1.3, .NET Standard 2.0 and .NET Standard 2.1)\n\n### External JS and CSS minifiers\n * [WebMarkupMin: MS Ajax](http://nuget.org/packages/WebMarkupMin.MsAjax/) (supports .NET Framework 4.0 Client, .NET Framework 4.5 and .NET Standard 2.0)\n * [WebMarkupMin: YUI](http://nuget.org/packages/WebMarkupMin.Yui/) (supports .NET Framework 4.5.2 and .NET Standard 2.0)\n * [WebMarkupMin: NUglify](http://nuget.org/packages/WebMarkupMin.NUglify/) (supports .NET Framework 4.0 Client, .NET Framework 4.5, .NET Standard 1.3 and .NET Standard 2.0)\n\n### ASP.NET Extensions\n * [WebMarkupMin: ASP.NET 4.X HTTP modules](http://nuget.org/packages/WebMarkupMin.AspNet4.HttpModules/) (supports .NET Framework 4.0 and .NET Framework 4.5)\n * [WebMarkupMin: ASP.NET 4.X MVC](http://nuget.org/packages/WebMarkupMin.AspNet4.Mvc/) (supports .NET Framework 4.0 and .NET Framework 4.5)\n * [WebMarkupMin: ASP.NET 4.X Web Forms](http://nuget.org/packages/WebMarkupMin.AspNet4.WebForms/) (supports .NET Framework 4.0 and .NET Framework 4.5)\n * [WebMarkupMin: ASP.NET Core 1.X](http://nuget.org/packages/WebMarkupMin.AspNetCore1/) (supports .NET Framework 4.5.1 and .NET Standard 1.3)\n * [WebMarkupMin: ASP.NET Core 2.X](http://nuget.org/packages/WebMarkupMin.AspNetCore2/) (supports .NET Standard 2.0)\n * [WebMarkupMin: ASP.NET Core 3.1+](http://nuget.org/packages/WebMarkupMin.AspNetCore3/) (supports .NET Core App 3.1)\n * [WebMarkupMin: ASP.NET Core 6+](http://nuget.org/packages/WebMarkupMin.AspNetCore6/) (supports .NET 6)\n * [WebMarkupMin: ASP.NET Core Latest](https://www.nuget.org/packages/WebMarkupMin.AspNetCoreLatest/) (supports .NET 8 and .NET 9)\n * [WebMarkupMin: Brotli for ASP.NET](http://nuget.org/packages/WebMarkupMin.AspNet.Brotli/) (supports .NET Framework 4.0, .NET Framework 4.5, .NET Standard 1.3, .NET Standard 2.0, .NET Standard 2.1 and .NET 9)\n\n### Unofficial modules\n * [Syku.WebMarkupMin.Config](https://www.nuget.org/packages/Syku.WebMarkupMin.Config/) (supports .NET Standard 2.0) by Michał Sykutera\n * [WebMarkupMin.Brotli](https://www.nuget.org/packages/WebMarkupMin.Brotli/) (supports .NET Standard 1.3) by Michał Sykutera\n\nRequires NuGet Package Manager version 2.8.6 or higher.\n\n## Documentation\nDocumentation is located on the [wiki](https://github.com/Taritsyn/WebMarkupMin/wiki) of this Repo.\n\n## Previous Versions\nSource code and documentation for previous versions of WebMarkupMin are located on [CodePlex](https://webmarkupmin.codeplex.com/).\nIf you have used old versions of WebMarkupMin, then I recommend to first read [“How to upgrade applications to version 2.X”](https://github.com/Taritsyn/WebMarkupMin/wiki/How-to-upgrade-applications-to-version-2.X) section of the documentation.\n\n## Who's Using WebMarkupMin\nIf you use WebMarkupMin in some project, please send me a message so I can include it in this list:\n\n### Software\n * [AngularTemplates.Compile](https://github.com/vadimi/AngularTemplates.Compile) by Vadim Ivanou\n * [AspNetStatic](https://github.com/ZarehD/AspNetStatic)\n * [Blog-Umbraco](https://github.com/radyz/Blog-Umbraco) by Ernesto Chavez Sanchez\n * [Colorful.Cache.Web](https://www.nuget.org/packages/Colorful.Cache.Web)\n * [Colorful.CMS.Core](https://www.nuget.org/packages/Colorful.CMS.Core/)\n * [Constellation.Foundation.Mvc](https://github.com/constellation4sitecore/constellation-sitecore9) by Rick Cabral\n * [Constellation.Sitecore.Presentation.Mvc](https://github.com/sitecorerick/constellation.sitecore.presentation.mvc) by Rick Cabral\n * [Elect AspNetCore Useful Middlewares](https://github.com/topnguyen/Elect/tree/master/src/Web/Elect.Web.Middlewares) by Top Nguyen\n * [FAV Rocks](https://github.com/billbogaiv/fav-rocks) by Bill Boga\n * [File Sharing Application](http://bitbucket.org/Artur2/filesharingapplication) by Artur N\n * [GeeksCoreLibrary](https://github.com/happy-geeks/geeks-core-library)\n * [Google Pagespeed Tools for NopCommerce](https://www.foxnetsoft.com/noppagespeedtools) by FoxNetSoft\n * [GrandNode](https://github.com/grandnode/grandnode2)\n * [iTEAMConsulting.FormHandler](https://github.com/iteam-consulting/csharp-form-handler)\n * [Karambolo.AspNetCore.Bundling.WebMarkupMin](https://github.com/adams85/bundling)\n * [Lightweight NetCore MVC Template](https://marketplace.visualstudio.com/items?itemName=PabloMorelli.LightweightNetCoreMVCTemplate) by Pablo Morelli\n * [MiniBlog](https://github.com/madskristensen/MiniBlog) by Mads Kristensen\n * [Miniblog.Core](https://github.com/madskristensen/Miniblog.Core) by Mads Kristensen\n * [MissingCode.Umbraco.HtmlMinifier](https://our.umbraco.org/projects/developer-tools/html-minifier/) by Yakov Lebski\n * [nopCommerce](https://www.nopcommerce.com/)\n * [Razor Minification](https://github.com/guardrex/RazorMinification) by Luke Latham\n * [StaticWebHelper](https://github.com/madskristensen/StaticWebHelper) by Mads Kristensen\n * [Statiq Framework](https://statiq.dev/framework) (formerly known as [Wyam](http://wyam.io/))\n * [Web Essentials 2013](https://github.com/madskristensen/WebEssentials2013) by Mads Kristensen\n\n### Websites\n * [101Sport.net](https://www.101sport.net/)\n * [ActivaERP.com](https://www.activaerp.com/)\n * [Adiban.ac.ir](http://adiban.ac.ir/)\n * [Aebis.com](http://aebis.com/)\n * [AgroCountry.com](https://agrocountry.com/)\n * [Apple-NIC.com](https://www.apple-nic.com/) by Sepehr Davarnia\n * [ASFINAG.at](https://www.asfinag.at/)\n * [AspCore.net](http://aspcore.net/)\n * [ASP-MVC.ir](http://asp-mvc.ir/)\n * [Assist2Sell.com](https://assist2sell.com/) by Christopher Dengler\n * [Astalegale.Net](https://www.astalegale.net/)\n * [AsteImmobili.it](https://www.asteimmobili.it/)\n * [Aztual.es](https://www.aztual.es/)\n * [BaseballAmerica.com](https://www.baseballamerica.com/)\n * [BeautifyCode.net](https://beautifycode.net/) by Anghel Valentin\n * [BillerudKorsnas.se](https://www.billerudkorsnas.se/)\n * [Bridge-Direct.com](https://www.bridge-direct.com/)\n * [Bye-Airport.com](https://bye-airport.com/) by Yasin Kultur\n * [CaixaGuissona.com](https://caixaguissona.com/)\n * [CampingDeCarlton.nl](https://campingdecarlton.nl/)\n * [Carnival.com](https://www.carnival.com/)\n * [ChannelEngine.com](https://www.channelengine.com/)\n * [CityOfBoise.org](https://www.cityofboise.org/)\n * [ClientEarth.org](https://www.clientearth.org/)\n * [CLS.vn](https://cls.vn/)\n * [CollectOffers.com](https://www.collectoffers.com/)\n * [Crossmedial.be](https://www.crossmedial.be/)\n * [DamBeton.nl](http://www.dambeton.nl/)\n * [DanTri.com.vn](https://dantri.com.vn/)\n * [DBIS.edu.hk](http://dbis.edu.hk/)\n * [DDPlanet.ru](https://www.ddplanet.ru/)\n * [Dealtoday.vn](https://www.dealtoday.vn/)\n * [Dell.com](https://www.dell.com/)\n * [DProtein.com](https://www.dprotein.com/)\n * [eBarkhat.ac.ir](http://ebarkhat.ac.ir/)\n * [ECIT.com](https://www.ecit.com/)\n * [e-damavandihe.ac.ir](http://e-damavandihe.ac.ir/)\n * [Elbek-Vejrup.dk](https://elbek-vejrup.dk/)\n * [EquitiGlobalMarkets.ae](http://www.equitiglobalmarkets.ae/)\n * [FCMImobiliaria.com.br](https://fcmimobiliaria.com.br/)\n * [FirmaRehberi.tv.tr](https://www.firmarehberi.tv.tr/)\n * [FMOutsource.com](http://www.fmoutsource.com/)\n * [FreeNetworkAnalyzer.com](https://freenetworkanalyzer.com/)\n * [FreeSerialAnalyzer.com](https://freeserialanalyzer.com/)\n * [Giant-Bicycles.com](https://www.giant-bicycles.com/)\n * [Giant-Cambridge.co.uk](http://www.giant-cambridge.co.uk/)\n * [Giant-Rutland.co.uk](http://www.giant-rutland.co.uk/)\n * [GoGetIt.com.pa](https://www.gogetit.com.pa/)\n * [GreatLittleBreaks.com](https://www.greatlittlebreaks.com/)\n * [Guide.DStv.com](http://guide.dstv.com/)\n * [GurkanTuna.com](https://gurkantuna.com/) by Gürkan Tuna\n * [HAS.nl](https://www.has.nl/)\n * [HHDSoftware.com](http://www.hhdsoftware.com/)\n * [HiHoliday.ir](http://hiholiday.ir/)\n * [HometownBanks.com](https://www.hometownbanks.com/)\n * [HotelMedusa.eu](http://www.hotelmedusa.eu/)\n * [HotelVirgilio.it](http://www.hotelvirgilio.it/)\n * [HousingNow.com](https://housingnow.com/) by Christopher Dengler\n * [HypeProxy.io](http://hypeproxy.io/)\n * [IDcreation.be](https://www.idcreation.be/)\n * [Immobilier.CBRE.fr](https://immobilier.cbre.fr/)\n * [ImoRadar24.ro](https://www.imoradar24.ro/)\n * [inCONCRETO.net](https://www.inconcreto.net/)\n * [INGENIO-WEB.it](https://www.ingenio-web.it/)\n * [Insights.com](https://www.insights.com/)\n * [Instat.gov.al](http://instat.gov.al/)\n * [Intuitive.gg](https://www.intuitive.gg/)\n * [ItaliaOggi.it](https://www.italiaoggi.it/)\n * [KamKan.ru](https://www.kamkan.ru/)\n * [KCEBV.nl](https://www.kcebv.nl/)\n * [KeyToSteel.com](http://www.keytosteel.com/)\n * [Kleisma.com](https://www.kleisma.com/)\n * [KnaufLaw.com](https://www.knauflaw.com/)\n * [KonyaSeker.com.tr](http://konyaseker.com.tr/)\n * [LeOrchidee.it](http://www.leorchidee.it/)\n * [LiderGD.com](https://www.lidergd.com/)\n * [Liv-Cycling.com](https://www.liv-cycling.com/)\n * [Logix.dk](https://logix.dk/)\n * [LogixSuite.it](http://www.logixsuite.it/)\n * [Macingo.com](https://www.macingo.com/)\n * [MaiLinhExpress.vn](http://www.mailinhexpress.vn/)\n * [MALL.TV](https://www.mall.tv/)\n * [Medivir.se](http://www.medivir.se/)\n * [Mini-ielts.com](http://mini-ielts.com/)\n * [mishlohim.co.il](https://www.mishlohim.co.il/)\n * [Momentum-Biking.com](https://www.momentum-biking.com/)\n * [MottMac.com](https://www.mottmac.com/)\n * [Moulsford.com](https://www.moulsford.com/)\n * [Multicare.org.uk](https://multicare.org.uk/)\n * [Nilfisk.com](https://www.nilfisk.com/)\n * [NimbusItSolutions.com](http://www.nimbusitsolutions.com/)\n * [NOA.nl](https://www.noa.nl/)\n * [noihoidonganh.com](https://noihoidonganh.com/)\n * [NVB.nl](https://www.nvb.nl/)\n * [NYAS.org](https://www.nyas.org/)\n * [OGMods.net](http://ogmods.net/)\n * [Oldflix.com.br](https://oldflix.com.br/)\n * [OOS.SDU.edu.tr](https://oos.sdu.edu.tr/)\n * [OXXOshop.com](http://www.oxxoshop.com/)\n * [ParizanSanat.com](http://parizansanat.com/)\n * [Partners.1Gl.ru](http://partners.1gl.ru/)\n * [PatientAccess.com](https://www.patientaccess.com/)\n * [PAVIMENTI-WEB.it](https://www.pavimenti-web.it/)\n * [PaxinasGalegas.es](https://www.paxinasgalegas.es/)\n * [Permira.com](https://www.permira.com/)\n * [PisoTermico.com.br](http://pisotermico.com.br/)\n * [PlanetaKoles.ru](http://www.planetakoles.ru/)\n * [PortaleAste.com](https://www.portaleaste.com/)\n * [PortRegis.com](https://www.portregis.com/)\n * [PositiveCoach.org](https://positivecoach.org/)\n * [PostRandomonium.com](http://postrandomonium.com/)\n * [PranaCrystals.com](https://www.pranacrystals.com/)\n * [PrepSpotLight.tv](http://prepspotlight.tv/)\n * [RAKS.com.tr](https://www.raks.com.tr/)\n * [Randommer.io](https://randommer.io/) by Anghel Valentin\n * [raovat49.com](https://raovat49.com/)\n * [RattiAuto.it](http://rattiauto.it/)\n * [RecelInteractive.com](https://www.recelinteractive.com/)\n * [RefrigerationDiscount.co.uk](https://www.refrigerationdiscount.co.uk/)\n * [research.ox.ac.uk](https://www.research.ox.ac.uk/)\n * [RevelDigital.com](https://www.reveldigital.com/)\n * [RewardPay.com](https://www.rewardpay.com/)\n * [RosKvartal.ru](https://roskvartal.ru/)\n * [RystadEnergy.com](https://www.rystadenergy.com/)\n * [Sazas.nl](https://www.sazas.nl/)\n * [ScholenOpDeKaart.nl](https://scholenopdekaart.nl/)\n * [Seek4Cars.net](https://seek4cars.net/)\n * [Shooger.com](https://shooger.com/)\n * [SkillGamesBoard.com](http://skillgamesboard.com/)\n * [SleepersInSeattle.com](http://www.sleepersinseattle.com/)\n * [Songtradr.com](https://www.songtradr.com/)\n * [SpazioAste.it](https://www.spazioaste.it/)\n * [Sports.NDTV.com](https://sports.ndtv.com/)\n * [Sublet.com](https://www.sublet.com/)\n * [Sway.Office.com](https://sway.office.com/)\n * [SwedishMatch.com](http://www.swedishmatch.com/)\n * [Synaeda.nl](http://www.synaeda.nl/)\n * [SynapseNet.ru](https://synapsenet.ru/)\n * [Together.bg](http://together.bg)\n * [Toy.co.uk](https://www.toy.co.uk/)\n * [TrailerRentals.com.au](https://www.trailerrentals.com.au/)\n * [Tritac.com](https://www.tritac.com/nl/)\n * [UK.tonzo.com](https://uk.tonzo.com/) by Yasin Kultur\n * [USdirectory.com](https://usdirectory.com/)\n * [vbr.ru](https://www.vbr.ru/)\n * [VegaITSourcing.rs](https://www.vegaitsourcing.rs/)\n * [Vesteda.com](https://www.vesteda.com/)\n * [VGSupply.com](https://www.vgsupply.com/)\n * [VolareSystems.com](https://volaresystems.com/)\n * [WhoCalled.co.uk](https://whocalled.co.uk/)\n * [XemLichAm.com](http://xemlicham.com/)\n * [YeniSafak.com](https://www.yenisafak.com/)\n * [Youvia.nl](https://www.youvia.nl/)\n * [Zemana.com](https://www.zemana.com)\n * [ZkontrolujsiAuto.cz](https://www.zkontrolujsiauto.cz/)\n * [Zolv.com](https://www.zolv.com/)","funding_links":[],"categories":["Frameworks, Libraries and Tools","xml","Minification","框架, 库和工具","缩率","C# #","Audio"],"sub_categories":["Bundling and Minification","css, js帮助工具","GUI - other"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTaritsyn%2FWebMarkupMin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTaritsyn%2FWebMarkupMin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTaritsyn%2FWebMarkupMin/lists"}