From b6d93c110c8a14f738d897c0012a2a7d61044f67 Mon Sep 17 00:00:00 2001 From: Oxbian Date: Mon, 17 Feb 2025 22:14:48 -0500 Subject: feat: basic working interface + LLM API call --- src/main.rs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main.rs (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..b1e52d6 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,22 @@ +use crate::{ + app::App, + ui::Ui +}; +use ratatui; +use color_eyre::Result; +//use reqwest; +mod app; +mod ui; + +fn main() -> Result<()> { + // Setup terminal + let mut terminal = ratatui::init(); + + // Run the app + let mut app = App::new(); + let res = Ui::new(app).run(terminal); + + // Clean + ratatui::restore(); + res +} -- cgit v1.2.3