CodeExportForAI is a simple tool designed to help you export any project folder or repository into a single, neatly formatted file. This file is ideal for quick AI-assisted code review, debugging, and refactoring. It collects source files recursively, wraps them in fenced code blocks with relative paths, and filters out unnecessary noise, such as node_modules and .git directories. The tool also shows basic project statistics and allows you to copy content to your clipboard easily.
To run CodeExportForAI, make sure your system meets the following requirements:
- Operating System: Windows, macOS, or Linux
- Python Version: Python 3.6 or later should be installed on your system.
- Disk Space: At least 50 MB free space for temporary files.
To download CodeExportForAI, please visit the Releases page.
- Click on the "Releases" link.
- Choose the version you need.
- Click on the download link for your operating system.
After downloading, follow these steps to set up CodeExportForAI:
-
Windows:
- Navigate to your "Downloads" folder.
- Double-click the downloaded installer file.
- Follow the on-screen instructions to complete the installation.
-
macOS:
- Open the "Downloads" folder.
- Drag the CodeExportForAI app into your Applications folder.
-
Linux:
- Open a terminal window.
- Navigate to the directory where you downloaded the file.
- Run the command
chmod +x CodeExportForAI
. - Execute the application with
./CodeExportForAI
.
Once installed, you can run CodeExportForAI:
-
Windows and macOS:
- Find the CodeExportForAI application in your Applications or Start menu and click to open it.
-
Linux:
- Run it from the terminal by navigating to its directory and executing
./CodeExportForAI
.
- Run it from the terminal by navigating to its directory and executing
After launching CodeExportForAI, follow these steps to export your project:
-
Select the project folder you wish to export.
-
Choose your export options:
- Specify whether to include files in certain directories.
- Decide if you want to copy the output to your clipboard.
-
Click the "Export" button.
-
Once completed, locate your export file in the specified output directory.
- Recursive Folder Collection: CodeExportForAI scans the entire folder structure, including subfolders.
- Formatted Output: The output file features fenced code blocks and relative paths for easy readability.
- Noise Filtering: This tool automatically excludes irrelevant files like node_modules and .git.
- Project Statistics: Get basic stats about your project, including the number of files and lines of code.
- Clipboard Copy: Quickly copy the formatted code directly to your clipboard.
- Make sure you have sufficient permissions to access the folders and files you wish to export.
- If you encounter any issues during download or installation, please check the FAQs in the documentation section of the repository.
For any questions or feedback, feel free to check out our GitHub Issues page. We welcome contributions and ideas to improve CodeExportForAI.
Explore more about how CodeExportForAI can help streamline your coding tasks. Visit the Documentation for in-depth guides and tips.