Documentation Index
Fetch the complete documentation index at: https://mintlify.com/better-auth/better-hub/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Command Center (⌘K) is Better Hub’s universal command palette for navigating, searching, and performing actions without leaving the keyboard. It’s the fastest way to move around Better Hub.
Key Features
Universal Search
Search repos, files, issues, PRs, and users from anywhere
Quick Actions
Execute commands without navigating through menus
Theme Switching
Change color themes and appearance on the fly
Context-Aware
Shows relevant commands based on current page
Opening the Command Center
Keyboard Shortcuts
⌘K(Mac) orCtrl+K(Windows/Linux) - Opens command center in command mode⌘/or/alone - Opens in search mode⌘GorT(on repo pages) - Opens in file search modeEsc- Closes the command center
The
/ shortcut only works when you’re not in an input field. Use ⌘/ to open search from anywhere.Command Center Modes
The command center has several specialized modes:- Commands
- Search
- Files
- Theme
- Settings
Default mode - Shows available commands and tools.Displays:
- Suggestions (context-aware)
- Recently viewed pages
- Quick commands
- Navigation shortcuts
- Opening Ghost AI
- Pinning/unpinning pages
- Changing settings
- Signing out
Contextual Suggestions
The command center shows different suggestions based on your current page:On a Repository Page
On Dashboard / Home
On a PR or Issue
Navigation Commands
Quickly jump to any section:| Command | Destination |
|---|---|
| Dashboard | Your personal dashboard |
| Repositories | Repo listing page |
| PRs | Your pull requests across all repos |
| Search Code | Code search interface |
| Starred Repos | Repos you’ve starred |
| Notifications | GitHub notifications |
Pinning Pages
Pin important pages to repository overviews:How to Pin
- Navigate to a PR, issue, or any repo sub-page
- Press
⌘K - Select “Pin this page” (appears when on a pinnable page)
- The item is added to the repository overview
What Gets Pinned
- Pull requests (#123)
- Issues (#456)
- Commits (abc1234)
- Actions workflows
- Security advisories
- Any other repo page
Unpinning
On a pinned page:- Press
⌘K - Select “Unpin this page”
- Item is removed from overview
Pinned items are personal to your account and synchronized across devices.
Theme Customization
Change your visual appearance through the command center:Selecting a Theme
- Press
⌘K - Type “theme” or select “Change Theme”
- Arrow through available themes
- Press
Enterto apply
Available Themes
Regular Themes:- GitHub Light / Dark
- Nord
- Night Owl
- Contrast (High contrast)
- Vercel (Vercel-inspired palette)
- Linear (Linear-inspired palette)
How do themes affect syntax highlighting?
How do themes affect syntax highlighting?
Themes control both the UI colors and code syntax highlighting. When you switch to “Nord”, for example, your code blocks will use Nord’s color palette.
Border Radius
Adjust UI roundness:⌘K→ “Set Border Radius”- Choose:
- Default: Sharp corners (0px)
- Small: Subtle rounding (4px)
- Medium: Balanced (8px)
- Large: Soft & rounded (12px)
- Changes apply immediately
Account Management
Switch GitHub accounts or add PAT (Personal Access Token) accounts:Switching Accounts
- Press
⌘K - Select “Account Settings”
- Click the account you want to activate
- Better Hub reloads with the new account
Adding a PAT Account
Use multiple GitHub accounts simultaneously:⌘K→ “Account Settings” → “Add Account”- Paste your GitHub Personal Access Token
- The account appears in the switcher
- Toggle between OAuth account and PAT accounts
Search Behavior
Repository Search
Searches happen in two phases:- Instant - Your repos are searched immediately (cached locally)
- Debounced - After 150ms, GitHub API is queried for public repos
File Search
File search uses fuzzy matching:- Exact filename match: Highest priority
- Filename contains query: Medium priority
- Path contains query: Lower priority
Recently Viewed
The command center shows your last 5 viewed items:- Repository pages
- Pull requests
- Issues
- User profiles
- Commits
- Icon (based on type)
- Title
- Subtitle (repo or context)
- Timestamp
Recently viewed items refresh whenever you open the command center, so they’re always current.
Keyboard Navigation
Efficient navigation without the mouse:| Key | Action |
|---|---|
↓ | Select next item |
↑ | Select previous item |
Enter | Execute selected command |
Tab | Cycle modes (commands → search → theme → …) |
Backspace (on empty) | Go back to commands mode |
Esc | Close command center |
Mode Switching
With Tab Key
PressTab to cycle through modes:
With Shortcuts
/in commands mode → Switches to searchBackspaceon empty input → Goes back to commands
Visual Indicators
Each mode has a unique icon in the search bar:- 🔍 Search mode
- 📄 File finder
- 🎨 Theme picker
- ⚙️ Settings
Advanced Features
Pin from Current Page
When on a PR/issue:Preview Public View
On your own repo overview:Open External Links
Best Practices
Troubleshooting
Command center doesn't open
Command center doesn't open
Check if you’re in an input field. Press
Esc first to blur the input, then try ⌘K again.Search results are empty
Search results are empty
Ensure you have network connectivity. Repository search queries the GitHub API. Try searching one of your own repos by exact name.
File search shows no results
File search shows no results
File search only works on repository pages. Make sure you’re viewing a repo (not dashboard or settings).
Related Features
- Ghost AI - Open Ghost from command center
- Repository Overview - Pin items to overview
- Keyboard Shortcuts - All shortcuts reference
- Pull Requests - Navigate to PRs quickly