A professional, web-based tool for analyzing and modifying Debian package files (.deb), specifically designed for iOS jailbreak tweaks and packages.
- π Deep Package Analysis: Extract and view all contents of DEB files
- π Package Information: Display comprehensive metadata and dependencies
- π File Explorer: Navigate through package files with an intuitive tree view
- βοΈ File Editor: View and modify text files with syntax highlighting
- πΎ Repackage: Export modified DEB files ready for installation
- π¨ Modern UI/UX: Beautiful, responsive interface with smooth animations
- β‘ Fast Performance: Efficient parsing and file handling
- π Binary Support: Detect and handle binary files appropriately
- πͺ Full Windows Support: Works natively on Windows with XZ compression support
- π¦ Cross-Platform: Pure JavaScript implementation with native module optimization
Drag and drop your DEB files with ease
View package structure and metadata
Edit files with syntax highlighting and live preview
- Node.js - Runtime environment
- Express - Web framework
- Multer - File upload handling
- ar-async - AR archive extraction (pure JavaScript)
- tar-stream - TAR archive processing
- lzma-native - XZ decompression (with Windows prebuilt binaries)
- Archiver - DEB file repackaging
- React - UI framework
- React Dropzone - File upload interface
- React Icons - Icon library
- React Syntax Highlighter - Code highlighting
- Axios - HTTP client
We've completely rewritten the installation system for maximum reliability!
Features:
- β PowerShell-based installer with retry logic
- β Automatic error recovery
- β Better diagnostics and error messages
- β Fallback installation methods
- β Comprehensive verification
π For complete installation instructions, troubleshooting, and advanced topics, see INSTALLATION_GUIDE.md
- Node.js (v18.0.0 or higher)
- npm (comes with Node.js)
Download Node.js from: https://nodejs.org/
Quick Start (Recommended):
-
Clone or download this repository
git clone <repository-url> cd jailbreak
-
Run the installer (double-click or run from command prompt)
install.bat
This will automatically:
- Test npm connectivity
- Install all dependencies with retry logic
- Verify all packages are installed correctly
- Provide detailed error messages if anything fails
Alternative Methods:
If the PowerShell installer has issues, try:
# Batch-only fallback installer
install-batch-fallback.bat
# Or fix broken dependencies
fix-dependencies.batNote: Modern DEB files use XZ compression. The installer will set up lzma-native with prebuilt binaries for Windows.
| Script | Purpose | When to Use |
|---|---|---|
QUICK_START.bat |
Install + Launch | First time setup |
install.bat |
Install dependencies (PowerShell) | Manual installation (recommended) |
install-batch-fallback.bat |
Install dependencies (Batch only) | If PowerShell fails |
start.bat |
Launch application | Normal usage |
stop.bat |
Stop all services | Shutdown |
diagnose.bat |
System diagnostic | Check system status |
fix-dependencies.bat |
Fix broken dependencies | Installation problems |
π For detailed information about each script, see WINDOWS_SCRIPTS_GUIDE.md
- Install dependencies
npm run install-all
Method 1: Quick Start (Recommended for first-time users)
QUICK_START.batDouble-click QUICK_START.bat - it will install dependencies and launch everything automatically!
Method 2: Manual Launch
start.batDouble-click start.bat to launch the application (requires dependencies to be installed first)
Method 3: Stop Application
stop.batDouble-click stop.bat to stop all running services
Features:
- β
No need for
concurrentlypackage - β Launches backend and frontend in separate color-coded windows
- β Automatic browser opening
- β Auto-installation if dependencies are missing
- β Visual progress indicators
- β Easy troubleshooting
npm startOnce started, the application will be available at:
- Frontend: http://localhost:3000
- Backend API: http://localhost:5000
Your default browser will automatically open to the frontend.
- Drag and drop a
.debfile onto the upload area - Or click to browse and select a file
- Wait for the file to be processed
Example file: com.bandarhl.bhtwitter_4.4-1+debug_iphoneos-arm64.deb
- View package metadata (name, version, author, etc.)
- Check dependencies
- See installed size and architecture
- Use the file explorer to browse the package contents
- Click on folders to expand/collapse
- Click on files to view their contents
- Select a file from the explorer
- Click the "Edit" button
- Make your changes
- Click "Save" to apply changes
- After making changes, click "Download Modified DEB"
- Your browser will download the repackaged DEB file
- The file is ready for installation
POST /api/upload
Content-Type: multipart/form-data
GET /api/file/:fileId
GET /api/file/:fileId/content/:filePath
POST /api/file/:fileId/content/:filePath
Content-Type: text/plain
POST /api/file/:fileId/repackage
GET /api/files
DELETE /api/file/:fileId
jailbreak/
βββ client/ # React frontend
β βββ public/
β β βββ index.html
β βββ src/
β β βββ components/ # React components
β β β βββ Header.js
β β β βββ FileUpload.js
β β β βββ PackageInfo.js
β β β βββ FileExplorer.js
β β β βββ FileEditor.js
β β βββ App.js # Main app component
β β βββ App.css
β β βββ index.js
β β βββ index.css
β βββ package.json
βββ server/ # Node.js backend
β βββ index.js # Express server
β βββ debParser.js # DEB parsing logic
β βββ uploads/ # Uploaded files (generated)
β βββ extracted/ # Extracted contents (generated)
β βββ package.json
βββ install.bat # Windows installer
βββ start.bat # Windows launcher
βββ package.json # Root package file
βββ README.md
Edit server/index.js:
const PORT = process.env.PORT || 5000; // Change 5000 to your portEdit client/package.json:
"proxy": "http://localhost:5000" // Update to match server portAll component styles are in their respective .css files in client/src/components/
Main app styles: client/src/App.css
π¨ HAVING PROBLEMS? β See TROUBLESHOOTING.md for complete troubleshooting guide
This is the most common issue! It means dependencies weren't installed correctly.
Quick Fix (Windows):
fix-dependencies.batThis will clean everything and reinstall all dependencies fresh.
Manual Fix:
- Delete
node_modules,server\node_modules, andclient\node_modulesfolders - Run
install.bat
Run diagnostic to see what's wrong:
diagnose.batπ See WINDOWS_INSTALL.md for comprehensive Windows troubleshooting guide
Common Windows issues:
- Missing dependencies (Express, React, etc.) β Run
fix-dependencies.bat - Build tools missing (lzma-native installation) β Usually optional, app will still work
- XZ decompression errors β Install with
npm install --global windows-build-tools - Permission issues β Run scripts as Administrator
- Port conflicts β Run
stop.batto kill existing processes
If you see "Port 3000 or 5000 is already in use":
stop.batOr manually kill processes:
netstat -ano | findstr :5000
taskkill /PID <PID> /FFirst try the fix script (Windows):
fix-dependencies.batManual approach:
npm cache clean --force
npm installFor Windows users having trouble with native modules:
npm install --build-from-source=falseMake sure:
- File is a valid .deb file
- File is not corrupted
- File has proper permissions
- XZ compression is supported (requires lzma-native)
Supported compression formats:
- β Gzip (.tar.gz)
- β XZ (.tar.xz) - Requires lzma-native
- β Uncompressed (.tar)
- This tool is designed for educational and development purposes
- Always verify package contents before installation
- Be cautious when installing modified packages on production devices
- Keep backups of original DEB files
MIT License - feel free to use this project for any purpose
Contributions are welcome! Please feel free to submit a Pull Request.
For issues and questions, please open an issue on GitHub.
- Built with love for the jailbreak community
- Inspired by the need for better DEB package management tools
- Thanks to all open-source contributors whose libraries made this possible
Made with β€οΈ for iOS Jailbreak Developers
π Happy Hacking!
Contributions are welcome. Read CONTRIBUTING.md and use the issue templates. Good first contributions include sanitized DEB fixtures, path-traversal tests, accessibility improvements, and cross-platform diagnostics.
Report vulnerabilities privately as described in SECURITY.md.
Released under the MIT License.