{"slug": "i-made-an-app-to-let-your-chatbot-see-your-codebase", "title": "I made an app to let your chatbot see your codebase", "summary": "A developer created Reptclip, a Python app that copies a project's structure and selected file contents to the clipboard for easy pasting into chatbot prompts. The tool supports include/exclude patterns, config files, and presets, and ignores binary and large files. It is available via pip and aims to streamline providing code context to AI coding assistants.", "body_md": "For many of us (including me), a coding agent that can read and edit files in your repository directly is out of reach. Since regular chatbots generally have generous free tiers, that is what I use regularly for coding.\n\nSometimes I want to give the chatbot some context about my existing code. What I generally do is copy and paste the relevant files, put them in code blocks, and type in the paths to those files.\n\nHowever, giving the chatbot an idea of how the overall project is structured (files and folders) is crucial for optimal outputs. Doing this manually is really hard.\n\nWhat I used to do was run the `tree`\n\ncommand and copy its output. But this includes files that are not included in version control (such as `node_modules`\n\n), which can get high in number and clutter the output. I found out that I can use the `--gitignore`\n\nflag to only include tracked files, but the overall workflow was still slow.\n\nI found some good options online (such as [RepoMix](https://repomix.com/)), but they seemed to be much more complex than what I needed or optimized for slightly different things.\n\nSo, with the help of AI, I quickly created a Python app optimized for my specific workflow. Here is how it works.\n\nThe [installation](https://github.com/effessdev/reptclip#install) is super simple. You can run the command `pip install reptclip`\n\n(or `pipx`\n\nin Ubuntu) to install and use the app.\n\nWhen you run the app from your terminal, relevant parts of your codebase, such as the project structure and the files you specify, are copied to your clipboard. You can paste it into the chat box and start typing your prompt right away.\n\nFor example, an output might look like this:\n\n```\n# Project structure\n\n```\nAGENTS.md\nREADME.md\ndocs/README.md\nsrc/main.py\nsrc/functions.py\n```\n\n# AGENTS.md\n\n```\nContents of AGENTS.md\n```\n\n# src/main.py\n\n```\nContents of main.py\n```\n\n# Prompt\n\n<- cursor will be here,\n   you can quickly start typing your prompt\n```\n\nYou can use the `-i`\n\nor `--include`\n\nand `-e`\n\nor `--exclude`\n\nflags to specify which files to include. Glob patterns (`**`\n\nand `*`\n\n) as well as relative paths are supported. Simply running the command without any arguments (`reptclip`\n\nor `rrcc`\n\n) will only copy the project structure. Even that only saves a ton of time for a lot of people. Click [here](https://github.com/effessdev/reptclip#basic-usage) for basic usage instructions.\n\nI also added an alias `rrcc`\n\nso that you can launch the app either using the full name `reptclip`\n\nor the quicker `rrcc`\n\ncommand from the terminal. `rrcc`\n\ncan be typed using only your left hand.\n\nMoreover, you can create a `reptclip-config.toml`\n\nfile (use the `config`\n\ncommand to create a default one) in the root of your repository for default include and exclude patterns for a specific project. The config file also supports presets, which you can define in the config file and select one or more of them using `-p`\n\nor `--preset`\n\nflag (see [Advanced Usage](https://github.com/effessdev/reptclip#advanced-usage) for more details). The content of files over 1MB and binary files is not pasted, and a placeholder mentioning the reason is included instead. Binary files are identified using their extensions as well as their content.\n\nThank you for reading till the end. If you found this app useful, please consider starring the repo and liking this post. I couldn't find an app that does this better, but if it does, I would love to know it. If you have any suggestions, please let me know. Pull requests are welcome, and I will be very happy to know what you think!\n\nIf you think that I am overstating such a simple project, I wouldn't blame you. I am just an 18-year-old kid (about to start college), anyway 🙂\n\nThanks for your support!", "url": "https://wpnews.pro/news/i-made-an-app-to-let-your-chatbot-see-your-codebase", "canonical_source": "https://dev.to/effessdev/i-made-an-app-to-let-your-chatbot-see-your-codebase-4ngn", "published_at": "2026-07-16 16:10:23+00:00", "updated_at": "2026-07-16 16:35:19.375205+00:00", "lang": "en", "topics": ["developer-tools", "artificial-intelligence", "large-language-models"], "entities": ["Reptclip", "RepoMix", "effessdev", "Python"], "alternates": {"html": "https://wpnews.pro/news/i-made-an-app-to-let-your-chatbot-see-your-codebase", "markdown": "https://wpnews.pro/news/i-made-an-app-to-let-your-chatbot-see-your-codebase.md", "text": "https://wpnews.pro/news/i-made-an-app-to-let-your-chatbot-see-your-codebase.txt", "jsonld": "https://wpnews.pro/news/i-made-an-app-to-let-your-chatbot-see-your-codebase.jsonld"}}