A fast, focused viewer for discovering trending models on Hugging Face. It reads live data from Hugging Face's models-json endpoint through a lightweight Cloudflare Pages Function.
Live site: https://hf-viewer.pages.dev
- Hundreds of live Hugging Face discovery models aggregated across multiple pages
- Search by model or author
- Filter by model task
- Sort by popularity, downloads, likes, size, or update time
- Responsive layout
- Shared Cloudflare KV cache with stale-while-revalidate refreshes
Requirements: Node.js and Wrangler.
npm run devThen open the local URL printed by Wrangler.
npm run deployThe Cloudflare Pages project is named hf-viewer.
public/— static frontendfunctions/api/models.js— live Hugging Face API proxywrangler.toml— Cloudflare Pages configuration
No Hugging Face API key is required. Runtime data is fetched from the public Hugging Face endpoint and cached in the MODEL_CACHE Cloudflare KV namespace for five minutes. Stale data remains available for up to 24 hours if Hugging Face is unavailable.