Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toberocat/clip_tree
A tool that copies folder and file structures to your clipboard for easy pasting into your ai interface of choice.
https://github.com/toberocat/clip_tree
ai ai-tools-directory chatgpt cli clipboard directory tool utility
Last synced: 6 days ago
JSON representation
A tool that copies folder and file structures to your clipboard for easy pasting into your ai interface of choice.
- Host: GitHub
- URL: https://github.com/toberocat/clip_tree
- Owner: ToberoCat
- License: gpl-3.0
- Created: 2024-11-30T16:46:01.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-11-30T17:05:44.000Z (2 months ago)
- Last Synced: 2025-02-02T10:13:32.589Z (6 days ago)
- Topics: ai, ai-tools-directory, chatgpt, cli, clipboard, directory, tool, utility
- Language: Python
- Homepage: https://github.com/ToberoCat/clip_tree
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Clip Tree
Clip Tree is a handy tool that copies entire folder and file structures to your clipboard for easy pasting into platforms like ChatGPT.
## Features
- Recursively copy directory structures.
- Respect `.gitignore` patterns.
- Custom instructions can be added to the clipboard content.
- Configurable and easy to use.## Installation
```bash
pip install clip_tree
```## Usage
```bash
clip_tree path/to/directory -r -i "Your custom instruction"
```- `-r`, `--recursive`: Recursively process directories.
- `-i`, `--instruction`: Custom instruction to include in the clipboard content.## Example
Run this command in your terminal, for example in this project's root directory:
```bash
clip_tree -i "Please review my code." -r .
```## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request.