A desktop application for preparing and optimizing code repositories for AI processing and analysis. It helps you select specific files, count tokens, and process BEAB source code for AI systems.
- Visual directory explorer for selecting code files
- Advanced file filtering with customizable patterns
- Accurate token counting for various AI models
- Code content processing with statistics
- Cross-platform support (Windows, macOS, Linux)
Download the latest version for your platform from the Releases page.
- Download the
.exe
installer - Run the installer and follow the instructions
- Launch from the Start Menu or desktop shortcut
- Download the
.dmg
file - Open the DMG and drag the application to your Applications folder
- Launch from Applications
- Download the
.AppImage
file - Make it executable:
chmod +x AI.Code.Prep-*.AppImage
- Run it:
./AI.Code.Prep-*.AppImage
The application now features both Dark and Light modes for improved user experience.
Extended file filtering options:
- Exclude specific file types and patterns (using glob patterns) to remove build folders, venv, node_modules, .git from tree view and file selection
- Automatically exclude files based on .gitignore files in your repository
- Reduce selection to only the file extensions you specify
- Display token count in real-time during selection (can be disabled for very large repositories)
- Include file tree in output (recommended for better context in AI models)
Select specific files and directories to analyze and process.
- Browse and select your root project directory
- Use the tree view to select specific files or folders
- See file counts and token sizes in real-time (when token display is enabled)
Generate the processed output ready for use with AI systems.
- View the final processed content ready for AI systems
- Copy content directly to clipboard for immediate use
- Export to file for later reference
- Review files by token count to help identify large files you may want to exclude
- Node.js (v14 or later)
- npm
- Git
# Clone the repository
git clone https://github.com/codingworkflow/ai-code-fusion
cd ai-code-fusion
# Install dependencies
make setup
# or
npm install
# Start the development server
make dev
# or
npm run dev
If you encounter issues with the development server:
- For Windows users: The
make.bat
file has special handling for thedev
command that properly sets environment variables - If you're still having issues:
- Ensure all dependencies are installed:
npm install
- Try rebuilding:
npm run rebuild
- Close any running instances of the app
- Restart your terminal/command prompt
- As a last resort, try direct electron launch:
npm run dev:direct
- Ensure all dependencies are installed:
# Build for current platform
make build
# Build for specific platforms
make build-win # Windows
make build-linux # Linux
make build-mac # macOS (Intel)
make build-mac-arm # macOS (Apple Silicon)
make build-mac-universal # macOS (Universal)
GPL 3.0