Spaces:
Running
Running
Commit History
13 days ago
-
feat: replace the website with a "site has moved" page Running
The Reachy Mini website now lives at pollen-robotics.com and the copy hosted in this Space was out of date. The Space now serves one page for every route and hash, with a single button to the matching page of the new site: getting-started -> /reachy-mini/getting-started/ download -> /reachy-mini/download/ apps -> /reachy-mini/apps/ buy -> /reachy-mini/buy/ anything else -> /reachy-mini/ Both "#/x" and "#x" are accepted, as well as the path ("/x"). The button opens a new tab: on huggingface.co the Space runs in a sandboxed frame that is not allowed to navigate the browser tab. When the page is opened directly (*.hf.space), it redirects to the same destination; add ?noredirect to the URL to look at the page itself. Remove the former React frontend (src/, public/assets). The Express API in server/ is untouched and keeps serving its endpoints: the desktop app, pollen-robotics.com and other clients still call them on this host. public/assets/des…984412a
-
add seeed for non UE/US countries
Matthieu Lapeyreec51c64 -
update pricing and shop
Matthieu Lapeyre208a459
-
Update for new prices coming soon
Verified signatured2d78a2
-
perf(api): compress + revalidate catalog responses
Catalog endpoints (`/api/apps`, `/api/js-apps`) previously shipped ~40KB of JSON uncompressed on every hit, with no cache headers and a body-embedded `cacheAge` counter that auto-invalidated Express's ETag every second. This commit: - Adds `compression` middleware: ~40KB JSON -> ~5.5KB on the wire (-86%). - Promotes `cacheAge` from body field to the standard `Age` HTTP header (RFC 7234 sec 5.1). With the volatile field gone, the response body is byte-stable across same-cache-window requests, so Express's default weak ETag becomes usable for conditional revalidation (`If-None-Match` -> 304 with no body). - Sets `Cache-Control: public, max-age=60, stale-while-revalidate=300` via a shared helper so both endpoints stay coherent. - Exposes `Age` via `Access-Control-Expose-Headers` so cross-origin JS clients (mobile shell, desktop store) can read it from `response.headers.get('age')`. - Updates `AppsContext` (same-origin website client) to read the…a91ec59
-
fix(api): use GA /v1/realtime/client_secrets for ephemeral mint
The Beta endpoint (/v1/realtime/sessions) was retired on 2026-05-07 and only accepted preview models; the mobile shell is already built against the GA model `gpt-realtime-2`. Switch to the GA endpoint with the new session envelope shape (session.type, session.audio.output.voice). Defaults bumped to match the mobile client's settings.ts (gpt-realtime-2 + cedar). Co-authored-by: Cursor <cursoragent@cursor.com>456ca5d -
feat(api): mint per-user OpenAI Realtime ephemeral keys
New POST /api/openai/ephemeral endpoint: validates the caller's HF Bearer token via whoami-v2, rate-limits per HF user (60/hour default), and proxies POST /v1/realtime/sessions to OpenAI with the master OPENAI_API_KEY from the Space secrets. Lets the Reachy Mini mobile shell stop baking a long-lived OpenAI key into the distributed bundle (OpenAI ToS + extraction risk). Co-authored-by: Cursor <cursoragent@cursor.com>13ada57
-
feat(api): expose category taxonomy to clients
Ships the closed category taxonomy alongside the apps payload so clients (mobile shell, future website filter chips) no longer have to mirror the slug list by hand, which silently drifted over time (e.g. `games` missing from the mobile mirror, `dance` outliving its rename to `motion`). - `getPublicTaxonomy()` in `categories.js`: stable, minimal projection (`{slug, label, emoji, order}`) - the LLM-only `description` field stays internal. - `/api/js-apps` embeds it under `categorization.taxonomy` so the mobile catalog fetch stays a single round-trip. - New `GET /api/categories` for clients that only want the slug list (early UI scaffolding, tooling). 5-min cache aligned with the catalog TTL. Forward-compatible: old clients ignore the new fields; new clients fall back to a local snapshot when the field is missing. Co-authored-by: Cursor <cursoragent@cursor.com>20e2e73
-
refactor(icons): probe public/icon.svg instead of root icon.svg
Single source of truth: apps now ship only `public/icon.svg`, which Vite copies to `dist/icon.svg` for nginx serving (favicon, mountHost top-bar logo) and the catalog server resolves via the HF API. Co-authored-by: Cursor <cursoragent@cursor.com>f01ae59 -
Update src/pages/Buy.jsx
Verified signaturee93a24a -
Update src/pages/Home.jsx
Verified signature04c36e6 -
Update src/pages/Buy.jsx
Verified signature2ea6f6b -
refactor(api): scope dedup per route to surface JS-only same-name apps
Move the name-based dedup out of `fetchAppsFromHF` so each route can apply its own policy on top of a single raw cache: - `/api/apps` (showcase site) keeps the original global dedup, so Python forks of `reachy_mini_conversation_app` etc. still collapse to a single tile. - `/api/js-apps` (mobile shell) now dedups within the JS subset only, so a JS Space like `tfrere/emotions` no longer loses a name fight against an unrelated Python Space (`RemiFabre/emotions`) and surfaces correctly in the store. `getApps()` is renamed to `getRawApps()` to make the cache contract explicit, and `dedupAppsByName` is shared between `dedupGlobalApps` and `dedupJsApps` so the policies can diverge later without churn. Co-authored-by: Cursor <cursoragent@cursor.com>196fa01
-
feat(api): publish iconUrl on /api/js-apps from Space siblings
Detects a custom app glyph by scanning each Space's `siblings` (returned by HF's `?full=true`) for `icon.svg` or `icon.png` at the repo root, then emits an absolute `resolve/main/<file>` URL on the app entry as `iconUrl`. Falls back to `null` when neither candidate is present, so clients keep painting the front-matter emoji for the long tail of apps that don't ship a custom icon. SVG wins over PNG when both are present so authors can rely on a single vector asset across every mount point. Resolution lives server-side behind the existing 5-minute catalog cache, so the lookup cost stays O(apps) per refresh - independent of client fleet size. The HF API call already pulls `siblings` via `full=true`; no extra network roundtrip. Documents the convention in docs/APP_ICON_CONVENTION.md for app authors. Co-authored-by: Cursor <cursoragent@cursor.com>07a94f1
-
chore(content): update lead times (Lite 30d, Wireless 60d)
Co-authored-by: Cursor <cursoragent@cursor.com>4055f89 -
feat(categories): rename `dance` to `motion`, fold dance-with-music into `music`
The `dance` slug had a fuzzy boundary with `music` (anything Reachy moves to musically could go either way) and didn't capture pure motion apps (marionette, motion replay, expressive body language without music). New split - `music` now covers music creation/playback AND music-driven dance parties (the music drives the experience). - `motion` covers physical movement on its own: marionette-style remote control, motion replay, kinetic shows, choreography WITHOUT music. Tie-break rule explicitly added to STEP 2 of the prompt: - music-driven dance party (Reachy dances to a song) -> `music` - pure choreography / marionette / replay without music -> `motion` TAXONOMY_VERSION: 3 -> 4 (forces a reclassify on next boot). Effect on the 24 prod apps (single-label): - reachy-dance-duo dance -> music (music-driven) - reachy-dance-duo-js dance -> music (music-driven) - marionette-js dance -> motion (no music, pur…b38029b -
feat(categories): switch to single-label classification
Each app now gets EXACTLY ONE category - the dominant slug that best captures its primary identity - instead of up to 3. Rationale Multi-label was producing the same app in multiple mobile-shell swipers (a music+dance+games app would surface in three category rows), which made the browse surface feel noisy and duplicated. Single-label gives every app exactly one home, which is what the mobile category chips and per-category swipers need. Changes - MAX_CATEGORIES_PER_APP: 3 -> 1. - Prompt OUTPUT FORMAT: "Pick EXACTLY ONE slug" instead of "1 to 3". - STEP 2 of the DECISION ALGORITHM: explicit tie-break guidance (which slug a user would name FIRST in one word), with concrete examples (music+dance, storytelling+kids, vision+games). - Few-shot: Music Quiz example moved from ["music","games","dance"] to ["music"] to model the tie-break. - TAXONOMY_VERSION: 2 -> 3 (forces a reclassify on the next boot). Side effects (positive) Single-label naturally resolv…cf69ce3 -
feat(categories): v2 taxonomy + DECISION ALGORITHM prompt
Iterates the LLM categorization prompt to fix the v1 pitfalls surfaced by a 24-app eval pass: - dev-tools was combined with other slugs on user-facing apps - companion was hallucinated on any social/interactive UI - music was hallucinated on Morse-style audio output - storytelling was claimed on daily reports / Q&A - kids was claimed on lifestyle / persona apps Changes - Add `games` slug (covers magic-8-ball, cube solver, future quizzes). - Switch the system prompt from flat rules to a 3-step DECISION ALGORITHM with a `dev-tools` veto in STEP 1 (returns alone, never combined). - Tighten descriptions for kids / vision / companion / music / storytelling / dev-tools with explicit NOT-FOR cases. - Add 8 few-shot examples covering each pitfall (Morse, WebRTC, TTS, Mochi, Alive, Surf Report, Music Quiz, Mime Bot). - Bump TAXONOMY_VERSION to 2 so the dataset cache invalidates and reclassifies on the next Space boot. Eval score (24 apps): ~58% correct …3364be7
-
feat(api): /api/js-apps with LLM-inferred categories
Add a curated route that filters the catalog to JS-embeddable apps (`reachy_mini_js_app` tag) and enriches each entry with categories inferred by Llama-3.1-8B-Instruct via HF Inference Providers, from a closed taxonomy of 8 slugs (music, dance, voice, storytelling, kids, vision, companion, dev-tools). Inference results are persisted in a HF dataset (`tfrere/reachy-mini-app-categories` by default, override via HF_CATEGORIES_DATASET) and re-loaded at boot, so cold starts only re-classify what actually changed (lastModified-keyed staleness). Pre-existing /api/apps payload is unchanged: this is purely additive. Mobile shell can adopt /api/js-apps incrementally. - server/categories.js: 8-slug taxonomy + LLM-friendly descriptions - server/categorize.js: README fetch/clean + chat-completion call - server/categoryCache.js: in-mem map + dataset commit/load - server/index.js: route, warmup batch, manual refresh endpoint - .env.example: HF_TOKEN + HF_CATEGORIES_DATASET docs - .gitignore: igno…0441ab1
-
fix: show desktop-only notice on mobile and prevent .sig file downloads
- Replace download buttons with a "desktop only" message on mobile devices - Fix parseReleasePlatforms to skip .sig signature files entirely - Use endsWith('.deb') instead of includes('amd64.deb') for Linux assets - Add mobile detection to both Download and GettingStarted pages Made-with: Cursor0286a05
-
fix: rename Raspberry Pi 4 to Raspberry Pi CM 4
Made-with: Cursor3dd9c75
-
Update wireless getting started to point to desktop app.
07f7ad1
-
feat: remove macOS Intel platform from download page
macOS Intel is no longer supported. Remove all references: - Platform config, asset parsing, platform card - "Coming soon" banner and notice - GettingStarted.jsx mention - Adjust grid layout from 4 to 3 columns Co-authored-by: Cursor <cursoragent@cursor.com>ec66d2c -
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
-
feat: add import duties shipping conditions (DDP/DAP) to Buy and Home pages
Co-authored-by: Cursor <cursoragent@cursor.com>4c19a89
-
feat: add Google Tag Manager (GTM-WKKZHMJJ)
Add GTM script in <head> and noscript fallback in <body> for analytics and marketing tag management. Co-authored-by: Cursor <cursoragent@cursor.com>6e13226
-
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
-
feat: highlight fuzzy search matches on app cards
Show orange highlights on matching text in card name, description, and author. Only highlight spans of 2+ characters to avoid noisy single letter matches. Match data flows from the search worker. Co-authored-by: Cursor <cursoragent@cursor.com>c28008c -
feat: fuzzy search with Web Worker and memoized cards
- Add Fuse.js-powered fuzzy search in a Web Worker (off main thread) - Search across name, id, author, description, and tags - Extract SearchInput into isolated memoized component to prevent full page re-renders on every keystroke - Memoize AppCard with React.memo to skip unnecessary re-renders - Debounce search input (200ms) for smooth typing Co-authored-by: Cursor <cursoragent@cursor.com>2fdc543 -
feat: sort apps by likes count (descending)
Co-authored-by: Cursor <cursoragent@cursor.com>81fe438 -
feat: add dynamic tag category filters to apps page
Extract categories from HF Space tags dynamically (same logic as desktop app). Display top 8 as clickable chips between search bar and app grid. Filters combine with search and official toggle. Co-authored-by: Cursor <cursoragent@cursor.com>30a9cef
-
fix: add catch-all route and improve hash redirect handling
- Add catch-all route (*) that redirects to home for unknown paths - Support both #/apps and #apps hash formats from HF parent - Use history.replaceState instead of window.location.hash for cleaner hash cleanup without potential side effects Co-authored-by: Cursor <cursoragent@cursor.com>61eecf2 -
feat: switch to BrowserRouter with HF iframe deep linking support
Replace HashRouter with BrowserRouter for clean URLs. Add HashRedirect to handle hash-to-path conversion on initial iframe load (HF propagates parent hash to iframe). Add RouteSync to sync current route back to parent page via postMessage so users can copy/share deep links. Co-authored-by: Cursor <cursoragent@cursor.com>800eea1 -
feat: use parent postMessage for likes instead of API calls
Use the HF-provided postMessage protocol to like spaces from within the iframe. The parent frame (huggingface.co) handles auth via session cookies, bypassing CORS and OAuth token issues entirely. Protocol: parent.postMessage({type: "LIKE_REPO_REQUEST", repo: {type: "space", name: "..."}}) Response: LIKE_REPO_RESPONSE with status (done/already_liked/not_logged_in) or error Also removes write-discussions OAuth scope (no longer needed). Co-authored-by: Cursor <cursoragent@cursor.com>638248e
-
feat: use OAuth Bearer token with write-discussions scope for likes
HF team confirmed the like endpoint accepts OAuth tokens. Switch back to Bearer token auth (instead of credentials:'include') and add the write-discussions scope which should cover like permissions. Co-authored-by: Cursor <cursoragent@cursor.com>a7e92df -
feat: restore interactive like with session cookies
Since the site is served from huggingface.co/reachy-mini (same origin as the API), we can use credentials:'include' to send HF session cookies with like requests. This bypasses the OAuth token limitation on the POST /api/spaces/{id}/like endpoint. Co-authored-by: Cursor <cursoragent@cursor.com>0fe543d -
fix: replace programmatic like with redirect to HF Space page
HuggingFace intentionally blocks programmatic likes via API tokens to prevent spam. Replace the failing POST /api/spaces/{id}/like call with a redirect to the Space page on huggingface.co where users can like natively. Likes are refreshed automatically when the tab regains focus. Also remove the now-unnecessary write-discussions OAuth scope. Co-authored-by: Cursor <cursoragent@cursor.com>9ce28e1 -
fix: add write-discussions OAuth scope for like permissions
The default openid+profile scopes don't grant permission to like repositories (401 Unauthorized). Add write-discussions scope which covers reactions/interactions including likes. Co-authored-by: Cursor <cursoragent@cursor.com>7d49524 -
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 -
feat: add HF OAuth login and interactive likes on apps page
- Enable hf_oauth in Space config (README.md) - Add @huggingface/hub for OAuth login/redirect flow - Create AuthContext with login, logout, liked spaces fetching, and optimistic like/unlike toggle via HF REST API - Add "Sign in with HF" button in the apps search bar (shows avatar and username when logged in) - Replace static like counts with interactive like buttons on AppCard and InstallModal (filled pink heart when liked, outline when not) - Show tooltip "Sign in to like this app" on hover when not logged in - Graceful degradation: likes remain read-only when not authenticated Co-authored-by: Cursor <cursoragent@cursor.com>279ae3b -
fix: remove reachy_mini tag from website README
The showcase website should not appear in the app store listing. Co-authored-by: Cursor <cursoragent@cursor.com>d2c9b9b -
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
-
fix SDK link
6d63e8c
-
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 -
Make app cards fully clickable on Apps page
The entire card now opens the install modal, not just the Install button.6c16771
-
Remove duplicate lead time notice from Buy page
7ea2400 -
Remove black dot from lead time notice on Home page
95ef998 -
Add lead time notice on Home page
Display "Current Lead time: 90 days after purchase" with a black dot indicator in the products section on the Home page.4a1c9d8 -
Fix HTML parsing in product descriptions
Use dangerouslySetInnerHTML to properly render HTML tags like <strong> in product descriptions.1f12866 -
Add lead time notice on pricing page
Display "Current Lead time: 90 days after purchase" with a black dot indicator below the product cards on the Buy page.c7490a8