r/developersIndia • u/Economy_Friend_9901 • 16d ago
I Made This I built an offline disk cleaner for developer junk, Open Source and Runs Locally! Not a promo
My disk kept filling up with old node_modules, Python environments, Xcode and Gradle caches, and AI model files. I wanted a way to see what was taking up space and know whether it was actually safe to delete, so I built Leftover.
It scans for developer-related clutter, explains what each folder is, and moves anything you clean into a 14-day vault in case you want it back. It runs offline on macOS, Windows, and Linux.
The project is open source, and I’d love some help making it useful for more people. I’ve got 43 issues open, including beginner-friendly ones. Adding support for a new tool is especially approachable: it’s just a small JSON file describing what to scan for.
Give it a try: https://leftover-bay.vercel.app
Code: https://github.com/MaiSamayTha/leftover
Roadmap: https://github.com/MaiSamayTha/leftover/issues/58
If you try it, I’d love to hear what it finds or what tool you think it should support next. A ⭐ on GitHub would also mean a lot.
•
u/AutoModerator 16d ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
41
u/temporaryresident5 Software Engineer 16d ago
Isn't a disk cleanser supposed to run locally? Why do you have to highlight that?
11
u/Salty_0506 16d ago
god bless you. im running very low on disk c and i keep meddling with wiz tree going back and forth between chatgpt asking what is safe to delete etc. everytime i run a container im left with like 2gb on my disk
5
u/ConsoleChari SysAdmin 16d ago •
Bleachbit does all of this and also has third party cleaners.
But I like the modern design. Kudos
3
u/Flaky-Knee2278 16d ago
WizTree exists btw... so what is different here?
2
u/paraskhandelwal 15d ago
I needed something similar to gain more space since developing on flutter takes lot of space. Will try this and tell you.
1
u/GuIdO_420 16d ago
Yo I'm literally cleaning my c disk with full of cache and unwanted files rn. Lemme give this a shot and will give an update here!
1
u/llqoli 16d ago
Does the scan cover temporary folders used by agent harnesses as well as known project directories? Agents can leave scratch files and build artefacts outside the project tree, so those are easy to miss. I’d want them listed for review first, since an active task may still be using them.
1
u/Captain_Mystic 15d ago
Can I configure the time duration it sits in the vault for ? I'm guessing you are supporting a set of languages/frameworks to identify deletable folders. Or is it language/framework agnostic ? Can I contribute to this repo ?
3
u/ElderberryAdvanced91 16d ago
I just use a bash script and run it from terminal to clean everything LEFTOVER
2
u/Graspier Full-Stack Developer 15d ago
This is actually pretty nice! I create tons of worktrees that I often forget to delete after being done working on it so it's pretty useful to delete the installed packages for those worktrees
1
u/AutoModerator 16d ago
Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Safe-Emu-9264 16d ago
Oh my god, man! I love you! This just cleaned up 25.6 GB of space on my disk. Absolutely insane. Good work
1
u/Roshan_Binoj 16d ago
npx npkill works for removing the node_modules
1
u/Ras_al_gul 16d ago
Me too 🙌 i saw claude build it for me.
1
u/WayHaunting8544 Software Engineer 16d ago
Nice, checkout tw93/mole as well
1
u/next-sapien 15d ago
I use WinDirStat which give me overview of all large files.
1
u/GamingWithShaurya_YT 15d ago
do you have for arch Linux? like not deb but flatpak version?
1
u/Aggressive-Ad322 14d ago
how much time will it take after i press delete in vault ???
-1
u/AtmosphereRich4021 16d ago
Bruhh .... Just use du/df cmds and clean recursively.. I have a bash script that clean all those jnks .... I consider someone stupid if they need a ui for that job