Repopal gathers essential git information and combines project files into a single document. Its aim is to enhance the experience of using LLM with programming projects.
This is my first open-source project using TypeScript. I hadn’t worked with TypeScript before, but I can see why people enjoy this language. The TypeScript and ESLint extensions in Visual Studio Code help me avoid mistakes through type checking. I feel more confident with every line I write instead of wondering if my arguments will work with the API.
I used the fast-glob library, which allows for parallel directory scanning. However, I haven’t managed to implement parallel file reading yet; that’s my next optimization target. Parallel processing is essential for handling a large number of small file read tasks, like source code.
While developing this tool, I continuously refactored as I tried to add new features. I renamed one function 5 or 6 times after making updates to it. Creating new features and keeping the code clean is challenging because I often need to use logic that already exists in the system, but I can't use it directly since it isn't encapsulated in an isolated function. Therefore, I need to refactor and extract that logic into isolated functions or libraries.
Top comments (0)