NIDAL SIDDIQUE ORITRO
Nidal Siddique Oritro

Software Engineer / Manager

Software Engineer turned into Engineering Manager, helping teams to build better software and solve complex problems. I am passionate about building high-performing teams and creating a culture of continuous improvement.

Who Am i?

I started writing code as a profession early 2013 and i never stopped. My 13+ years of industry experience is helping me bring structure and value to my team. My 2025 goal is to build digital automation that helps team work more effortlessly.

This is my personal blog, portfolio, whatever floats your boat. I write about software engineering, homelab, self hosting, my journey into becoming a manager, my experience in helping teams build a better software and my experience in building high-performing teams.

I am a novice 3d model desiger, love 3d printing, creating complex homelab server ( that i probably don't need), working with LLM and AI models.

Back to home

Folder2text - code context for LLM

November 20, 2024
Oritro Ahmed

I made a tool, folder2text.

šŸ¤–You are using a LLM to write or help with your code, this is gonna be a very important tool for you.

Most LLM like OpenAI’s chatGPT(4,4o) or claude (3,3.5) has a limited context window. When you are writing a lot of code, it’s nearly impossible to provide proper context without copying all of your code into the LLM chatbox. And copy pasting also has limitations due to token size.

folder2text turns all of your code from a specific folder into one .txt file. Its properly formatted with the exact information your AI friend need to understand the entire context of your project. And it also makes sure only the code you wrote is a part of it, packages and vendor files are ignored.

🌐 It has already been published on NPM,

https://github.com/oritromax/folder2text

https://www.npmjs.com/package/folder2text

npm install -g folder2text

To run the tool, simply point towards your folder

folder2text /path/to/your/folder

Image description

Hope it helps in your AI-fueled development.