Skip to content

Using daily-dev-tui

Starting the program

After installing daily-dev-tui, open a terminal and run:

Janela do terminal
daily-dev
CommandDescription
daily-devStart the TUI
daily-dev --helpInteractive, colored documentation (login, usage, every API request)
daily-dev --versionPrint the version
daily-dev --uninstallRemove the command and installed files

1. Choose how to sign in

The start screen lets you choose between the login methods. A third option, Auto Sign In, appears once a token is saved locally.

Login method selector

Use ↑/↓ or 1/2/3 to select, Enter to confirm, Esc to go back and Ctrl+C to quit.

  1. Sign in at https://app.daily.dev.
  2. Open your account settings and find the API / Developers section.
  3. Create a token and copy it immediately (API access may require Daily.dev Plus).
  4. Paste it in the TUI. To skip the login screen, set the DAILY_DEV_TOKEN variable.

2. Pick a request

Choose a request from the left menu: Feeds, Posts, Search, Bookmarks, Custom Feeds, Feed Filters, Notifications, Profile, Tags and Recommend. Requests with parameters open a form, and required fields are marked with *.

Parameter form

  1. Use ↑/↓ in the options panel to select the request.
  2. Press Enter. If it has parameters, the form opens.
  3. Change field with Tab or ↑/↓ and fill in the values.
  4. Press Enter to run or Esc to cancel. Inside the form use Ctrl+H for help, because h is typed as text.

3. Top bar: account, quota and notifications

Once you are signed in (token or OAuth), a bar above the panels shows, centered: the user name, the Requests left in the current window, the per-minute Limit and Resets in (a countdown to the quota reset). The values come from the x-ratelimit-* headers of the API and update after every request.

Requests left turns orange when 25% or less remains and red at zero.

Notifications appear at the top right for a few seconds: green for successful actions (bookmarked, opened, request ok) and red for failures (request failed, could not open a link, missing required field).

Top bar with user, quota and a notification

4. Read and act on the results

Results are shown as cards. After a search or feed, focus moves to the results and one post is selected. Move between posts with ↑/↓ and use:

KeyAction
EnterOpen the post on daily.dev
oOpen the original article link
bBookmark the post (the border turns orange, double while selected)
cOpen a panel with the comments
nLoad the next page of a paginated list

Results with a selected post and a bookmarked post

Comments

The comments panel shows the newest first and is read-only (the public API cannot create comments). Use ↑/↓ or PgUp/PgDn to scroll and Esc, q, c or Enter to close.

Comments panel

Keyboard shortcuts

Press h at any time in the menu to see the shortcuts in a floating panel (inside a form use Ctrl+H).

Help panel

KeyAction
↑/↓Select option
EnterRun the request (opens the form if it has parameters)
TabChange panel
tChoose a theme
hShow the help panel
qQuit

Themes

All TUI colors are variables in .conf files inside a themes/ folder next to the program (%LOCALAPPDATA%\Programs\daily-dev\themes on Windows and ~/.local/bin/themes on Linux and macOS). In a clone of the repository, daily-dev-tui/themes/ is used. The themes are also built into the binary, so the TUI works even if the files are missing.

ThemeFile
Defaultdefault.conf
Catppuccin Mochacatppuccin-mocha.conf
Nordnord.conf
Terminal (classic green on black, uses your terminal’s ANSI palette)terminal.conf
Darculadarcula.conf

Choose a theme

  1. Press t in the menu to open the list of themes.
  2. Use ↑/↓ to preview each theme live.
  3. Press Enter to apply or Esc to cancel. The choice is remembered (stored in themes/.theme).

Theme picker

Or start with DAILY_DEV_THEME=nord (a theme name or the full path of a .conf file). The variable takes priority over the remembered choice.

Default

Create your own theme

Copy any .conf to themes/<name>.conf and edit the colors. It shows up in the t list automatically. Missing or invalid keys fall back to the default theme.

# key = value (ANSI 0-255 or hex #rrggbb / #rgb)
primary = 135 # titles, banner, selected post, focused borders
secondary = 111 # post subtitle
muted = 245 # stats, hints, footer
key = 178 # field labels
link = 86 # URLs
tag_fg = 0 # tag chip text
tag_bg = 141 # tag chip background
border = 240 # unfocused borders
error = 196 # errors
bookmark = 208 # bookmarked post border
accent = 214 # login prompts and version
info = 75 # login tagline
ok = 78 # success notifications, healthy request quota

Lines starting with # are comments, and text after the value (separated by a space) is ignored.

Environment variables

VariableEffect
DAILY_DEV_TOKENAPI token. Skips the login screen
DAILY_DEV_CLIENT_ID, DAILY_DEV_CLIENT_SECRETOAuth app credentials; prefill the OAuth login form
DAILY_DEV_THEMETheme name (file themes/<name>.conf) or a full path to a .conf file. Default: default
DAILY_DEV_TOKEN_FILEFull path of the saved token file (default: token.conf next to the program)
DAILY_DEV_INSECURE1 skips TLS verification (corporate proxies only)
BROWSERLinux: browser command used when xdg-open is not available