Skip to content

Commit 2be07a1

Browse files
committedMar 13, 2025
ADD README.md, app.manifest->UAC permission in windows
1 parent 110838f commit 2be07a1

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed
 

‎README.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# WindowsTempCleanify
2+
3+
**WindowsTempCleanify** is a command-line tool and script written in Go that automates the cleanup of temporary files on Windows. It cleans your user TEMP directory, Windows system temporary directory, and Prefetch directory.
4+
5+
---
6+
![cleanify.png](assets/cleanify.png)
7+
---
8+
9+
10+
## Features
11+
12+
- **Automated Cleanup:**
13+
Removes files from:
14+
- The user's TEMP `%temp%` directory
15+
- `C:\Windows\Temp`
16+
- `C:\Windows\Prefetch`
17+
18+
- **Interactive TUI:**
19+
Uses Bubble Tea to display:
20+
- A colorful banner
21+
- A progress spinner
22+
- Detailed logs for each deletion operation
23+
24+
- **Detailed Metrics:**
25+
Provides per-directory and overall summaries:
26+
- Total files processed
27+
- Number of successful deletions
28+
- Number of failures
29+
30+
- **Exit Prompt:**
31+
After cleanup, the TUI displays a prompt ("Press any key to exit...") and waits for your input before quitting.
32+
33+
<!-- download the script -->
34+
35+
36+
## Prerequisites
37+
38+
- **Go 1.18+**[Download Go](https://golang.org/dl/)
39+
- **Windows OS** – Designed to work on Windows (requires admin privileges for system directories)
40+
- **Terminal with ANSI Color Support** – For the best experience, use Windows Terminal or PowerShell.
41+
42+
## Installation
43+
44+
1. **Clone the Repository:**
45+
46+
```bash
47+
git clone https://github.com/yourusername/WindowsTempCleanify.git
48+
cd WindowsTempCleanify
49+
50+
## Build application
51+
```go build -o name.exe```
52+
53+
54+
### Find the build
55+
<a href="cleanify.exe" download="cleanify.exe">cleanify.exe</a>

‎app.manifest

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="WindowsTempCleanify.app"/>
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
5+
<security>
6+
<requestedPrivileges>
7+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>
8+
</requestedPrivileges>
9+
</security>
10+
</trustInfo>
11+
</assembly>

‎assets/cleanify.png

78.8 KB
Loading

‎cleanify.exe

4.66 MB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.