# aicodeprep-gui: The fast context maker
**Context Engineering basically.. but made effortless! prepare and share project code with any AI model, on any OS, from any editor.**
[](https://github.com/detroittommy879/aicodeprep-gui/stargazers)
[](https://badge.fury.io/py/aicodeprep-gui)
Manually copying and pasting files into AI chatbots is slow, error-prone, and kills your workflow. `aicodeprep-gui` solves this with a sleek, powerful, and blazing-fast desktop application that makes preparing code context a one-click process.
It is **platform-independent** (Windows, macOS, Linux) and **IDE-independent**. Use it alongside VS Code, Cursor, Windsurf, or any other editor. It doesn't replace your agentic workflow; it works along side it, user-curated context every time.
AI models get 'dumbed down' the more irrelevant text that gets sent with your prompt - like when you are trying to fix a bug, agents (like Cursor, Cline, etc) will send huge giant pages of text about MCP servers, how to edit files etc all of that is not related to your bug. When you use the web chat interfaces, it is clean without any tools, no MCP stuff etc and it can 100% focus on your task.
This tool allows you to go from project ---> web chat very fast. It is designed to remove that friction. All the features are to save time and save you from having to do repetitive things.

## The aicodeprep-gui Workflow
The core philosophy is simple: **You know your code best.** Instead of letting a "dumber" IDE agent guess which files are relevant, `aicodeprep-gui` puts you in control with a smart, intuitive UI.
1. **Launch Instantly**:
- **Right-click** any folder in your File Explorer, Finder, or Nautilus and select "Open with aicodeprep-gui".
- _or_ Pop open a terminal and type `aicp` and press Enter.
2. **Review Smart Selection**: The app opens instantly, having already pre-selected the most relevant files based on a `.gitignore`-style configuration.
3. **Fine-tune & Prompt**: Quickly check/uncheck files, use powerful **prompt presets** (like one for [Cline](https://github.com/stitionai/cline)), or write a custom question.
4. **Generate & Paste**: Click "GENERATE CONTEXT!". The entire code bundle and your prompt are **instantly copied to your clipboard**, ready to be pasted into ChatGPT, Gemini, Claude, Openrouter, or any other AI model.
5. **Smarter AI responses and abilities**: Whenever you rely on IDE extensions or agentic IDEs to do everything, they feed too much crap into the AI which always seems to reduce its intelligence. You end up needing to use Claude for everything even minor bugs, which gets expensive. With this tool, you can use the web chat interfaces for the hard/difficult stuff, bug fixing, planning, and then paste the result back into the agent set to use a cheap unlimited model, to make the actual file changes.
## ✨ Key Features
- 🚀 **Seamless OS Integration**: The only tool of its kind with optional, native right-click context menu integration for **Windows File Explorer**, **macOS Finder**, and **Linux Nautilus**.
- 💻 **Truly Cross-Platform**: A single, consistent experience on Windows, macOS (Intel & Apple Silicon), and major Linux distributions.
- ⌨️ **Simple & Fast Commands**: Launch from anywhere by simply typing `aicp` in your terminal. Pass a directory (`aicp ./my-project`) or run it in the current folder.
- 🧠 **Intelligent File Scanning**:
- Uses a powerful `.gitignore`-style pattern system (`aicodeprep-gui.toml`) to smartly include/exclude files.
- Blazing-fast startup thanks to **lazy-loading**, which skips huge directories like `node_modules/` or `venv/` until you need them.
- Remembers your file selections, window size, and layout on a per-project basis in a local `.aicodeprep-gui` file.
- 🎨 **Unique & Polished UI**:
- A clean, modern interface built with PySide6.
- **Automatic Light/Dark mode** detection that syncs with your OS, plus a manual toggle.
- Satisfying, custom-styled UI components, including an intuitive file tree with hover effects.
- Real-time **token counter** to help you stay within context limits.
- 🔧 **Powerful Prompt Engineering**:
- Create, save, and manage **global prompt presets** that are available across all your projects.
- Comes with useful defaults for debugging, security analysis, or generating prompts for AI agents like **Cline**.
- 🌐 **IDE & Agent Agnostic**:
- This is **not another IDE plugin**. It's a standalone utility that enhances your workflow with _any_ tool.
- Perfect for preparing context for agent-based IDEs like **Cursor** or **Windsurf**, or for direct use in web-based chatbots.
---
## Installation
The TL;DR version:
Make sure python is installed on your system, then install pipx. Just google how to do that or ask AI etc. Then open a fresh terminal/cmd window and type:
pipx install aicodeprep-gui
## Mac
```sh
# Install pipx using Homebrew
brew install pipx
# Add pipx to your PATH
pipx ensurepath
```
#### (then close/open a fresh new terminal window)
```sh
pipx install aicodeprep-gui
```
## Windows
Download python from python.org - pick one of the stable versions, 3.13.x is good.
Then try:
```sh
py -m pip install --user pipx
py -m pipx ensurepath
```
(if py doesn't work, try 'python' or 'python3')
Close that terminal window, and open a fresh new one (very important after installing pipx
```sh
pipx install aicodeprep-gui
```
It should say success or something similar or done.
Now that it is installed, you can type 'aicp' + enter in a terminal to run it or aicp path/to/folder/
also aicodeprep-gui works instead of aicp. aicp is shorter, both do the same thing (open the app window in whichever folder you typed it)
A common thing would be when you are using VS Code or Cursor, and whichever agent / agentic coder is pissing you off or acting stupid, go to the VS Code terminal and type 'aicp' to open it for the project you are working on.
## Linux (Debian/Ubuntu instructions here but should work on most distros)
#### Update package lists and upgrade existing packages
```sh
sudo apt update && sudo apt upgrade -y
```
#### Install pip for Python 3
```sh
sudo apt install python3-pip -y
```
#### Install and Configure pipx
Now, use pip to install pipx. It's best to install it in your user space to avoid needing sudo for Python packages.
```sh
pip3 install --user pipx
```
```sh
pipx ensurepath
```
#### IMPORTANT: After running pipx ensurepath, you must close and reopen your terminal for the PATH changes to take effect.
In a new terminal, type:
```sh
pipx install aicodeprep-gui
```
### File Explorer Integration (Optional, Recommended)
For the ultimate workflow, add the right-click menu item after installing:
1. Run the application (`aicp`).
2. Go to the **File** menu in the top-left corner.
3. Select **"Install Right-Click Menu..."** (or the equivalent for your OS).
4. Follow the on-screen instructions. A UAC prompt may appear on Windows, as this requires administrator rights.
---
## Usage
### The GUI Way
1. **Launch**: Right-click a project folder or type `aicp` in a terminal inside the folder.
2. **Select**: Review the automatically selected files. The app will remember your choices for the next time you open it in this folder.
3. **Prompt (Optional)**: Click a preset button or type a question in the prompt box.
4. **Generate**: Click **GENERATE CONTEXT!**.
5. **Paste**: Your context is now on your clipboard. Paste it into your AI of choice.
### The Command Line
While the GUI is the main feature, you can use these command-line options:
```bash
# Run in the current directory
aicp
# Run in a specific directory
aicodeprep-gui /path/to/your/project
# See all options
aicp --help
```
---
## Configuration
`aicodeprep-gui` is powerful out of the box, but you can customize its behavior by creating an `aicodeprep-gui.toml` file in your project's root directory. This allows you to override the default filters.
**Example `aicodeprep-gui.toml`:**
```toml
# Set a different max file size in bytes
max_file_size = 2000000
# Override the default code extensions to check
code_extensions = [".py", ".js", ".ts", ".html", ".css", ".rs"]
# Add custom exclusion patterns (uses .gitignore syntax)
exclude_patterns = [
"build/",
"dist/",
"*.log",
"temp_*",
"cache/"
]
# Add custom patterns for files that should always be checked by default
default_include_patterns = [
"README.md",
"main.py",
"docs/architecture.md"
]
```
For a full list of default settings, see the [default_config.toml](aicodeprep_gui/data/default_config.toml) in the source code.
---
## Contributing
Contributions, bug reports, and feature requests are welcome! Please feel free to open an issue or submit a pull request on GitHub. Or just email me your complaints! Happy to hear from you: tom@wuu73.org
---
## Support & Donations
If this tool saves you time and makes your life easier, consider supporting its development.
| Method | Address / Link |
| -------- | ------------------------------------------------------------------------------------------------- |
| Bitcoin | `bc1qkuwhujaxhzk7e3g4f3vekpzjad2rwlh9usagy6` |
| Litecoin | `ltc1q3z327a3ea22mlhtawmdjxmwn69n65a32fek2s4` |
| Monero | `46FzbFckBy9bbExzwAifMPBheYFb37k8ghGWSHqc6wE1BiEz6rQc2f665JmqUdtv1baRmuUEcDoJ2dpqY6Msa3uCKArszQZ` |
| CashApp | `$lightweb73` |
| Website | [https://wuu73.org/hello.html](https://wuu73.org/hello.html) |
---
## License
This software uses a Sustainable License:
- ✅ Free for personal and commercial use
- ✅ Keep and modify source code
- ✅ Use app output commercially without restrictions
- ❌ Cannot sell/redistribute this software
- ❌ Cannot offer this as a hosted service
[Full license details](SUSTAINABLE-LICENSE)
Raw data
{
"_id": null,
"home_page": null,
"name": "aicodeprep-gui",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "ai, code, preparation, llm, gui, pyside6",
"author": null,
"author_email": "Tom Brothers <tom@wuu73.org>",
"download_url": "https://files.pythonhosted.org/packages/c5/7c/2e977df025fbb37c704d697a7c0a998a56adac031294ad8b6f02cb63349a/aicodeprep_gui-1.0.6.tar.gz",
"platform": null,
"description": "# aicodeprep-gui: The fast context maker\r\n\r\n**Context Engineering basically.. but made effortless! prepare and share project code with any AI model, on any OS, from any editor.**\r\n\r\n[](https://github.com/detroittommy879/aicodeprep-gui/stargazers)\r\n[](https://badge.fury.io/py/aicodeprep-gui)\r\n\r\nManually copying and pasting files into AI chatbots is slow, error-prone, and kills your workflow. `aicodeprep-gui` solves this with a sleek, powerful, and blazing-fast desktop application that makes preparing code context a one-click process.\r\n\r\nIt is **platform-independent** (Windows, macOS, Linux) and **IDE-independent**. Use it alongside VS Code, Cursor, Windsurf, or any other editor. It doesn't replace your agentic workflow; it works along side it, user-curated context every time.\r\n\r\nAI models get 'dumbed down' the more irrelevant text that gets sent with your prompt - like when you are trying to fix a bug, agents (like Cursor, Cline, etc) will send huge giant pages of text about MCP servers, how to edit files etc all of that is not related to your bug. When you use the web chat interfaces, it is clean without any tools, no MCP stuff etc and it can 100% focus on your task.\r\n\r\nThis tool allows you to go from project ---> web chat very fast. It is designed to remove that friction. All the features are to save time and save you from having to do repetitive things.\r\n\r\n\r\n\r\n## The aicodeprep-gui Workflow\r\n\r\nThe core philosophy is simple: **You know your code best.** Instead of letting a \"dumber\" IDE agent guess which files are relevant, `aicodeprep-gui` puts you in control with a smart, intuitive UI.\r\n\r\n1. **Launch Instantly**:\r\n\r\n - **Right-click** any folder in your File Explorer, Finder, or Nautilus and select \"Open with aicodeprep-gui\".\r\n - _or_ Pop open a terminal and type `aicp` and press Enter.\r\n\r\n2. **Review Smart Selection**: The app opens instantly, having already pre-selected the most relevant files based on a `.gitignore`-style configuration.\r\n\r\n3. **Fine-tune & Prompt**: Quickly check/uncheck files, use powerful **prompt presets** (like one for [Cline](https://github.com/stitionai/cline)), or write a custom question.\r\n\r\n4. **Generate & Paste**: Click \"GENERATE CONTEXT!\". The entire code bundle and your prompt are **instantly copied to your clipboard**, ready to be pasted into ChatGPT, Gemini, Claude, Openrouter, or any other AI model.\r\n\r\n5. **Smarter AI responses and abilities**: Whenever you rely on IDE extensions or agentic IDEs to do everything, they feed too much crap into the AI which always seems to reduce its intelligence. You end up needing to use Claude for everything even minor bugs, which gets expensive. With this tool, you can use the web chat interfaces for the hard/difficult stuff, bug fixing, planning, and then paste the result back into the agent set to use a cheap unlimited model, to make the actual file changes.\r\n\r\n## \u2728 Key Features\r\n\r\n- \ud83d\ude80 **Seamless OS Integration**: The only tool of its kind with optional, native right-click context menu integration for **Windows File Explorer**, **macOS Finder**, and **Linux Nautilus**.\r\n- \ud83d\udcbb **Truly Cross-Platform**: A single, consistent experience on Windows, macOS (Intel & Apple Silicon), and major Linux distributions.\r\n- \u2328\ufe0f **Simple & Fast Commands**: Launch from anywhere by simply typing `aicp` in your terminal. Pass a directory (`aicp ./my-project`) or run it in the current folder.\r\n- \ud83e\udde0 **Intelligent File Scanning**:\r\n - Uses a powerful `.gitignore`-style pattern system (`aicodeprep-gui.toml`) to smartly include/exclude files.\r\n - Blazing-fast startup thanks to **lazy-loading**, which skips huge directories like `node_modules/` or `venv/` until you need them.\r\n - Remembers your file selections, window size, and layout on a per-project basis in a local `.aicodeprep-gui` file.\r\n- \ud83c\udfa8 **Unique & Polished UI**:\r\n - A clean, modern interface built with PySide6.\r\n - **Automatic Light/Dark mode** detection that syncs with your OS, plus a manual toggle.\r\n - Satisfying, custom-styled UI components, including an intuitive file tree with hover effects.\r\n - Real-time **token counter** to help you stay within context limits.\r\n- \ud83d\udd27 **Powerful Prompt Engineering**:\r\n - Create, save, and manage **global prompt presets** that are available across all your projects.\r\n - Comes with useful defaults for debugging, security analysis, or generating prompts for AI agents like **Cline**.\r\n- \ud83c\udf10 **IDE & Agent Agnostic**:\r\n - This is **not another IDE plugin**. It's a standalone utility that enhances your workflow with _any_ tool.\r\n - Perfect for preparing context for agent-based IDEs like **Cursor** or **Windsurf**, or for direct use in web-based chatbots.\r\n\r\n---\r\n\r\n## Installation\r\n\r\nThe TL;DR version:\r\nMake sure python is installed on your system, then install pipx. Just google how to do that or ask AI etc. Then open a fresh terminal/cmd window and type:\r\n\r\npipx install aicodeprep-gui\r\n\r\n## Mac\r\n\r\n```sh\r\n# Install pipx using Homebrew\r\nbrew install pipx\r\n\r\n# Add pipx to your PATH\r\npipx ensurepath\r\n```\r\n\r\n#### (then close/open a fresh new terminal window)\r\n\r\n```sh\r\npipx install aicodeprep-gui\r\n```\r\n\r\n## Windows\r\n\r\nDownload python from python.org - pick one of the stable versions, 3.13.x is good.\r\n\r\nThen try:\r\n\r\n```sh\r\npy -m pip install --user pipx\r\npy -m pipx ensurepath\r\n```\r\n\r\n(if py doesn't work, try 'python' or 'python3')\r\n\r\nClose that terminal window, and open a fresh new one (very important after installing pipx\r\n\r\n```sh\r\npipx install aicodeprep-gui\r\n```\r\n\r\nIt should say success or something similar or done.\r\n\r\nNow that it is installed, you can type 'aicp' + enter in a terminal to run it or aicp path/to/folder/\r\nalso aicodeprep-gui works instead of aicp. aicp is shorter, both do the same thing (open the app window in whichever folder you typed it)\r\n\r\nA common thing would be when you are using VS Code or Cursor, and whichever agent / agentic coder is pissing you off or acting stupid, go to the VS Code terminal and type 'aicp' to open it for the project you are working on.\r\n\r\n## Linux (Debian/Ubuntu instructions here but should work on most distros)\r\n\r\n#### Update package lists and upgrade existing packages\r\n\r\n```sh\r\nsudo apt update && sudo apt upgrade -y\r\n```\r\n\r\n#### Install pip for Python 3\r\n\r\n```sh\r\nsudo apt install python3-pip -y\r\n```\r\n\r\n#### Install and Configure pipx\r\n\r\nNow, use pip to install pipx. It's best to install it in your user space to avoid needing sudo for Python packages.\r\n\r\n```sh\r\npip3 install --user pipx\r\n```\r\n\r\n```sh\r\npipx ensurepath\r\n```\r\n\r\n#### IMPORTANT: After running pipx ensurepath, you must close and reopen your terminal for the PATH changes to take effect.\r\n\r\nIn a new terminal, type:\r\n\r\n```sh\r\npipx install aicodeprep-gui\r\n```\r\n\r\n### File Explorer Integration (Optional, Recommended)\r\n\r\nFor the ultimate workflow, add the right-click menu item after installing:\r\n\r\n1. Run the application (`aicp`).\r\n2. Go to the **File** menu in the top-left corner.\r\n3. Select **\"Install Right-Click Menu...\"** (or the equivalent for your OS).\r\n4. Follow the on-screen instructions. A UAC prompt may appear on Windows, as this requires administrator rights.\r\n\r\n---\r\n\r\n## Usage\r\n\r\n### The GUI Way\r\n\r\n1. **Launch**: Right-click a project folder or type `aicp` in a terminal inside the folder.\r\n2. **Select**: Review the automatically selected files. The app will remember your choices for the next time you open it in this folder.\r\n3. **Prompt (Optional)**: Click a preset button or type a question in the prompt box.\r\n4. **Generate**: Click **GENERATE CONTEXT!**.\r\n5. **Paste**: Your context is now on your clipboard. Paste it into your AI of choice.\r\n\r\n### The Command Line\r\n\r\nWhile the GUI is the main feature, you can use these command-line options:\r\n\r\n```bash\r\n# Run in the current directory\r\naicp\r\n\r\n# Run in a specific directory\r\naicodeprep-gui /path/to/your/project\r\n\r\n# See all options\r\naicp --help\r\n```\r\n\r\n---\r\n\r\n## Configuration\r\n\r\n`aicodeprep-gui` is powerful out of the box, but you can customize its behavior by creating an `aicodeprep-gui.toml` file in your project's root directory. This allows you to override the default filters.\r\n\r\n**Example `aicodeprep-gui.toml`:**\r\n\r\n```toml\r\n# Set a different max file size in bytes\r\nmax_file_size = 2000000\r\n\r\n# Override the default code extensions to check\r\ncode_extensions = [\".py\", \".js\", \".ts\", \".html\", \".css\", \".rs\"]\r\n\r\n# Add custom exclusion patterns (uses .gitignore syntax)\r\nexclude_patterns = [\r\n \"build/\",\r\n \"dist/\",\r\n \"*.log\",\r\n \"temp_*\",\r\n \"cache/\"\r\n]\r\n\r\n# Add custom patterns for files that should always be checked by default\r\ndefault_include_patterns = [\r\n \"README.md\",\r\n \"main.py\",\r\n \"docs/architecture.md\"\r\n]\r\n```\r\n\r\nFor a full list of default settings, see the [default_config.toml](aicodeprep_gui/data/default_config.toml) in the source code.\r\n\r\n---\r\n\r\n## Contributing\r\n\r\nContributions, bug reports, and feature requests are welcome! Please feel free to open an issue or submit a pull request on GitHub. Or just email me your complaints! Happy to hear from you: tom@wuu73.org\r\n\r\n---\r\n\r\n## Support & Donations\r\n\r\nIf this tool saves you time and makes your life easier, consider supporting its development.\r\n\r\n| Method | Address / Link |\r\n| -------- | ------------------------------------------------------------------------------------------------- |\r\n| Bitcoin | `bc1qkuwhujaxhzk7e3g4f3vekpzjad2rwlh9usagy6` |\r\n| Litecoin | `ltc1q3z327a3ea22mlhtawmdjxmwn69n65a32fek2s4` |\r\n| Monero | `46FzbFckBy9bbExzwAifMPBheYFb37k8ghGWSHqc6wE1BiEz6rQc2f665JmqUdtv1baRmuUEcDoJ2dpqY6Msa3uCKArszQZ` |\r\n| CashApp | `$lightweb73` |\r\n| Website | [https://wuu73.org/hello.html](https://wuu73.org/hello.html) |\r\n\r\n---\r\n\r\n## License\r\n\r\nThis software uses a Sustainable License:\r\n\r\n- \u2705 Free for personal and commercial use\r\n- \u2705 Keep and modify source code\r\n- \u2705 Use app output commercially without restrictions\r\n- \u274c Cannot sell/redistribute this software\r\n- \u274c Cannot offer this as a hosted service\r\n\r\n[Full license details](SUSTAINABLE-LICENSE)\r\n",
"bugtrack_url": null,
"license": "Copyright 2024 Tom Brothers\r\n \r\n Licensed under the Sustainable License (Apache 2.0 + Commons Clause)\r\n \r\n COMMONS CLAUSE RESTRICTION:\r\n Without limiting other conditions in the License, the grant of rights under the License\r\n will not include, and the License does not grant to you, the right to Sell the Software.\r\n \r\n \"Sell\" means practicing any or all of the rights granted to you under the License to\r\n provide to third parties, for a fee or other consideration (including without limitation\r\n fees for hosting or consulting/support services related to the Software), a product or\r\n service whose value derives, entirely or substantially, from the functionality of the\r\n Software. Any license notice or attribution required by the License must also include\r\n this Commons Cause License Condition notice.\r\n \r\n Full Apache 2.0 license terms apply for all other use cases:\r\n https://www.apache.org/licenses/LICENSE-2.0\r\n ",
"summary": "A smart GUI to select, filter, and concatenate code files for large language model (LLM) and AI analysis.",
"version": "1.0.6",
"project_urls": {
"Homepage": "https://github.com/detroittommy879/aicodeprep-gui"
},
"split_keywords": [
"ai",
" code",
" preparation",
" llm",
" gui",
" pyside6"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "64a4635b4c351ac033a48e28662459da650358a63d433f7cf9196928f9f51860",
"md5": "12fc39bdf260041032022ac19c0db930",
"sha256": "6e7f2da9707e9f30123bb90cf4c1d0a0e6ca4c24335f065872b5e094eef3f31e"
},
"downloads": -1,
"filename": "aicodeprep_gui-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12fc39bdf260041032022ac19c0db930",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7415329,
"upload_time": "2025-07-11T20:28:36",
"upload_time_iso_8601": "2025-07-11T20:28:36.224077Z",
"url": "https://files.pythonhosted.org/packages/64/a4/635b4c351ac033a48e28662459da650358a63d433f7cf9196928f9f51860/aicodeprep_gui-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c57c2e977df025fbb37c704d697a7c0a998a56adac031294ad8b6f02cb63349a",
"md5": "d1a6e09d75435d2361e0c2e721b14b68",
"sha256": "baa1ae18cf8f06c27d3c0654945ffb7542537f13761e09ce540e322376e5b59f"
},
"downloads": -1,
"filename": "aicodeprep_gui-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "d1a6e09d75435d2361e0c2e721b14b68",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5847471,
"upload_time": "2025-07-11T20:28:42",
"upload_time_iso_8601": "2025-07-11T20:28:42.229378Z",
"url": "https://files.pythonhosted.org/packages/c5/7c/2e977df025fbb37c704d697a7c0a998a56adac031294ad8b6f02cb63349a/aicodeprep_gui-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-11 20:28:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "detroittommy879",
"github_project": "aicodeprep-gui",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "aicodeprep-gui"
}