Skip to content

3.0.0

Choose a tag to compare

@F4NT0 F4NT0 released this 08 Oct 15:17
· 13 commits to main since this release
2cf52ab

What's New in v3.0.0

🆕 New Features

OAuth Login

  • Added OAuth (sign in with daily.dev) as an alternative to Bearer token authentication
  • Uses authorization code flow with PKCE for enhanced security
  • Automatic token refresh with rotating refresh tokens
  • Tokens are kept in memory only (no disk storage)
  • Requires creating an OAuth app in daily.dev Settings > API > OAuth apps
  • Redirect URI: http://127.0.0.1:8765/callback (must match exactly)

Post Selection & Navigation

  • After a search or feed, focus automatically moves to the results panel
  • Selected post is highlighted with a double purple border
  • Navigate posts with ↑/↓ or j/k
  • List scrolls automatically to keep selection visible
  • Tab switches between the left menu and the results panel

Bookmark with Visual Feedback

  • Press b to bookmark a post
  • Bookmarked posts display with an orange border
  • Double border when both selected and bookmarked
  • Visual feedback persists for the session

Comments Modal

  • Press c to open a floating panel with post comments
  • Read-only view (daily.dev public API does not support creating comments)
  • Scroll with ↑/↓ and PgUp/PgDn
  • Close with Esc, q, c, or Enter
  • Comments are displayed newest first

Help Panel (Ctrl+H)

  • Press Ctrl+H to open a floating help panel
  • Two tabs: Options panel and Posts panel
  • Shows all available keyboard shortcuts for each context
  • Works in the menu and in parameter forms
  • Tab switches tabs, Esc/q/Ctrl+H closes

⌨️ Keyboard Shortcuts

Key Action
↑/↓ or j/k Select previous/next post
Tab Switch between left panel and results
Enter Open the post on daily.dev
o Open the original post link in the browser
b Add the post to bookmarks (border turns orange)
c Read post comments in a floating panel
n Next page (pagination)
Ctrl+H Open the help panel
q Quit

🎨 UI Improvements

  • Simplified shortcut bar: Reduced text for better readability
  • Hidden fields: commentsPermalink, source.handle, and source.id are no longer displayed in post cards
  • Version display: Version 3.0.0 now shown centered below the banner on the login screen
  • Improved contrast: Better visual distinction between selected and bookmarked posts

🧪 Testing & CI/CD

  • Unit tests: All API endpoints covered by unit tests against a local httptest server (no real token or network needed)
  • GitHub Actions: Automated test workflow runs on every push and PR to main/master
  • Test badge: Added to README showing the current test status
  • Removed: Manual API request workflows (27 workflows removed to avoid token exposure)

🐧 Linux Support

  • Installer script: install.sh for Linux (x86_64 and arm64)
  • One-line install: curl -fsSL https://github.com/F4NT0/daily-dev-tui/releases/latest/download/install.sh | bash
  • Automatic setup: Installs to ~/.local/bin/daily-dev-tui, creates daily-dev command, and adds to PATH
  • Environment variables: DAILY_DEV_INSTALL_DIR, DAILY_DEV_REPO, and DAILY_DEV_TUI_URL for customization

📦 Installation

Windows

irm https://github.com/F4NT0/daily-dev-tui/releases/latest/download/daily-dev-setup.exe -OutFile $env:TEMP\daily-dev-setup.exe; & $env:TEMP\daily-dev-setup.exe

Linux

curl -fsSL https://github.com/F4NT0/daily-dev-tui/releases/latest/download/install.sh | bash

After installation, open a new terminal and run daily-dev.

🔧 Breaking Changes

None. This release is fully backward compatible with v2.0.0.

📝 Notes

  • OAuth apps are in beta on daily.dev and require manual registration
  • Port 8765 on 127.0.0.1 must be free during OAuth sign-in (3-minute timeout)
  • If you deny write permission on the OAuth consent screen, bookmarking will fail with 403 insufficient_scope
  • The daily.dev public API does not support creating comments via the REST API