Spaces:
Running
Running
Commit History
-
fix: deduplicate forked spaces with identical repo names
Forks of apps (e.g. reachy_mini_conversation_app) keep the same repo name, causing duplicates in the app store. Deduplicate by name with priority: 1) official, 2) oldest (original), 3) most likes. Also expose createdAt from HF API for accurate original detection. Co-authored-by: Cursor <cursoragent@cursor.com>faacae5
-
perf: reduce apps cache TTL from 24h to 5min
HF Hub API rate limits allow up to 1000 requests per 5-minute window for free users. With only 2 API calls per refresh, a 5-minute cache is well within limits and ensures new community apps appear quickly. Co-authored-by: Cursor <cursoragent@cursor.com>eee87e9
-
fix: pass OAuth clientId from server to frontend for Docker Spaces
Docker Spaces don't auto-inject window.huggingface.variables like static Spaces do. Add /api/oauth-config endpoint that exposes OAUTH_CLIENT_ID and OAUTH_SCOPES from server env vars to the frontend. AuthContext now fetches this config on mount and passes clientId to oauthLoginUrl(). Sign-in UI is hidden when OAuth is not available (e.g. local dev). Co-authored-by: Cursor <cursoragent@cursor.com>45671b3 -
Refactor API to desktop-compatible format
- Add url, source_kind, downloads, runtime fields - Move metadata into extra object structure - Update frontend to use new extra.* accessors - Enables desktop app to use website API directly Co-authored-by: Cursor <cursoragent@cursor.com>4d77ab0
-
Add Express server with 24h cache + differentiate web/python apps
- Add Express server that caches HF API responses for 24 hours - Fetch all reachy_mini tagged apps (not just python apps) - Differentiate web apps (open in new tab) vs python apps (install modal) - Web apps show purple "Web" badge and "Open" button - Dynamic app count on Home page (rounded to nearest 10) - Vite proxy config for local developmente8700c6