8000 GitHub - geminixiang/hf-viewer: A fast, focused viewer for discovering Hugging Face models · GitHub
[go: up one dir, main page]

Skip to content
geminixiangPublic

About

A fast, focused viewer for discovering Hugging Face models

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

🤗 HF Viewer

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

HF Viewer interface showing live Hugging Face model intelligence

Features

  • 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

Local development

Requirements: Node.js and Wrangler.

npm run dev

Then open the local URL printed by Wrangler.

Deployment

npm run deploy

The Cloudflare Pages project is named hf-viewer.

Structure

  • public/ — static frontend
  • functions/api/models.js — live Hugging Face API proxy
  • wrangler.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.

About

A fast, focused viewer for discovering Hugging Face models

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0