Overview
Built specifically for Raycast on macOS, this extension provides keyboard-first access to your Teak vault with three powerful commands.Technology Stack
- Raycast API 1.104+
- React components
- Raycast Utils
- Teak API integration
Platform
- macOS only
- Raycast required
- Keyboard-first workflow
- Native macOS integration
Commands
The extension provides three focused commands:Quick Save
Quick Save
Capture text or links to Teak without leaving your workflowPerfect for:
- Paste or type any content
- Automatically detects URLs
- Instant save with feedback
- Duplicate detection
- No context switching required
- Saving links while browsing
- Capturing quick notes
- Storing URLs from Slack/Email
- Recording fleeting thoughts
Search Cards
Search Cards
Find anything in your Teak vault instantlySearch capabilities:
- Full-text search across all cards
- Search by content, tags, or metadata
- Real-time results as you type
- Open cards in Teak web app
- Copy card content to clipboard
- Card titles and content
- AI-generated summaries
- Tags and categories
- URLs and metadata
Favorites
Favorites
Access your saved favorites lightning fastIdeal for:
- Browse favorited cards
- Instant access to important items
- Open in web app or copy
- Keyboard navigation
- Frequently referenced links
- Important notes
- Go-to resources
- Quick reference materials
Installation
Prerequisites
Install Raycast
Download and install Raycast (free):
Get API Key
Generate an API key from Teak:
- Open Teak Settings
- Navigate to API Keys
- Click Generate New Key
- Copy the key (shown once)
Install Extension
- Raycast Store
- Developer Mode
Configuration
API Key Setup
The extension requires an API key to communicate with your Teak account:Add to Raycast
In Raycast:
- Open Raycast preferences (
⌘ + ,) - Go to Extensions → Teak
- Paste your API key
- Save
API keys are stored securely in your macOS Keychain. They never leave your device except to authenticate with Teak’s API.
Keyboard Shortcuts
Customize shortcuts for each command:- Open Raycast Preferences
- Go to Extensions → Teak
- Click on a command
- Set your preferred keyboard shortcut
Recommended Shortcuts
- Quick Save:
⌥ + ⌘ + S - Search Cards:
⌥ + ⌘ + F - Favorites:
⌥ + ⌘ + D
Development
Setup
Project Structure
API Integration
The extension uses the Teak API for all operations:lib/api.ts
Command Implementation
Each command is a separate React component:quick-save.tsx
Features in Detail
Quick Save
The Quick Save command provides instant content capture:- Text
- URLs
- Mixed
Save quick notes and thoughts:
- Saved as text card
- AI summary generated
- Searchable immediately
Search Cards
Powerful search with real-time results:- Instant results as you type
- Fuzzy matching
- Search across all card types
- Filter by favorites, tags, or date
- Preview card content
- Open in Teak or copy to clipboard
Favorites
Quick access to your starred content:Performance
Optimization
The extension is optimized for speed:- Lazy loading: Commands load only when needed
- Caching: Recent searches cached locally
- Debouncing: Search queries debounced (300ms)
- Minimal bundle: ~50KB total size
Response Times
- Quick Save: <500ms
- Search: <200ms (cached), <1s (new query)
- Favorites: <300ms
Error Handling
The extension provides clear error messages:Invalid API Key
Invalid API Key
Error: “Authentication failed”Solution:
- Generate a new API key in Teak settings
- Update in Raycast preferences
- Try again
Network Error
Network Error
Error: “Failed to connect to Teak”Solution:
- Check internet connection
- Verify api.teakvault.com is accessible
- Check firewall settings
Card Limit Reached
Card Limit Reached
Error: “Upgrade required”Solution:
- Upgrade your Teak plan
- Delete old cards
- Check billing settings
Privacy & Security
Privacy First
- API key stored in macOS Keychain
- No telemetry or analytics
- Direct communication with Teak API only
- No third-party services
- Open source code
Data Flow
All communication is encrypted (HTTPS) and authenticated with your personal API key.Publishing
To publish the extension to the Raycast Store:Troubleshooting
Extension Not Loading
Extension Not Loading
- Check Raycast version (requires 1.50+)
- Reinstall extension
- Check console for errors:
⌘ + ⌥ + Iin Raycast - Verify package.json is valid
Commands Not Appearing
Commands Not Appearing
- Rebuild extension:
bun run build - Refresh Raycast:
⌘ + R - Check extension is enabled in preferences
- Reinstall if necessary
Slow Performance
Slow Performance
- Clear Raycast cache
- Reduce search result limit
- Check network latency
- Update to latest version
Roadmap
Planned features for future releases:Offline Support
Cache recent cards for offline access
Quick Look
Preview cards without opening web app
Tags
Add tags during quick save
Templates
Save with predefined templates
Learn More
API Reference
Learn about Teak’s API
Web App
Explore the Teak web application
Raycast
Official Raycast developer docs
Get Raycast
Download Raycast for macOS