Releases: OlyoshaOlyosha/Code-Export-For-AI
Releases · OlyoshaOlyosha/Code-Export-For-AI
1.2.0
Version 1.2.0
New Features
- Added a restart option after completing an export, allowing users to perform another export without restarting the application. Configuration is reloaded each time to reflect any external changes.
- Included the root directory name in the project structure view for better context when exporting.
- Introduced a separate OUTPUT_DIR configuration setting to specify where exported files are saved, independent of the filename.
- Added a clipboard safety limit with a configurable maximum character count. Users will now see a warning when the export size exceeds the limit before copying to the clipboard.
- Enhanced the terminal interface with colored console output for improved readability of success messages, warnings, errors, and prompts.
- Added the ability to show empty directories and include empty files in the export, controlled by new configuration settings.
Improvements
- Improved cross-platform clipboard support with more robust error handling and fallback logic.
- Simplified and modernized internal file handling by adopting
pathlibfor safer and more readable path operations. - Consolidated configuration usage across the application, making the logic for detecting and filtering files more straightforward.
- Stricter configuration validation now ensures required settings are present and correctly typed, eliminating silent fallbacks that could lead to unexpected behavior.
- Updated default limits: maximum file size for export increased from 1 MB to 5 MB, and the clipboard character limit increased from 10,000 to 500,000.
- Expanded the default list of ignored directories and file extensions to exclude more common build artifacts and cache files.
- Updated the README with detailed installation instructions, new configuration options, and a clear overview of all interactive features.
Bug Fixes
- Fixed an issue where the application could fail to write the output file if the specified directory did not exist. The tool now automatically creates any missing parent directories.
- Removed unused options related to output formatting and syntax highlighting to reduce confusion and streamline the configuration.
Technical Notes
- Python version requirement has been updated to 3.10 or higher.
- Added
coloramaas a dependency for cross-platform colored terminal output. - Configuration file (
config.py) is now strictly required; the application will exit with an error if it is missing or incomplete.
Full Changelog: v1.1.0...v1.2.0
1.1.0
Version 1.1.0
New Features
- Added project structure generation in tree form, making it easier to visualize and share directory layouts
- Introduced options to export both the project structure and file contents in a single operation
- Added post-export statistics showing the number of directories and files processed
Improvements
- Completely restructured the codebase into a clean, modular package layout for better maintainability and extensibility
- Significantly enhanced overall code quality with full PEP 8 compliance, comprehensive type hints, modernized imports, and improved docstrings
- Improved configuration loading with proper error handling and sensible default values
- Reorganized and simplified configuration settings for better readability and logical grouping
- Updated output file paths to save exports in a dedicated
outputs/directory for better organization
This release focuses on major code quality improvements and valuable new export-related functionality.
Version 1.0.0 — First stable release
Version 1.0.0
First stable release of Code Export For AI — a tool to export an entire code project into a single file, ready to paste into ChatGPT/Claude.
What it does:
Recursively collects files, wraps them in code blocks with paths, ignores noise, and saves to file/clipboard.
Why:
To quickly feed the full project context to AI for code review, debugging, or refactoring — no manual copying.
Run:
python code_export_for_AI.py or specify folder -d "path".