Skip to content

SegaraRai/bakezip

Repository files navigation

BakeZip

Open Web App

BakeZip is a modern tool designed to fix mojibake (garbled filenames) in ZIP archives. It runs entirely in your browser using WebAssembly, ensuring your files never leave your device.

Common issues like ZIP files created on Windows (using legacy encodings like Shift_JIS or CP437) displaying incorrectly on macOS or Linux (which expect UTF-8) are solved instantly. BakeZip detects the correct encoding and rebuilds the archive with proper UTF-8 flags for maximum compatibility.

Features

  • Fix Garbled Filenames: Automatically detects and corrects character encodings (Shift_JIS, GBK, EUC-KR, etc.).
  • 100% Private: Powered by Rust and WebAssembly, all processing happens locally in your browser. No file uploads.
  • Compatibility Analysis: Inspects archives to identify potential cross-platform issues.
  • Standard Compliant: Rebuilds ZIPs with converted filenames and proper UTF-8 flags.

Development

BakeZip is built with a Rust core compiled to WebAssembly, wrapped in a modern web interface.

  • Core: Rust (ZIP parsing/writing, encoding detection)
  • Frontend: Astro, Svelte, TailwindCSS
  • WASM: wasm-bindgen

Scripts

  • pnpm dev: Start the web development server. Run pnpm build:wasm first to build the WASM core.
  • pnpm build: Build both the WASM core and the web application.
  • pnpm build:wasm: Build only the WASM core.
  • pnpm build:web: Build only the web application.
  • pnpm check: Run type checking and Svelte checks.
  • pnpm preview: Preview the production build locally.

License

This project is licensed under the MIT License - see the LICENSE file for details.