{"id":43223785,"url":"https://github.com/code-xhyun/next-cache-cleaner","last_synced_at":"2026-02-01T09:17:53.401Z","repository":{"id":285744647,"uuid":"959189814","full_name":"code-xhyun/next-cache-cleaner","owner":"code-xhyun","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-02T12:13:32.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T13:25:05.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/code-xhyun.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-02T12:07:27.000Z","updated_at":"2025-04-02T12:13:55.000Z","dependencies_parsed_at":"2025-04-02T13:35:13.877Z","dependency_job_id":null,"html_url":"https://github.com/code-xhyun/next-cache-cleaner","commit_stats":null,"previous_names":["code-xhyun/next-cache-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-xhyun/next-cache-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-xhyun%2Fnext-cache-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-xhyun%2Fnext-cache-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-xhyun%2Fnext-cache-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-xhyun%2Fnext-cache-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-xhyun","download_url":"https://codeload.github.com/code-xhyun/next-cache-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-xhyun%2Fnext-cache-cleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28974590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-02-01T09:17:52.933Z","updated_at":"2026-02-01T09:17:53.396Z","avatar_url":"https://github.com/code-xhyun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-cache-cleaner\n\nA CLI tool that automatically cleans up `.next` cache folders in Next.js projects.\n\n## Key Features\n\n- Automatic detection of old `.next` cache folders across your system\n- Identifies cache folders based on last modification date (default: 14 days)\n- Validates genuine Next.js projects (package.json verification)\n- Supports Dry Run mode\n- Detailed logging functionality\n\n## Installation\n\n```bash\ngit clone https://github.com/code-xhyun/next-cache-cleaner.git\ncd next-cache-cleaner\n\n```\n\n## Usage\n\nBasic usage:\n```bash\nnode next-cleaner.js\n```\n\nSpecify target paths:\n```bash\nnode next-cleaner.js --path /path/to/projects\n```\n\nDry Run mode (preview without actual deletion):\n```bash\nnode next-cleaner.js --dry-run\n```\n\n## Options\n\n- `--path`, `-p`: Specify search paths (multiple paths allowed)\n- `--dry-run`: Run in preview mode without actual deletion\n- `--help`, `-h`: Display help information\n\n## Configuration\n\nYou can modify the following settings in the CONFIG object within `next-cleaner.js`:\n\n- `MIN_DAYS`: Minimum age of cache folders to delete (default: 14 days)\n- `LOG_FILE`: Log file name\n- `EXCLUDED_DIRS`: List of directories to exclude from search\n\n## Precautions\n\n- Always review the list of folders to be deleted before execution\n- For critical projects, it's recommended to test first using the `--dry-run` option\n- Non-Next.js projects (those without package.json) are automatically skipped\n\n## Logging\n\nAll operations are recorded in the `next-cleaner.log` file.\n\n## License\n\nMIT\n\n## Contributing\n\nIssues and PRs are always welcome. Before contributing, please:\n\n1. Create an issue first\n2. Write test code\n3. Update documentation\n\n## Author\n\n[code-xhyun](https://github.com/code-xhyun)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-xhyun%2Fnext-cache-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-xhyun%2Fnext-cache-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-xhyun%2Fnext-cache-cleaner/lists"}