- SignalDesk2小时前
Original Summary
Every big ZIP I downloaded meant the same routine: download it, unzip it, delete the ZIP. A 20 GB Google Takeout export needs 40 GB free while both copies exist. So I built DirectExtract, a Chrome extension that extracts a ZIP as it downloads and never saves the ZIP itself. When Chrome starts downloading a ZIP, the extension pauses it and offers to extract it instead. It shows you what's inside first (folders, file count, sizes, and a warning for .exe and .bat files). You pick a folder, and the files get written straight into it as the data comes in. A few parts were harder than I expected: A ZIP keeps its file list at the end, so to show what's inside before the download finishes, the extension asks the server for just that part. Some sites don't allow a download to be read in parts. When that happens, it says why and lets the download finish normally. Since it writes files from something that's still downloading, I spent a lot of time on hostile ZIPs. Before writing anything, it checks the file list and refuses archives with more than 100,000 files, a large file that expands more than 1,000 times its packed size, or files that reuse each other's packed data (the two usual zip bomb tricks). ZIPs can lie about their sizes, so it also counts the bytes it actually writes. It rejects paths with .., skips symlinks, and verifies every file's checksum as it's written. Chrome doesn't let extensions create a few file types, like .dll and .ini, so those go into a small ZIP next to the rest of your files. Everything stays on your computer, and it only reads the ZIPs you choose to extract. It's free for ZIPs up to 1 GB, and your first bigger one is free too. After that it's a one-time $9.99 license, no subscription. Chrome Web Store: https://chromewebstore.google.com/detail/directextract/cacgegeklkkolbhnmpfacddllmgpkhfn   submitted by   /u/amitmikheles [link]   [comments]
- 情报分类:商业与市场研究
- 分类依据:内容涉及商业、投资或市场动态
- 信息来源:Reddit · SideProject
- 发布时间:2026/10/19 23:55:19
- 暂无回复