Source Infuser helps keep your AI assistant updated with the changes you perform in your software project. It generates detailed reports of your project's structure, which can be continuously infused into your AI assistant.
- Generate markdown reports of your project structure.
- Supports customizable ignore patterns similar to
.gitignore
in.psi-ignore
. - Easy integration with your existing CI/CD pipelines.
From PyPi (preferred)
pip install source-infuser
You can install the package directly from the GitHub repository:
git clone https://github.com/ivanzhovannik/source-infuser.git
cd source-infuser
pip install .
To generate a report of the current directory and write it into report.md
:
psi -o report.md
or alternatevely
source_infuser -r . -o report.md
Command-line Options:
- -r, --root: Root directory of the project (default: current directory).
- -o, --output: Output markdown file (optional).
Ignore some elements of your project:
In case you want to ignore parts of your root using .gitignore
patters, just add .psi-ignore
file to your current directory.
We welcome contributions! Please follow these steps:
- Go to source-infuser/issues.
- If there is no issue similar to the one you encountered, create a new issue.
- Describe your case in detail to help us better reproduce and understand the problem.
- If you solved the problem yourself, please go ahead and create a pull-request, tag @ivanzhovannik to review.
This package is free to use for research or commercial purposes. Any part can be reproduced; just mention the source.
Thanks to all users and contributors who made this project better!