Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

{CodeZipper}

Clean ZIP from any code folder — in seconds.

Select a folder. Respect .gitignore. Download a clean ZIP. No upload. No server. 100% browser-side.

Live Demo License: MIT Made by Bros AI


Code Zipper Preview



Try it now →


🤔 The Problem

You need to share your code — send it to a colleague, upload it to a platform, or archive a project. But your project folder is full of junk: node_modules/, .git/, __pycache__/, dist/, .env files, IDE configs…

Manually cleaning things up takes time. Forgetting one folder means a 500MB ZIP instead of 2MB.

✅ The Solution

Code Zipper reads your .gitignore automatically and strips everything you don't need. One click, one clean ZIP.

No install. No CLI. No signup. Just open the page and go.


✨ Features

Feature Description
🔒 100% Private Everything runs in your browser. Your files never leave your machine. Zero data sent to any server.
🧹 Smart Filtering Automatically reads .gitignore (including nested ones) and skips node_modules, .git, __pycache__, IDE folders, and more.
Instant Compression DEFLATE compression via JSZip. Handles thousands of files in seconds.
⚙️ Custom Ignore Patterns Add extra patterns on top of .gitignore — skip dist/, *.log, .env, or anything else.
📊 Real-time Log See exactly what's included and what's skipped as it happens. Full transparency.
📱 Works Everywhere Responsive design. Works on desktop (Chrome, Edge) with the File System Access API.
🔗 Share in One Click Built-in sharing to X/Twitter, LinkedIn, Reddit, Hacker News, and email.
🌐 Open Source MIT licensed. Fork it, improve it, make it yours.

🚀 Try It

  1. Click "Select a folder"
  2. Pick your project directory
  3. Watch it scan, filter, and compress
  4. Download your clean .zip

That's it. No steps 5-10.


🎯 Perfect For

  • Sharing code with teammates without sending 500MB of node_modules
  • Uploading projects to platforms that accept ZIP files
  • Archiving repos cleanly before switching machines
  • Submitting homework/assignments without IDE clutter
  • Creating backups of just the code that matters
  • Sending code to AI tools (like Claude) without hitting file size limits

🛡️ Privacy First

Code Zipper is a static HTML page. There is no backend. No analytics. No tracking. No cookies.

Your files are read by your browser using the File System Access API, compressed with JSZip, and the ZIP is generated entirely in memory.

Nothing is ever uploaded. Nothing is ever stored.


🧠 How It Works

Your Folder
├── .git/              ← skipped (always)
├── node_modules/      ← skipped (always)
├── .gitignore         ← read & parsed automatically
├── src/
│   ├── index.js       ✅ included
│   └── utils.js       ✅ included
├── dist/              ← skipped (in .gitignore)
├── .env               ← skipped (in .gitignore)
├── package.json       ✅ included
└── README.md          ✅ included

→ Clean ZIP: my-project.zip (only the good stuff)

Default ignores (always skipped, no config needed): .git, node_modules, .DS_Store, Thumbs.db, __pycache__, .idea, .vscode, *.pyc, .env.local, .next, .nuxt, .cache, .parcel-cache, .turbo, dist, build


🖥️ Browser Support

Code Zipper uses the File System Access API, which is available in:

Browser Supported
Chrome 86+
Edge 86+
Opera 72+
Firefox ❌ (API not supported)
Safari ❌ (API not supported)

A warning is displayed automatically if your browser isn't supported.


🏗️ Self-Host / Contribute

Code Zipper is a single HTML file with zero dependencies (JSZip is loaded from CDN). To run it locally:

git clone https://github.com/Bros-AI/Code-Zipper.git
cd Code-Zipper
open index.html

No build step. No npm install. No config. Just open the file.

Contributing

  1. Fork this repo
  2. Make your changes
  3. Open a Pull Request

All contributions are welcome — bug fixes, features, design improvements, translations.


📣 Share Code Zipper

If you find it useful, spread the word:

Share on X Share on LinkedIn Share on Reddit Share on Hacker News


🔗 More from Bros AI

Tool Description Link
Image Resizer Pro Batch resize, compress & convert images Try it →
Code Zipper Clean ZIP from any code folder Try it →

Explore all our tools at bros.ai


📄 License

MIT — do whatever you want with it.


Made with ❤️ by Bros AI

GitHub · X / Twitter · LinkedIn

Releases

Packages

Contributors

Languages