What problem does it solve? Embedding a trending news widget requires wiring together a React component, a data backend, caching, and API keys; this Skill guides you through integrating the trending-news-api package, diagnosing blank widgets, and deploying its Cloudflare Worker backend. ## Core Features & Use Cases - Widget Integration: Render the TrendingNews React component with compact, expandable, and image modes, or fetch data directly via the useTrendingNews hook and getTrendingNews functions. - Backend Deployment: Serve trending data from the app's own /api/news/trending route or deploy the standalone Cloudflare Worker that joins Wikipedia daily pageviews with The News API. - Troubleshooting: Diagnose empty widgets, missing apiEndpoint errors, stale 10-minute caches, and non-article topics like "Main Page" leaking into results. - Use Case: Your self-hosted homepage shows a blank trending widget; use this Skill to identify the missing THENEWSAPI_API_KEY, set it as a Worker secret, and clear the client cache. ## Quick Start Ask the assistant to help embed the TrendingNews component on your homepage and configure the THENEWSAPI_API_KEY so the widget renders live topics.