{"repo":"YuriNasci/ProjectToContext","free":true,"listed":false,"github":"https://github.com/YuriNasci/ProjectToContext","clone":"git clone https://github.com/YuriNasci/ProjectToContext.git","description":"Convert all relevant content from your project to just one file context and send this for ChatGPT or your favorite LLM.","language":"Python","stars":39,"topics":["chatgpt","claude","copilot","development","gemini","productivity"],"license":null,"category":"productivity","readme_excerpt":"ProjectToContext ProjectToContext is a Python application that generates a directory tree text file for a given source directory. It includes empty folders and excludes files/folders that match .gitignore rules. Directory Structure: Usage Files main.py This is the main entry point of the application. It parses command line arguments, processes the given directory to generate a directory tree text file, and handles .gitignore rules. handlers/directory handler.py This file contains the DirectoryHandler class which is responsible for generating a directory tree structure with prefixes to show the tree hierarchy and processing all files and directories under the given directory. handlers/file handler.py This file contains the FileHandler class which is responsible for checking if a file is a text file. handlers/git ignore handler.py This file contains the GitIgnoreHandler class which is responsible for reading the rules from the .gitignore file in the given directory and checking if a path should be ignored based on the provided ignore rules. utils/config loader.pyThis file contains the configurations for the application. Configurations The application uses the following configurations: - git dir: .git - output file: .ctxt - gitignore filename: .gitignore These can be retrieved using the get(key) function in config loader.py.","default_branch":null,"files":null,"tree":[],"storefront":"/r/YuriNasci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YuriNasci/ProjectToContext/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}