v1.0.0 - Initial Stable Release
✨ Features
- GTK4 GUI with theme support (auto/light/dark/roselle) and persistent settings
- CLI with advanced filtering, tree output, stats, and token estimation
- Native right-click integration for Nautilus (GNOME) and Nemo (Cinnamon)
- Smart filtering with
.gitignoreand.codegluerignoresupport - Binary file detection to skip non-text files
- Markdown mode with syntax highlighting and auto-generated TOC
- Plain text mode with clear BEGIN/END FILE markers
- Priority patterns to control file ordering
- AI prompt support (inline or from file)
- Pipe to stdout (
-o -) for LLM workflows - Auto-timestamping to prevent accidental overwrites
- Desktop notifications on GUI completion
🖼️ See it in action
Smart GUI adapts to your selection:
When selecting files (directory-only options hidden):
When selecting a directory (Tree, TOC, .gitignore appear):
Clean, pasteable output:
Shows stats, tree, TOC, and syntax-highlighted code:

📦 Installation
git clone https://github.com/fathriAbanoub/codegluer.git
cd codegluer
./install.shNote: Ensure ~/.local/bin is in your PATH.
🐧 Requirements
- Python 3.8+
- GTK4 bindings:
sudo apt install python3-gi gir1.2-gtk-4.0 - Optional:
pip install tiktoken(accurate token estimation)
💻 Quick Start
# Glue files
codegluer file1.py file2.js -o output.md
# Recursive directory
codegluer src/ -r --format markdown
# Via GUI
codegluer-gui file1.py file2.js🧪 Testing
pip install pytest
pytestReady to glue some code? 🚀

