Easily merge multiple text/code/config files into a single, organized document. Supports individual file uploads or entire ZIP archives. Each file is merged with clear headers and separators, making it perfect for developers, writers, and anyone managing lots of text-based files.
- π Upload Options: Upload individual files or a complete ZIP archive.
- π οΈ Wide File Support:
.txt
,.py
,.java
,.json
,.html
,.css
,.yml
,.cpp
, and more. - π Automatic Encoding Detection (via
chardet
). - π Custom Separators: Insert your own separator between files.
- π Statistics Dashboard: Files merged, total characters, and line count.
- π Preview Mode: Check the merged output before saving.
- π₯ Download Ready: Save the merged file instantly.
git clone https://github.com/DMR3-code/mergemate.git
cd mergemate
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
pip install -r requirements.txt
streamlit run MergeMate.py
- Open the app in your browser (Streamlit will give you a local URL).
- Choose upload method: Individual Files or ZIP Archive.
- Select files to merge.
- Configure options: output filename and custom separator.
- Click π Merge Files.
- Preview the merged result and download the final file.
- Python 3.8+
- Streamlit β interactive UI
- chardet β encoding detection
- zipfile & tempfile β file handling