Skip to content

programmersd21/gmtui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Rust Build License Platform

GMTUI is a fast, keyboard-driven Gmail client for the terminal. It focuses on cached, low-latency inbox navigation, a composable UI, and async Gmail API calls without blocking the render loop.

Installation

Cargo Install

cargo install gmtui

Manual Build

git clone https://github.com/programmersd21/gmtui
cd gmtui
cargo build --release

Configuration

config.toml (default path: platform config directory + gmtui/config.toml)

# OAuth (required)
client_id = "YOUR_CLIENT_ID"
client_secret = "YOUR_CLIENT_SECRET"
token_cache_path = "token.json"  # optional, default: config_dir/gmtui/token.json

# UI + cache
theme = "dark"          # dark | light
page_size = 20
cache_ttl_secs = 300

[keybindings]
down = "j"              # also supports Down
up = "k"                # also supports Up
open = "Enter"
compose = "c"
reply = "r"
delete = "d"
search = "/"
refresh = "R"
quit = "q"
next_tab = "Tab"
prev_tab = "Shift+Tab"
load_more = "L"
help = "?"

Keybindings

Action Key
Down j / Down
Up k / Up
Open Enter
Compose c
Reply r
Delete d
Search /
Refresh R
Quit q
Next Tab Tab
Prev Tab Shift+Tab
Load More L
Help ?

Search Example

$ gmtui
/ rust
  Rust newsletter
  Rust async roundup
<Enter>

Themes

Screenshot

Available themes: dark, light.

Feature Checklist

  • Channel-based async event loop
  • Gmail list/get/send/delete/modify
  • Cache with TTL + lazy load
  • Search overlay filtering
  • Email view with scrolling
  • Composer with reply prefill
  • Sorting (date/sender/subject)
  • Sidebar categories + unread counts
  • Theming with dark/light
  • Status bar with key hints

Contributing

See CONTRIBUTING.md for development workflow and code style.

License: MIT

Releases

No releases published

Packages

 
 
 

Contributors