med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

343
active users

#textual

4 posts4 participants0 posts today

Today's #1p4floss raindrop is for @willmcgugan . Rich (and click) have made my kludgy cli scripts bearable to me, sometimes pleasurable. #Textual inspires greatly even if I haven't finished anything with it yet. I expect Toad 🐸 will be similarly rejuvenating when it grows out of the tadpole pond.

I've been working on a process output widget for Toad. It can now handle color and other ANSI escape sequences.

The goal is to be able to embed process output that can handle progress bars and other fancier output from terminals.

Made good progress today. It can handle a colorful mandlebrot set! Once I talked the LLM in to it.

WDYT?

Guess who discovered Python "textual" TUI framework today! :blobaww:
textual.textualize.io/

I tried creating an interactive mode for freedom-maker.

$ python3 -m freedom-maker --interactive

is the command to trigger it.

There's even a Select All feature. One trigger to do all the new stable builds once Debian 13 is out this month!

Note: This is not in the package yet, it's just an experiment.

More details in each screenshot below.

#Textual#Python#TUI

I think I finally coerced Textual into making this dashboard grid reactive.

It resizes itself, changes the number of columns, is scrollable...

It sounds easy but it isn't? Textual Grids are really meant to just fill the entire space as layout elements, and TCSS doesn't have many reactive things, so I just kind of have an `on_resize` hook in the python code that dynamically changes the values, but hey it works!

- willmcgugan.github.io/announci (2025-07-23, Announcing Toad - a universal UI for agentic coding in the terminal, by willmcgugan.github.io/, @willmcgugan)

--<--
I’m a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.

You see until recently I was the CEO of Textualize, a startup promoting rich applications for the terminal. Textualize didn’t make it as a company, but I take heart that we built something amazing. There is now a thriving community of folk building TUIs that I am still a part of.

So you will understand why when I finally got round to checking out Claude code and Gemini CLI, I was more interested in the terminal interface than the AI magic it was performing. And I was not impressed. Both projects suffer from jank and other glitches inherent to terminals that Textualize solved years ago.

....

I’m currently taking a year’s sabbatical. When Textualize wrapped up I genuinely thought I was sick of coding, and I would never gain be able to find joy in building things. I’m happy to be wrong about that. I still enjoy coding, and Toad feels like the perfect hobby project for my very particular set of skills. Something I can build while continuing to focus on my physical and mental health (running a startup is taxing).

So I am going to build it.

I am building it.

Here’s a quick video of Toad in its current state: youtube.com/watch?v=EKsCS54xdu

What I have in mind is a universal front-end for AI in the terminal. This includes both AI chat-bots and agentic coding. The architecture I alluded to earlier is that the front-end built with Python and Textual connects to a back-end subprocess. The back-end handles the interactions with the LLM and performs any agentic coding, while the front-end provides the user interface. The two sides communicate with each other by sending and receiving JSON over stdout and stdin.

...

Toad isn’t quite ready for a public release. It remains a tadpole for now, incubating in a private repository. But you know I’m all about FOSS, and when its ready for a public beta I will release Toad under an Open Source license.

With a bit of luck, this sabbatical needn’t eat in to my retirement fund too much. If it goes well, it may even become my full-time gig.

I will shortly invite a few tech friends and collaborators to the project. These things can’t be the work of a single individual and I am going to need feedback as I work. If you would like to be a part of that, then feel free to reach out. But please note, I would like to prioritize folk in the Open Source community who have potentially related projects.

For everyone else, I will be posting updates regularly here and on my socials (link at the bottom of the page). Expect screenshots, videos, and long form articles. Please be patient—you will be agentic toading before too long.

Looking for markdown streaming? : willmcgugan.github.io/streamin (Efficient streaming of Markdown in the terminal)
-->--

Will McGugan · Announcing Toad - a universal UI for agentic coding in the terminalI’m a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.

I've been working on streaming Markdown documents in #Textual, which is a challenge to be sure!

It's working remarkably well now, and very performant. Even zooming out to a ridiculous extent as you can see in the video.

Also made the tables prettier, and in the process enabled text selection within the tables.

The day before treason day (jk) is a terrible time to announce anything, so consider this a teaser.

I've spend the last two afternoons hacking on an experimental terminal UI for a AI coding agent called Toad 🐸

Will be posting more soon. Follow me if you aren't already!

Here's a video of it in action:

Note that this is a real app, but the AI interaction are mocked. WDYT? Should I make this real?

youtube.com/watch?v=cuVRs7e1Bq

Oh no, for some reason I started making a stupid modal TUI for my nice little tool that does reporting on updates, and now I can't stop.

DO I EVEN NEED THIS AT THIS POINT? I have a super nice interactive prompt that does pretty tables and data display, but I can't stop.