{"id":23910588,"url":"https://github.com/suiram1701/binariescleaner","last_synced_at":"2026-05-13T12:49:32.697Z","repository":{"id":270260521,"uuid":"909787005","full_name":"Suiram1701/BinariesCleaner","owner":"Suiram1701","description":"A simple tool to cleanup .NET binaries from your repo directory.","archived":false,"fork":false,"pushed_at":"2025-05-09T20:54:21.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T04:13:06.425Z","etag":null,"topics":["binaries","cleaner","dotnet","npm-packages","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Suiram1701.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-29T19:14:22.000Z","updated_at":"2025-05-09T20:52:56.000Z","dependencies_parsed_at":"2025-05-08T06:30:49.713Z","dependency_job_id":null,"html_url":"https://github.com/Suiram1701/BinariesCleaner","commit_stats":null,"previous_names":["suiram1701/binariescleaner"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Suiram1701/BinariesCleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suiram1701%2FBinariesCleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suiram1701%2FBinariesCleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suiram1701%2FBinariesCleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suiram1701%2FBinariesCleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suiram1701","download_url":"https://codeload.github.com/Suiram1701/BinariesCleaner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suiram1701%2FBinariesCleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32983700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T11:31:52.688Z","status":"ssl_error","status_checked_at":"2026-05-13T11:31:52.072Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["binaries","cleaner","dotnet","npm-packages","visual-studio"],"created_at":"2025-01-05T07:17:58.108Z","updated_at":"2026-05-13T12:49:32.663Z","avatar_url":"https://github.com/Suiram1701.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BinariesCleaner\nThis is a simple tool to cleanup binaries generated on .NET builds. It searches recursivly for ``.csproj`` files and deletes the folder ``obj`` and ``bin`` that are in the same directory. Those removed folders contains files generated on each build. \nThe tool also removes ``node_modules`` if ``package.json`` exists. ``node_modules`` doesn't contain binaries which contradicts the name BinariesCleaner but if you're have NPM packages installed in an ASP.NET project this is also may helpful to reduce the size.\n\n## How to use it\nPlace the executable file inside the directory of you choice and run it. If you doesn't want to move the executable there you can also specify the directory where it should work with the first argument. \nOn its execution it will recursivly removes folders named ``obj`` and ``bin`` that are in the same directory with a ``.csproj`` file and removes ``node_modules`` if ``package.json`` is found. The removing starts from the working directory (specified using the first argument or the directory of the executable by default).\n\nIf you run this while you've openned a project affected by this tool in Visual Studio VS could start to act a bit weird for example global using aren't found anymore. \nYou can fix this by rebuild the project or reopen the project.\n\n## Why I've made this\nAt first it looks a bit over for such a simple task but I personally think it can be usefull if you're like me and move projects quite often around on your drive or usb drive. Especially for large project with many NuGet packages the binaries and build output can get quite large compared to the source code. If additionally your usb drive is very slow it you have to move multiple projects like this to it it can get quite annoying.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuiram1701%2Fbinariescleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuiram1701%2Fbinariescleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuiram1701%2Fbinariescleaner/lists"}