Terminal TUI-based dashboard, serving at-a-glance information across multiple domains
Terminal TUI-based dashboard, serving at-a-glance information across multiple domains
A fast, keyboard-driven terminal dashboard. Stocks, forex + crypto, calendar, weather, news, email, notes, system resources, image gallery — all in one grid you compose yourself. Written in Rust with ratatui.
https://github.com/user-attachments/assets/31f79aef-412c-44fb-bd72-c684e6aa9185
A live capture — keyboard shortcuts driving focus, view changes, and widget interaction across the dashboard.
A composed dashboard — clock + weather on the left, a calendar / email
/ notes stack and a stocks / forex / WSJ stack on the right, system
resources and a rotating gallery filling the rest. tokyonight scheme.
Same layout, different views — calendar in week mode, weather showing the 3-day forecast, the gallery rotating its next image, and the WSJ feed scrolling the latest articles in the middle stack.
A different 5-pane layout in the chalktone scheme, focused on the
WSJ stack with an NVDA chart open in stocks on the right.
Everything is opt-in, locally configured, and persists in plain TOML
under ~/.config/glint/ — no accounts, no telemetry, no cloud
component glint controls. The setup wizard generates a working
dashboard on first launch.
. / ,.stocks@watchlist1 + stocks@watchlist2, clock@home + clock@office).glint --profile work (or -p work) runs an isolated
config tree: its own layout, widgets, theme, and accounts. Create,
switch, and manage them from the setup wizard (glint --setup). The
colorscheme library and OAuth app registrations are shared; everything
else is per-profile. See INSTRUCTIONS.md → Profiles.:scheme nord switches
live.glint --setup (or first launch with no config)
walks you through layout, widget assignment, and credentials with
copy-pasteable instructions for each external service.Tab cycles widgets,
Shift+ jumps to a widget by its shortcut letter, : opens
a command bar, click anywhere to focus.z to enlarge the focused widget into a
centered frame over a dimmed backdrop, then z (or Esc) to return
exactly where you were. Given the room, every widget paints a richer
Full-tier view — reading panes, multi-column grids, a
wall-calendar month with per-day event dots — so a cramped cell
becomes fully legible without leaving the terminal. Retarget the zoom
to another widget with Tab or Shift+ without exiting.~/.config/glint/credentials/ (0600 perms). API calls go directly
from your machine to the upstream service.You need a recent Rust toolchain (1.81+). Install via
rustup if you don't have one.
git clone https://github.com/ntrospect0/glint.git glint
cd glint
# Per-user install (no sudo, installs to ~/.local/bin):
make install PREFIX=~/.local
# Or system-wide (typically needs sudo):
sudo make installIf ~/.local/bin isn't on your $PATH, add this to ~/.zshrc or
~/.bashrc:
export PATH="$HOME/.local/bin:$PATH"Verify:
glint --version| target | what it does |
|---|---|
make / make release |
release build at target/release/glint |
make build |
debug build (faster compile, slower runtime) |
make install |
release build + copy to $(PREFIX)/bin/glint |
make uninstall |
remove $(PREFIX)/bin/glint |
make test |
run the test suite |
make clean |
cargo clean |
Every widget compiles in only when its feature is enabled. The default
widgets-all umbrella turns them all on. For a smaller binary:
cargo install --path . --no-default-features \
--features widget-clock,widget-weather,widget-stocksAvailable features: widget-clock, widget-weather, widget-calendar,
widget-news, widget-stocks, widget-forex, widget-email,
widget-resources, widget-gallery, widget-notes.
git pull
make install PREFIX=~/.local # or sudo make installglint is a terminal program, but on macOS you can wrap it in a
double-clickable app that opens it in your terminal — handy for the
Dock or Spotlight. The icon assets live in
assets/icon/ (glint.png and glint.icns).
With glint on your $PATH:
./assets/icon/install-macos-app.shThis builds ~/Applications/Glint.app with the icon above, launching
glint in ~. First open may need a right-click → Open (the bundle
isn't code-signed).
The script auto-detects an installed terminal and supports Kitty,
Ghostty, WezTerm, Alacritty, Rio (launched directly) and iTerm2,
Apple Terminal (via AppleScript). Force one with the TERMINAL env
var:
TERMINAL=alacritty ./assets/icon/install-macos-app.shWarp, Hyper, and Tabby expose no command to run a program in a new window, so they aren't supported — add a case to the script if your terminal isn't listed.
Launch with no existing config and you land in the setup wizard:
glint
# → "No config detected … launching the setup wizard."The wizard walks you through:
The wizard's layout step — pick a pane count, then a preset; widget assignment follows on the next page.
Re-run any time with glint --setup. Every section has an
Edit / Skip gate; skipping leaves that TOML untouched, so hand-edits
and comments survive.
After the wizard, the dashboard launches with your layout. Press ? for
the live keybinding overlay.
| widget | what it does | external services |
|---|---|---|
| Clock | big block-digit local time, optional secondary world clocks, configurable gradient | none |
| Weather | current conditions + N-day forecast, IP geolocation fallback | Open-Meteo (free, key-less) |
| Calendar | day / week / month views with event agenda | Google Calendar (OAuth), Microsoft Outlook (OAuth), CalDAV (iCloud / Fastmail / Nextcloud), local TOML events |
| News | RSS / Atom aggregator with topic filters, keyword search (:news ), optional per-article LLM summaries |
any RSS/Atom feed; LLM provider for summaries |
| Stocks | watchlist with price + change %, intraday + multi-year graphs, period toggle | Yahoo Finance (free, key-less) |
| Forex | fiat + crypto pairs with auto-grouped Currencies / Crypto sections, primary-swap with s, USD-pivot triangulation |
Yahoo Finance |
| unified inbox preview with optional per-message LLM summaries | Gmail (OAuth), Outlook (OAuth), any IMAP server (app password) | |
| Resources | htop-style CPU / memory / top-process view | local sysinfo (no FFI) |
| Gallery | rotating inline image slideshow (any image glob you point it at) | none — uses iTerm2 / Kitty / Sixel inline image protocol, falls back to unicode half-blocks |
| Notes | vim-flavoured multi-note pad with undo/redo, mouse cursor positioning, per-note files | none — plain .md files under ~/.config/glint/notes/ |
Every widget is independently optional. The wizard surfaces only what you turn on; missing credentials route gracefully into the inline capture flow.
All files live under ~/.config/glint/:
| file | what it controls |
|---|---|
config.toml |
active colour scheme, mouse-scroll direction, status bar, grid layout, widget cell placements |
colorschemes.toml |
named theme palettes (default, chalktone, gruvbox, tokyonight, rosepine, nord, bluloco, onedark, miasma) |
clock.toml |
primary timezone, world clocks, big-digit gradient |
weather.toml |
location, units (metric/imperial), forecast days, IP geolocation fallback |
news.toml |
RSS / Atom feeds, topic filters, LLM summary toggle, fetch-body strategy |
stocks.toml |
watchlist, indices, default period, jump URL template |
forex.toml |
primary currency, fiat watchlist, separate crypto watchlist, default period |
calendar.toml |
Google / Outlook / CalDAV / Local providers + per-provider calendar IDs |
email.toml |
folders / labels to follow, polling cadence, LLM-summary opt-in |
resources.toml |
refresh interval, top-N processes, sort key (CPU vs memory) |
gallery.toml |
image paths or globs, rotation cadence, rescan interval |
notes.toml |
per-widget shortcut + colour overrides (notes themselves live under notes/) |
llm.toml |
active LLM provider (anthropic or openai), model, rate limit, cache size |
credentials/ |
OAuth tokens + API keys (*_oauth_client.toml, *_oauth_token..toml, anthropic_key.toml, openai_key.toml, caldav.toml, imap.toml) — 0600 perms |
notes// |
one .md file per note, mtime sorts the list |
Most fields have sensible defaults; you only have to set what you care
about. Re-run the wizard any time, or hand-edit and :reload.
…Cells can reference a widget as kind@instance:
[[layout.cells]]
widget = "stocks@watchlist1"
col = 0
row = 2
[[layout.cells]]
widget = "stocks@watchlist2"
col = 1
row = 2The first uses stocks.toml (the implicit main instance), the others
read [email protected] and [email protected]. Same trick
works for clocks (home + office), calendars (work + personal), email
(two accounts), etc.
Any widget's TOML can carry a [colors] block that overrides the
active theme just for that widget:
# weather.toml
location = "Vancouver, BC"
[colors]
border.focused = { fg = "#e07b00", modifiers = ["bold"] }
widget_title.focused = { fg = "#fff", bg = "#e07b00", modifiers = ["bold"] }Same field shape as colorschemes.toml.
…Then :scheme my_scheme (persisted to [global] theme).
⚠️ Dotted keys must be unquoted (
border.focused, not"border.focused"). Quoted dotted keys silently fail to deserialize.
| key | action |
|---|---|
Tab / Shift+Tab |
cycle focused widget |
Shift+ |
jump focus to a widget by its shortcut letter (lit in title) |
click cell |
focus that widget |
z / Shift+Z |
zoom the focused widget in / out (Focus Zoom) |
Esc |
exit zoom — a first Esc clears the widget's own mode (e.g. Notes insert), a second exits |
. / , |
rotate the active widget in a stack pane |
: |
open the command bar |
? |
toggle help overlay (scrollable) |
q / Ctrl+C |
quit |
While zoomed, Tab / Shift+Tab and Shift+ retarget the
zoom to another widget instead of moving focus; clicking a dimmed
backdrop w
No open issues yet, or sync has not completed.