Contextor transforms complex Python repositories into structured architectural context that both developers and Large Language Models (LLMs) can understand. It generates JSON reports - you can give access to the path of Output json reports folder to LLM working directly in your repo. This way you spare tokens required by LLM for full structural analysis of the code base.
π Release Notes - Multi-Threading Engine, Performance Boost & UI/UX Upgrade
β‘ Performance & Architecture
Multi-Threaded Scanning Engine: Rebuilt the core repository indexing and parsing pipeline to utilize true multi-threading. The application now processes multiple files concurrently across available CPU cores, resulting in a monumental, multi-fold increase in scanning speed compared to the previous single-threaded approach.
Live Threads Indicator: Added a real-time CPU/Threads indicator to the main GUI dashboard, providing immediate visual feedback on current thread utilization and concurrent processing activity during analysis.
Event Loop Throttling (Speed Unlocker): Fixed a critical bottleneck where the new multi-threaded engine was flooding the GUI with thousands of redraw requests. By implementing a 10 FPS rate-limiter for background progress updates, CPU resources are now fully dedicated to backend processing rather than rendering, unlocking the true speed of the concurrent engine.
β¨ Features & Enhancements:
Console Window Management: Contextor will now boot up purely as a graphical application on Windows without leaving a lingering CMD terminal window in the background.
"Open CMD Log" Toggle: Added a new "Open CMD log" checkbox directly in the main GUI header. This allows you to smoothly toggle the visibility of the backend terminal on and off whenever you need to inspect raw execution logs.
Aggressive Cleanup on Exit: Closing the main GUI will now force an immediate, clean termination of all underlying threads and processes (os._exit), preventing zombie processes and stray terminal windows from hanging in the background.
Progress Percentage Readability: Repositioned the completion percentage indicator ([XX.X%]) to sit cleanly next to the ETA timer instead of jumping around at the end of file paths.
"Stop" Button: aborting the ongoing process of analysis.
π Bug Fixes & Stability:
Progress Bar Jitter Fix: Deeply nested file paths shown during analysis are now cleanly truncated
(e.g. .../module/file.py). Furthermore, the UI labels have been given fixed spatial widths, completely fixing the annoying bug where the main window's right edge would frantically stretch and shrink to accommodate long paths.
Legacy Code Cleanup: Removed obsolete and broken fallback scripts from the main.py entry point that were previously causing erratic application behaviors and syntax errors.