neokd / NeoGPT

Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
https://neogpt.dev
MIT License
68 stars 60 forks source link

Transition from colorama to rich for Improved Terminal Interaction #126

Closed neokd closed 5 months ago

neokd commented 5 months ago

In this issue, we are transitioning our application from using colorama to rich for enhanced terminal interaction. This transition involves locating and updating import statements, adjusting color codes, updating print statements, and ensuring consistent styling throughout the application.

Steps to Reproduce:

  1. Search and remove all import statements related to colorama (both direct imports and specific imports).
  2. Update color codes from Fore, Back, or Style in colorama to the equivalent syntax in rich.
  3. Modify print statements using colorama to the rich syntax.
  4. Review and update styling for panels and prompts, replacing colorama styling with rich syntax.
  5. Ensure the correct configuration of the rich console, removing any unnecessary code related to initializing or configuring colorama.
  6. Thoroughly test the application to verify a successful transition, checking for consistent and desired styles.
ayushmorbar commented 5 months ago

Hey, I would like to work on this issue as part of JWoC’24

neokd commented 5 months ago

@ayushmorbar this issue is already solved. You can look at other issues or create a new one