Cursive VS gtk

Compare Cursive vs gtk and see what are their differences.

Cursive

A Text User Interface library for the Rust programming language (by gyscos)

gtk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead! (by gtk-rs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Cursive gtk
22 5
4,097 1,306
- -
7.5 4.0
12 days ago over 3 years ago
Rust Rust
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Cursive

Posts with mentions or reviews of Cursive. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-25.
  • Projectable: A TUI file manager built for projects
    5 projects | news.ycombinator.com | 25 Jun 2023
    Rust has great libraries for TUIs. tui-rs (https://github.com/fdehau/tui-rs) has been used in numerous popular applications, but is unmaintained. ratatui (https://github.com/tui-rs-revival/ratatui) is the maintained version, and is pretty new. Less widely known is cursive (https://github.com/gyscos/cursive), which I have yet to try.

    Aside from the libraries, I just wanted to start a project that would make be better at Rust. The easy distribution with cargo is a huge bonus though.

  • cursive: A Text User Interface library for the Rust programming language
    1 project | /r/luckystarr | 27 Apr 2023
  • How difficult is ncurses?
    7 projects | /r/commandline | 17 Apr 2023
    There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
  • AMDGPU_TOP v0.1.2 - switch to crossterm-backend, add simple fdinfo viewer
    6 projects | /r/linux_gaming | 4 Apr 2023
    Switching the backend of Cursive to crossterm removed dependence on ncurses
  • Appreciation post
    4 projects | /r/learnrust | 17 Mar 2023
    I'd hear of TUIs so I just searched for tui libraries in Rust and Cursive seemed like a good choice and it turned out great!
  • Sharing Saturday #455
    5 projects | /r/roguelikedev | 24 Feb 2023
    This weekend I started porting my game to a different UI library (egui) as a way of familiarizing myself with egui. I don't think I'll have something useable to build off of before this year's 7DRL challenge so I guess I'll be reusing my existing UI code (using cursive). But, once I finish porting the UI it should be a lot easier to add fancy stuff like animations, tooltips, and graphical tiles since I won't be tied to constraints of a terminal UI.
  • CLIs and TUIs packages
    7 projects | /r/rust | 31 Jan 2023
    Cursive should let you easily build a layout with a menu and status bars (and mouse works).
  • Dwarf Fortress – randomly generated, persistent fantasy world
    3 projects | news.ycombinator.com | 22 Nov 2022
    The thing that gets me about Dwarf Fortress is that it's a 64-bit text-mode game.

    As a grey-haired developer who got excited about "DOS Extenders" that allowed 32-bit mode, seeing a text-mode game written as a native 64-bit application is bizarrely anachronistic.

    I get a similar feeling from text-mode GUI frameworks for Rust, which allow multi-threading and 64-bit but are essentially clones of Borland Turbo Vision, where you had to be mindful to keep lists smaller than 64KB: https://github.com/gyscos/cursive

  • How to maintain app state in an app using Cursive
    2 projects | /r/rust | 9 Jul 2022
    Maybe this helps?
  • Rust TUI libraries
    8 projects | /r/rust | 22 Jun 2022
    cursive

gtk

Posts with mentions or reviews of gtk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-10.
  • Sharex doesn't open!!!
    2 projects | /r/archlinux | 10 Nov 2021
    thread 'main' panicked at 'libgtk-3 was configured with `--enable-debug=no`. See https://github.com/gtk-rs/gtk/issues/270 for details', /home/(username)/.cargo/registry/src/github.com-1ecc6299db9ec823/gtk-0.5.0/src/rt.rs:137:13
  • need help, gtk on windows 10 using vs code
    1 project | /r/rust | 7 Jun 2021
    basically I setup gtk how it is described on the gtk-rs.org site and official gtk guide https://www.gtk.org/docs/installations/windows/ using msys2, for more details check this video it describes exactly what I did https://www.youtube.com/watch?v=rUJFYOCbuDg
  • Is there a place where I can learn how to do low level system programming for Linux?
    1 project | /r/linuxquestions | 3 Apr 2021
    You could make bar pretty easily with GTK. You should read up on the Wayland and GTK documentation. GTK has official bindings for C and Python, and there is gtk-rs.org for Rust.
  • form applications using rust
    1 project | /r/rust | 31 Mar 2021
    There's https://crates.io/crates/gtk
  • How would I code a file manager (gui)
    1 project | /r/linuxquestions | 31 Mar 2021
    I wouldn't expect there to be a tutorial specifically for writing a file manager. (After all, the vast majority of people who write GUI apps for Linux never write a file manager.) But there is some documentation on how to write GUIs with Rust and GTK here https://gtk-rs.org/.

What are some alternatives?

When comparing Cursive and gtk you can also consider the following projects:

tui-rs - Build terminal user interfaces and dashboards using Rust

Native Windows GUI - A light windows GUI toolkit for rust

Termion - Mirror of https://gitlab.redox-os.org/redox-os/termion

QML-rust - QML (Qt Quick) bindings for Rust language

ncurses-rs - A low-level ncurses wrapper for Rust

Azul - Desktop GUI Framework

rustbox - Rust implementation of the termbox library

relm - Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust

rust-sciter - Rust bindings for Sciter

druid - A data-first Rust-native UI design toolkit.

conrod - An easy-to-use, 2D GUI library written entirely in Rust.