Building an LLM platform by moving from a terminal UI to Tkinter

A personal platform for using LLM API services has been under development since 2024. The first version used prompt_toolkit to build a TUI for basic inference, but the interface became too complex as the project grew.

The work then moved to a Tkinter GUI, which made buttons, screens, and custom interface pieces easier to arrange and less awkward to maintain. Tkinter is described as a very stable choice because its API has changed little for decades.

Its 9.0 update adds improvements such as better UTF-8 handling and 64-bit text buffers. Instead of relying only on built-in advanced widgets, the platform uses custom widget s to get more control over both simple and complex interface behavior.

Key points

  • The platform started in 2024 as a simple way to use LLM API services.
  • The first version used prompt_toolkit and a TUI for basic inference.
  • The project moved to a Tkinter GUI because the became too complex.
  • Tkinter is valued for stability and long-term API .
  • No token-saving or method is described.
Read original