{"id":31006579,"url":"https://github.com/aosasona/stripr","last_synced_at":"2026-02-28T07:08:07.172Z","repository":{"id":62289315,"uuid":"531528801","full_name":"aosasona/stripr","owner":"aosasona","description":"Remove those nasty comments from your code.","archived":false,"fork":false,"pushed_at":"2023-01-29T14:04:29.000Z","size":17075,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T13:39:11.462Z","etag":null,"topics":["cli","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aosasona.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-01T13:20:36.000Z","updated_at":"2023-06-26T22:05:49.000Z","dependencies_parsed_at":"2023-02-15T23:01:10.170Z","dependency_job_id":null,"html_url":"https://github.com/aosasona/stripr","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/aosasona/stripr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fstripr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fstripr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fstripr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fstripr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aosasona","download_url":"https://codeload.github.com/aosasona/stripr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fstripr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274907841,"owners_count":25371822,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","golang"],"created_at":"2025-09-13T02:14:39.672Z","updated_at":"2026-02-28T07:08:07.113Z","avatar_url":"https://github.com/aosasona.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stripr CLI\n![build \u0026 test](https://github.com/aosasona/stripr/actions/workflows/main.yml/badge.svg)\n![release](https://github.com/aosasona/stripr/actions/workflows/release.yml/badge.svg)\n\n![stripr](./assets/stripr.png)\n\nStripr can find and remove those nasty (debug) comments you left in your code, because why not?\n\n### Current Limitations\n- Only supports C-style comments\n- Only supports flat directories (no subdirectories)\n\n## Installation\n\n### Using Homebrew\nYou can install stripr using Homebrew if you're on macOS or Linux. You can install Homebrew [here](https://brew.sh/).\n\n```bash\nbrew tap aosasona/stripr\n```\nThis will add the tap to your Homebrew installation so you can install the latest version of Stripr using the following command:\n```bash\nbrew install stripr\n```\n\n\n### Manual Installation\nStripr has been written in Golang which is a compiled language, so you will need to install the Golang compiler to build the binary or you can get a pre-built binary for your machine from [this link](https://github.com/aosasona/stripr/releases) (Linux, Windows, macOS) and [extract them to your PATH](https://zwbetz.com/how-to-add-a-binary-to-your-path-on-macos-linux-windows/).\n\nIf you would like to build the binary yourself, you can do so by running the following command:\n\n```bash\nmake build-release\n```\n\nOR\n\n```bash\nmake build-auto\n```\n\nThe `build-release` will build the binary for your current OS and architecture and place it in the `release` directory and `build-auto` will do the same but place it in the build directory with a sub-folder named after your OS and architecture. By default, the `build` folder is set to ignored by git for this project but you can build for **ALL** platforms locally by running the following command:\n\n```bash\nmake build-all\n```\n\nYou could tinker with the Makefile to build for other platforms, but I have not tested it outside Unix at the moment, let me know if you have any issues.\n\n\n\n## Usage\n\n```bash\nstripr [options] [command]\n```\n\nExample:\n\n```bash\nstripr -target=./example -skip-check -show-stats strip\n```\n\n## Options\n\n- `-target=string`\n*The directory or file to read (default \".\" - current directory)*\n\n\n- `-show-stats=true|false`\n*Show the number of files and lines that will be affected*\n\n\n- `-skip-check=true|false`\n*Skip the confirmation prompt before stripping comments*\n\n## Commands\n\n- `init`\t\t\n*Create a config file in the current directory*\n\n\n- `scan`\t\n*Scan the directory for comments*\n\n\n- `strip` | `clean`\t\t\n*Remove comments from the directory (-skip-check to prevent asking for confirmation; use with caution)*\n`help`\n*Show the help message*\n\n## Contributing\nYou can contribute to this project by opening an issue or a pull request, I will try to respond as soon as possible. This was a fun little project to work on to learn Golang and I hope you find it useful at some point.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosasona%2Fstripr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faosasona%2Fstripr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosasona%2Fstripr/lists"}