{"id":16829314,"url":"https://github.com/kvanttt/csharp-minifier","last_synced_at":"2025-07-06T17:37:45.078Z","repository":{"id":103577896,"uuid":"13620422","full_name":"KvanTTT/CSharp-Minifier","owner":"KvanTTT","description":"Library for C# code minification based on NRefactory. That is lib for spaces, line breaks, comments removing, reduction of identifiers name length and so on in C# code.","archived":false,"fork":false,"pushed_at":"2019-02-20T09:43:05.000Z","size":1040,"stargazers_count":41,"open_issues_count":13,"forks_count":20,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T03:33:23.054Z","etag":null,"topics":["c-sharp","minification","nrefactory"],"latest_commit_sha":null,"homepage":"","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/KvanTTT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2013-10-16T13:55:22.000Z","updated_at":"2024-09-01T04:21:04.000Z","dependencies_parsed_at":"2023-03-13T15:07:21.471Z","dependency_job_id":null,"html_url":"https://github.com/KvanTTT/CSharp-Minifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KvanTTT/CSharp-Minifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KvanTTT%2FCSharp-Minifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KvanTTT%2FCSharp-Minifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KvanTTT%2FCSharp-Minifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KvanTTT%2FCSharp-Minifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KvanTTT","download_url":"https://codeload.github.com/KvanTTT/CSharp-Minifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KvanTTT%2FCSharp-Minifier/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263943495,"owners_count":23533598,"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":["c-sharp","minification","nrefactory"],"created_at":"2024-10-13T11:32:30.203Z","updated_at":"2025-07-06T17:37:45.060Z","avatar_url":"https://github.com/KvanTTT.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"CSharp-Minifier\n===============\n\nLibrary for C# code minification based on NRefactory. That is lib for spaces, line breaks, comments removing, reduction of identifiers name length and so on in C# code.\n\nThis lib primarily developed for code minification in quines (for my [Freaky-Sources](https://github.com/KvanTTT/Freaky-Sources) project).\n\nImplemented features:\n\n* Identifiers compression (ignored names are supported too):\n  * Local vars\n  * Type members\n  * Types\n* Misc minifications:\n  * private words removing\n  * namespaces words removing\n  * vars initialization expression compressing:\n    * List\u003cbyte\u003e a = new List\u003cbyte\u003e() =\u003e var a = new List\u003cbyte\u003e()\n    * var a = new b() =\u003e b a = new b()\n  * Curly spaces with one expression inside removing ```if (a) { b; } =\u003e if (a) b;```\n  * boolean expressions optimization: ```if (a == true) =\u003e if (a); if (a == false) =\u003e if (!a)```\n  * Comments and regions removing\n* Whitespaces chars removing with maximum string length limit.\n\nTests and GUI application are included. \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvanttt%2Fcsharp-minifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvanttt%2Fcsharp-minifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvanttt%2Fcsharp-minifier/lists"}