Spaces:
Sleeping
Sleeping
updated readme
Browse files9 unmodified lines101112131415163 unmodified lines2021222324252627282930315 unmodified lines373839334041424344384546474822 unmodified lines71727367747576779 unmodified lineslicense: mit---
# CintraAI Code Chunker
Cintra's Code Chunker is a novel open-source tool designed to enhance code readability and maintainability by intelligently chunking code files based on key points of interest. This tool leverages advanced parsing techniques to identify significant elements in your code, such as functions, classes, and comments, to organize your codebase into manageable, easily understandable chunks. It's an invaluable resource for applications such as RAG, code patching, and other use cases.3 unmodified lines- **Intelligent Chunking:** Break down your code files into chunks around key points of interest like function definitions, class declarations, and crucial comments.- **Customizable Token Limits:** Control the size of each chunk with customizable token limits, ensuring that chunks remain manageable and focused.- **Support for Multiple Languages:** Initially supporting Python, JavaScript, and CSS, with plans to expand to more programming languages.
## Try Out Code Chunker!
Interested in seeing how it works? Check out our interactive demo on **Hugging Face Spaces**.
[**Click here to try it out!**](https://huggingface.co/spaces/CintraAI/code-chunker) ## Getting Started
5 unmodified lines
1. Clone the repository:```shgit clone https://github.com/yourgithubusername/code-chunker-parser.gitgit clone https://github.com/yourgithubusername/code-chunker.git```
2. Navigate to the project directory```shpip install -r requirements.txtcd code-chunker```4. Install the required dependencies```sh22 unmodified linesWe welcome contributions from the community, whether it's through reporting bugs, submitting feature requests, or sending pull requests. Please check the CONTRIBUTING.md file for more details on how to contribute to the project.
## LicenseThis project is licensed under the Apache 2.0 license. See the License file for detailsThis project is licensed under the MIT license. See the License file for details
## Acknowledgments- This project utilizes the tree-sitter project for parsing code.README.md+10-3