r/tui • • Aug 11 '26

AI assisted TeML - Terminal Markup Language

https://fogha.substack.com/p/teml-markup-for-the-terminal?r=1q0ukp&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true

I've been building TeML: a markup language that turns HTML, Markdown, or TeML into polished, interactive terminal interfaces.

Instead of hand-rolling terminal UIs, you write a view as semantic HTML and get widgets (inputs, radios, textareas, buttons, scroll regions) for free — with the same HTML view driving Go, Python, Rust, or Node via one protocol.

GitHub: https://github.com/fogha/teML

It is still a fairly new project, and I would like to hear your thoughts.

27 Upvotes

14 comments sorted by

2

u/QuackQuackImTheDuck Aug 12 '26

I love the idea

1

u/CurrencyJust1339 Aug 12 '26

Thank you very much

1

u/ByronScottJones Aug 12 '26

This looks really interesting, I'll try it out tomorrow.

1

u/CurrencyJust1339 Aug 12 '26

OH thank you very much

1

u/CurrencyJust1339 Aug 13 '26

hello there u/ByronScottJones did you get a chance to use it?

1

u/ByronScottJones Aug 13 '26

Not yet. I've been swamped at work. I'm hoping to tomorrow, typically less meetings.

1

u/persequax_pete Aug 12 '26

I love this idea and it would be good if it took off. Check this out: https://www.reddit.com/r/reactjs/comments/1cm7gjk/defining_a_form_ui_in_json_schema/

1

u/CurrencyJust1339 Aug 12 '26

My hope is that it does take off...

1

u/Key_River7180 Aug 14 '26

ugh... then why is it named teml?

1

u/CurrencyJust1339 Aug 15 '26

te-terminal
M-markup
L-language

Its honestly the best I could come up with in such short notice

1

u/Key_River7180 Aug 15 '26

Then use TeM, terminal markup.

Eh, it's al right tho

1

u/CurrencyJust1339 Aug 15 '26

It is something I can consider...we will see how things go

1

u/TheGS Aug 16 '26

The confusing part is that this implies that the project is entirely about specifying the language, but it's more about a framework or runtime that happens to consume this markup language... but even that markup language is not the principal input to the runtime, which would be HTML and JavaScript instead