Skip to content

Feat/ratatui#12

Merged
branberry merged 2 commits intomainfrom
feat/ratatui
Dec 11, 2025
Merged

Feat/ratatui#12
branberry merged 2 commits intomainfrom
feat/ratatui

Conversation

@branberry
Copy link
Copy Markdown
Contributor

@branberry branberry commented Dec 9, 2025

Description

Add a short bulleted description of why this change is needed.

Related Issue

Closes #8

Demo (if visible change)

Screen.Recording.2025-12-09.at.5.39.24.PM.mov

Checklist

  • Tests pass locally and in CI
  • No lint errors
  • I have self-reviewed my code

Copy link
Copy Markdown
Contributor

@Ian-Fogelman Ian-Fogelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @branberry , this LGTM from me. Just a couple of tangential comments / questions.

  1. I was able to build with cargo run --package ducke --bin ducke, should I add this to the readme as the local build solution? Currently we have cargo build which matches the GH action.

  2. When we merge this will we have a public url with we can curl | install that will be a a public artifact as a result of your CI/CD workflow?

  3. I was able to successfully build (from my mac), here is my output for clarity, all dependencies seem to be pulling as expected from the .lock file:

ian@Mac ducke % cargo run --package ducke --bin ducke
    Updating crates.io index
  Downloaded rustversion v1.0.22
  Downloaded litrs v1.0.0
  Downloaded derive_more-impl v2.1.0
  Downloaded crossterm v0.29.0
  Downloaded fnv v1.0.7
  Downloaded either v1.15.0
  Downloaded indoc v2.0.7
  Downloaded lru v0.12.5
  Downloaded castaway v0.2.4
  Downloaded derive_more v2.1.0
  Downloaded unicode-width v0.1.14
  Downloaded itoa v1.0.15
  Downloaded strum v0.26.3
  Downloaded smallvec v1.15.1
  Downloaded unicode-segmentation v1.12.0
  Downloaded heck v0.5.0
  Downloaded strsim v0.11.1
  Downloaded cassowary v0.3.0
  Downloaded signal-hook v0.3.18
  Downloaded mio v1.1.1
  Downloaded paste v1.0.15
  Downloaded scopeguard v1.2.0
  Downloaded unicode-ident v1.0.22
  Downloaded strum_macros v0.26.4
  Downloaded unicode-width v0.2.0
  Downloaded libc v0.2.178
  Downloaded proc-macro2 v1.0.103
  Downloaded signal-hook-registry v1.4.7
  Downloaded unicode-truncate v1.1.0
  Downloaded lock_api v0.4.14
  Downloaded bitflags v2.10.0
  Downloaded parking_lot v0.12.5
  Downloaded instability v0.3.10
  Downloaded equivalent v1.0.2
  Downloaded rustix v1.1.2
  Downloaded darling_core v0.20.11
  Downloaded syn v2.0.111
  Downloaded crossterm v0.28.1
  Downloaded convert_case v0.10.0
  Downloaded ident_case v1.0.1
  Downloaded signal-hook-mio v0.2.5
  Downloaded ratatui v0.29.0
  Downloaded foldhash v0.1.5
  Downloaded rustix v0.38.44
  Downloaded itertools v0.13.0
  Downloaded hashbrown v0.15.5
  Downloaded compact_str v0.8.1
  Downloaded rustc_version v0.4.1
  Downloaded parking_lot_core v0.9.12
  Downloaded log v0.4.29
  Downloaded darling v0.20.11
  Downloaded cfg-if v1.0.4
  Downloaded errno v0.3.14
  Downloaded darling_macro v0.20.11
  Downloaded document-features v0.2.12
  Downloaded allocator-api2 v0.2.21
  Downloaded static_assertions v1.1.0
  Downloaded ryu v1.0.20
  Downloaded semver v1.0.27
  Downloaded quote v1.0.42
  Downloaded 60 crates (4.9MiB) in 0.71s
   Compiling proc-macro2 v1.0.103
   Compiling libc v0.2.178
   Compiling unicode-ident v1.0.22
   Compiling quote v1.0.42
   Compiling rustversion v1.0.22
   Compiling signal-hook v0.3.18
   Compiling unicode-segmentation v1.12.0
   Compiling parking_lot_core v0.9.12
   Compiling cfg-if v1.0.4
   Compiling scopeguard v1.2.0
   Compiling strsim v0.11.1
   Compiling fnv v1.0.7
   Compiling smallvec v1.15.1
   Compiling bitflags v2.10.0
   Compiling log v0.4.29
   Compiling ident_case v1.0.1
   Compiling lock_api v0.4.14
   Compiling rustix v0.38.44
   Compiling convert_case v0.10.0
   Compiling either v1.15.0
   Compiling allocator-api2 v0.2.21
   Compiling heck v0.5.0
   Compiling foldhash v0.1.5
   Compiling rustix v1.1.2
   Compiling paste v1.0.15
   Compiling instability v0.3.10
   Compiling equivalent v1.0.2
   Compiling hashbrown v0.15.5
   Compiling castaway v0.2.4
   Compiling itertools v0.13.0
   Compiling syn v2.0.111
   Compiling unicode-width v0.1.14
   Compiling ryu v1.0.20
   Compiling static_assertions v1.1.0
   Compiling litrs v1.0.0
   Compiling itoa v1.0.15
   Compiling indoc v2.0.7
   Compiling lru v0.12.5
   Compiling cassowary v0.3.0
   Compiling errno v0.3.14
   Compiling signal-hook-registry v1.4.7
   Compiling mio v1.1.1
   Compiling parking_lot v0.12.5
   Compiling unicode-truncate v1.1.0
   Compiling compact_str v0.8.1
   Compiling signal-hook-mio v0.2.5
   Compiling document-features v0.2.12
   Compiling unicode-width v0.2.0
   Compiling crossterm v0.28.1
   Compiling darling_core v0.20.11
   Compiling strum_macros v0.26.4
   Compiling derive_more-impl v2.1.0
   Compiling derive_more v2.1.0
   Compiling crossterm v0.29.0
   Compiling darling_macro v0.20.11
   Compiling strum v0.26.3
   Compiling darling v0.20.11
   Compiling ratatui v0.29.0
   Compiling ducke v0.1.0 (/Users/ian/repos/ducke)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.10s
     Running `target/debug/ducke`

# It is not intended for manual editing.
version = 4

[[package]]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are all these dependencies what you think we might need on the project or out of the box defaults?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the minimal dependencies that we need for Ratatui. We might need more potentially down the line, but this should be it for now!


fn main() {
println!("Hello, world!");
let mut terminal = ratatui::init();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice minimal implementation to prove out the poc!

@branberry
Copy link
Copy Markdown
Contributor Author

Hey @Ian-Fogelman !

  1. I was able to build with cargo run --package ducke --bin ducke, should I add this to the readme as the local build solution? Currently we have cargo build which matches the GH action.

Yeah! You can add this to the README.md. I think cargo run alone should suffice

  1. When we merge this will we have a public url with we can curl | install that will be a a public artifact as a result of your CI/CD workflow?

There only should be one with releases now. There won't be a public URL I don't believe

  1. I was able to successfully build (from my mac), here is my output for clarity, all dependencies seem to be pulling as expected from the .lock file:

Awesome!!

@branberry branberry merged commit 46db74e into main Dec 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

POC - First Iteration of Ratatui

2 participants