What are Dashboard Scripts?
Dashboard scripts use theinline mode and refreshTime parameter to:
- Display information directly in Raycast’s command list
- Auto-refresh at specified intervals (10s, 1m, 12h, 1d)
- Show live status without executing the script manually
- Pin to favorites for always-visible widgets
Learn more about inline mode in the Output Modes documentation.
Available Dashboard Scripts
System Monitoring
- CPU usage
- Memory usage
- Battery status
- Disk space
- Network status
- Temperature sensors
Time & Calendar
- Current time in multiple time zones
- Countdown timers
- Upcoming calendar events
- Days until/since dates
Weather
- Current weather conditions
- Temperature and humidity
- Weather forecasts
- Weather alerts
Cryptocurrency
- Crypto prices
- Portfolio values
- Price change indicators
- Market caps
Stock Prices
- Live stock quotes
- Market indices
- Portfolio tracking
- Price alerts
API Monitoring
- Service status
- API health checks
- Uptime monitoring
- Response times
Metrics & Analytics
- Business metrics (ARR, MRR, ARPU)
- Website analytics
- Performance indicators
- Custom KPIs
Developer Stats
- GitHub stats
- CI/CD status
- Deployment status
- Build health
Creating Dashboard Scripts
A dashboard script requires:- Inline mode - Display output in the command list
- Refresh time - Auto-update interval
- Brief output - First line is displayed
Example Dashboard Script
Best Practices
Choose Appropriate Refresh Intervals
Balance freshness with performance. Use longer intervals for less time-sensitive data.
Handle API Failures Gracefully
Display fallback text or cached values when external APIs are unavailable.
Performance Considerations
Refresh Time Guidelines
Refresh Time Guidelines
- 10-30s: System metrics (CPU, memory)
- 1-5m: Weather, stock prices
- 10-30m: Analytics, metrics dashboards
- 1-6h: Less critical monitoring
- 12-24h: Daily summaries, reports
Caching Strategies
Caching Strategies
For scripts calling external APIs:
- Cache responses to reduce API calls
- Use the refresh time to control cache expiry
- Store cache in
/tmpor~/.cache
Related Documentation
Output Modes
Learn more about inline mode and ANSI colors
System Scripts
System monitoring and status scripts

