Builditluc / wiki-tui

A simple and easy to use Wikipedia Text User Interface
https://builditluc.github.io/wiki-tui/
MIT License
387 stars 14 forks source link

Creating the new UI with ratatui #220

Open Builditluc opened 11 months ago

Builditluc commented 11 months ago

Part of the Conversion from Cursive to Ratatui

This issue tracks the creating of the new UI. Any idea / issue or discussion is highly appreciated!

Ideas for the new look / design

Below are some images from other tui applications I would like to base the UI of wiki-tui on. Any additions or discussion is greatly appreciated!

textualize/frogmouth

frogmouth

dlvhdr/gh-dash

gh-dash

Redhawk18 commented 9 months ago

Why the switch? I found your project through the cursive's showcase section. I'm starting my own tui now so I'd like to know.

Builditluc commented 9 months ago

Mainly because of the lack of configuration cursive gives us to programmatically modify the look of certain UI components. For example, we cannot change the color of the border around views and changing predefined keybindings across the app is tedious.

If you're unsure about what library to use, I can recommend reading the comparison page from the cursive wiki, because the libraries focus on different key aspects.

If you want to have a more complex ui with deeply nested view trees and popup windows, and are fine with the sane defaults cursive sets, I would recommend cursive over ratatui (formerly tui-rs).