{"id":48996307,"url":"https://github.com/armi1014/tempcleaner","last_synced_at":"2026-04-18T17:01:27.496Z","repository":{"id":275481465,"uuid":"926204552","full_name":"Armi1014/TempCleaner","owner":"Armi1014","description":"A batch based program that deletes temporary files that are unnecessary.","archived":false,"fork":false,"pushed_at":"2026-01-29T18:41:24.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T06:55:54.487Z","etag":null,"topics":["automation","batch","batch-script","cache-cleaner","cleanup","cmd","lightweight","no-dependencies","safe-delete","system-maintenance","temp-cleaner","windows","windows-utilities"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/Armi1014.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-02T19:46:23.000Z","updated_at":"2026-01-29T18:41:27.000Z","dependencies_parsed_at":"2025-02-02T23:31:16.552Z","dependency_job_id":null,"html_url":"https://github.com/Armi1014/TempCleaner","commit_stats":null,"previous_names":["armi1014/tempcleaner"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Armi1014/TempCleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armi1014%2FTempCleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armi1014%2FTempCleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armi1014%2FTempCleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armi1014%2FTempCleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armi1014","download_url":"https://codeload.github.com/Armi1014/TempCleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armi1014%2FTempCleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31976805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T16:27:12.723Z","status":"ssl_error","status_checked_at":"2026-04-18T16:27:11.140Z","response_time":103,"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":["automation","batch","batch-script","cache-cleaner","cleanup","cmd","lightweight","no-dependencies","safe-delete","system-maintenance","temp-cleaner","windows","windows-utilities"],"created_at":"2026-04-18T17:01:25.575Z","updated_at":"2026-04-18T17:01:27.491Z","avatar_url":"https://github.com/Armi1014.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🧹 TempCleaner v0.6.0 – PowerShell temp cleaner for Windows\n\n[![Pester](https://github.com/Armi1014/TempCleaner/actions/workflows/pester.yml/badge.svg)](https://github.com/Armi1014/TempCleaner/actions/workflows/pester.yml)\n\nFast, offline, telemetry-free temp/cache cleaner for Windows.  \nUnzip it, run `Run-TempCleaner.bat` (launcher for `TempCleaner.ps1`), pick a preset, done.\n\nTempCleaner is not batch-based. `Run-TempCleaner.bat` is only a launcher that finds PowerShell and forwards arguments; all cleanup logic lives in `TempCleaner.ps1`.\n\n- 🧠 **Presets**: `Basic`, `Full`, or `Custom`\n- 📦 **Cleans**: user + system temp, Windows Update cache, minidumps, optional Explorer `thumbcache*.db`\n- 🧰 **Optional targets**: DirectX shader cache, Delivery Optimization cache, and Windows Error Reporting queues/archives via the Settings menu\n- 🧾 **Per-run logs**: timestamped logs in `logs/` + estimated space freed\n- 📊 **UI**: interactive menu, progress bars, color-coded summary, desktop notification on finish\n- 🛡️ **Safety-first**: allowlisted cleanup roots only, root paths blocked, and non-admin runs automatically fall back to user-only cleanup\n- 🔐 **Safe by design**: no root paths, dry-run option in Custom mode, fully offline (optional update check only)\n\n### ⚡ Quick start\n\n1. Download and extract the ZIP.\n2. Double-click `Run-TempCleaner.bat` (it launches `TempCleaner.ps1` with PowerShell 7 if installed, otherwise Windows PowerShell).\n3. Pick **Basic / Full / Custom** and confirm cleanup. If elevation is available, system targets are included; otherwise TempCleaner still cleans user targets and clearly skips system targets.\n4. Open **Settings** from the main menu if you want to persist optional cleanup targets for future **Full** or **Custom** runs.\n\n### Terminal preview\n\n```text\n============================================================\n TempCleaner v0.6.0\n Safe temp/cache cleanup for Windows\n Session: 2026-04-18 15:51:56\n Safety: Allowlisted targets only, roots blocked\n============================================================\n\nChoose a mode:\n  1. Basic\n  2. Full\n  3. Custom\n  4. Settings\n  5. Exit\n\nRun type: Dry run (simulation only)\nPreset: Full\nTargets: User Temp Files, Edge/IE Cache, DirectX Shader Cache\nSystem targets: skipped - user-only mode\n```\n\n### Configuration\n\n- TempCleaner reads `TempCleaner.config.json` from the app folder by default.\n- Use `-ConfigPath \u003cpath\u003e` to load a different config file.\n- Precedence is: built-in defaults \u003c config file \u003c explicit CLI flags \u003c elevation handoff.\n- Update checks are disabled by default. To opt in, set `\"SkipUpdateCheck\": false` in the config file.\n- Optional cleanup targets are stored in config and are disabled by default:\n  - `IncludeDirectXShaderCache`\n  - `IncludeDeliveryOptimizationCache`\n  - `IncludeWindowsErrorReporting`\n- Log retention is configurable with `LogRetentionCount` and `LogRetentionDays`.\n\n### Automation\n\n- Interactive mode still opens by default, even if you pass CLI flags or set config values.\n- Use `-Silent` for scheduler/automation scenarios.\n- `Basic` ignores optional targets even if they are enabled in settings.\n- `Full` includes any optional targets enabled in settings.\n- `Custom` asks about optional targets one by one, defaulting to the saved settings values for that run.\n- Supported user-facing script parameters:\n  - `-Preset Basic|Full|Custom`\n  - `-WhatIf`\n  - `-DetailedLog`\n  - `-DetailedLogLimit \u003cint\u003e`\n  - `-IncludeThumbnails`\n  - `-SkipThumbnails`\n  - `-Silent`\n  - `-DisableNotifications`\n  - `-SkipUpdateCheck`\n  - `-UserOnly`\n  - `-IncludeDirectXShaderCache`\n  - `-IncludeDeliveryOptimizationCache`\n  - `-IncludeWindowsErrorReporting`\n  - `-LogRetentionCount \u003cint\u003e`\n  - `-LogRetentionDays \u003cint\u003e`\n  - `-ConfigPath \u003cpath\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmi1014%2Ftempcleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmi1014%2Ftempcleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmi1014%2Ftempcleaner/lists"}