Spaces:
Running
feat: replace the website with a "site has moved" page
Browse filesThe 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/desktop-app-screenshot--white.png stays because the
reachy_mini documentation embeds it straight from this repository.
Frontend dependencies are left in package.json on purpose, so that the
lockfile and the Docker build are unchanged by this commit.
Co-authored-by: Cursor <cursoragent@cursor.com>
Files changed (50)
- index.html+229-4
- public/assets/Reachy-mini-wake-up-companion.mp4Deleted-3
- public/assets/apple-logo.svgDeleted
- public/assets/application-box.svgDeleted
- public/assets/assembly-screenshot.pngDeleted
- public/assets/desktop-app-screenshot--dark.pngDeleted
- public/assets/discord-logo.svgDeleted
- public/assets/expression.svgDeleted
- public/assets/hf-logo.svgDeleted
- public/assets/idle-reachy-ai.gifDeleted
- public/assets/idle-reachy-opencv.gifDeleted
- public/assets/idle-reachy.gifDeleted
- public/assets/joystick.svgDeleted
- public/assets/linux-logo.svgDeleted
- public/assets/logo--black.svgDeleted
- public/assets/logo--white.svgDeleted
- public/assets/logo.svgDeleted
- public/assets/miniature_lite.pngDeleted
- public/assets/miniature_wireless.pngDeleted
- public/assets/pollen-logo-icon.svgDeleted
- public/assets/pollen-robotics-logo.svgDeleted
- public/assets/reachies/astronaut.pngDeleted
- public/assets/reachies/builder.pngDeleted
- public/assets/reachies/captain.pngDeleted
- public/assets/reachies/cowboy.pngDeleted
- public/assets/reachies/doctor.pngDeleted
- public/assets/reachies/explorer.pngDeleted
- public/assets/reachies/hacker.pngDeleted
- public/assets/reachies/jazzman.pngDeleted
- public/assets/reachies/magician.pngDeleted
- public/assets/reachies/plumber.pngDeleted
- public/assets/reachies/student.pngDeleted
- public/assets/reachy-conversation-app.jpgDeleted
- public/assets/reachy-detective.svgDeleted
- public/assets/reachy-hand-tracking-app.jpgDeleted
- public/assets/reachy-how-to-create-app.svgDeleted
- public/assets/reachy-icon.svgDeleted
- public/assets/reachy-mini-access-point-QR-code.pngDeleted
- public/assets/reachy-mini-demo-dashboard.gifDeleted
- public/assets/reachy-mini-hand-tracking.gifDeleted
- public/assets/reachy-stop.svgDeleted
- public/assets/reachy-update-box.svgDeleted
- public/assets/rocket.svgDeleted
- public/assets/sleeping-reachy.svgDeleted
- public/assets/windows-logo.svgDeleted
- public/vite.svgDeleted
- src/App.jsxDeleted-113
- src/assets/hf-logo.svgDeleted
- src/assets/original/alfred.pngDeleted
- src/assets/original/ambulance.pngDeleted
17 unmodified lines18192021222324251 unmodified line2728293031323317 unmodified lines<meta charset="UTF-8" /><link rel="icon" type="image/svg+xml" href="/favicon.svg" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="Reachy Mini is an expressive, open-source robot designed for human-robot interaction, creative coding, and AI experimentation." /><title>Reachy Mini - Open Source Companion Robot</title></head><body><!-- Google Tag Manager (noscript) -->1 unmodified lineheight="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) --><div id="root"></div><script type="module" src="/src/main.jsx"></script></body></html>17 unmodified lines181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162171 unmodified line21922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725817 unmodified lines<meta charset="UTF-8" /><link rel="icon" type="image/svg+xml" href="/favicon.svg" /><meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="description" content="The Reachy Mini website has moved to pollen-robotics.com." /><link rel="canonical" href="https://pollen-robotics.com/reachy-mini/" /><title>Reachy Mini has moved to pollen-robotics.com</title><link rel="preconnect" href="https://fonts.googleapis.com" /><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400..700&display=swap" /><!--The whole site is this one "we have moved" page: it is served for everyroute (see the SPA fallback in server/index.js) and src/moved.js pointsthe button at the matching page of the new site. Markup and styles areinline so the page shows at once, and still works if the script fails.--><style>:root {color-scheme: dark;--orange: #ff9500;--orange-light: #ffb340;--orange-dark: #e08500;--ink: #1d1d1f;}* {box-sizing: border-box;}html {-webkit-text-size-adjust: 100%;}body {margin: 0;background: #0f0f1a linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%) fixed;color: #fff;font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;-webkit-font-smoothing: antialiased;}.moved {position: relative;display: flex;flex-direction: column;align-items: center;justify-content: center;min-height: 100vh;min-height: 100dvh;padding: 32px 24px 48px;overflow: hidden;text-align: center;}/* Soft orange glow, as in the hero of the former site. */.moved::before {content: '';position: absolute;top: -20%;left: 50%;width: 640px;height: 640px;transform: translateX(-50%);background: radial-gradient(circle, rgba(255, 149, 0, 0.16) 0%, transparent 60%);pointer-events: none;}.moved > * {position: relative;}.moved__brand {display: flex;align-items: center;gap: 12px;margin-bottom: 32px;font-size: 20px;font-weight: 700;letter-spacing: -0.03em;}.moved__brand img {display: block;width: 60px;height: 60px;}.moved__title {max-width: 560px;margin: 0 0 16px;font-size: 32px;font-weight: 700;line-height: 1.15;letter-spacing: -0.03em;text-wrap: balance;}.moved__lead {max-width: 440px;margin: 0 0 32px;color: rgba(255, 255, 255, 0.75);font-size: 17px;line-height: 1.6;}.moved__lead strong {color: #fff;font-weight: 600;/* Never break the domain name at its hyphen. */white-space: nowrap;}.moved__button {display: inline-flex;align-items: center;justify-content: center;gap: 10px;width: 100%;max-width: 360px;min-height: 56px;padding: 14px 28px;border-radius: 999px;background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);box-shadow: 0 8px 28px rgba(255, 149, 0, 0.32);/* Dark text: white on this orange is too faint to read outdoors. */color: var(--ink);font-size: 17px;font-weight: 700;line-height: 1.25;text-decoration: none;transition: transform 0.2s ease, background 0.2s ease;}.moved__button:hover {background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);transform: scale(1.02);}.moved__button:focus-visible {outline: 3px solid #fff;outline-offset: 3px;}.moved__button svg {flex-shrink: 0;width: 20px;height: 20px;fill: currentColor;}.moved__destination {max-width: 360px;margin: 16px 0 0;color: rgba(255, 255, 255, 0.6);font-size: 14px;line-height: 1.5;overflow-wrap: anywhere;}.moved__sr-only {position: absolute;width: 1px;height: 1px;margin: -1px;padding: 0;border: 0;overflow: hidden;clip: rect(0 0 0 0);white-space: nowrap;}@media (min-width: 600px) {.moved__title {font-size: 44px;}.moved__lead {font-size: 18px;}.moved__button {width: auto;min-width: 300px;}}@media (prefers-reduced-motion: reduce) {.moved__button {transition: none;}.moved__button:hover {transform: none;}}</style></head><body><!-- Google Tag Manager (noscript) -->1 unmodified lineheight="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><!-- End Google Tag Manager (noscript) --><main class="moved"><div class="moved__brand"><img src="/favicon.svg" alt="" width="60" height="60" /><span>Reachy Mini</span></div><h1 class="moved__title">Reachy Mini has a new home</h1><p class="moved__lead">Our website now lives at <strong>pollen-robotics.com</strong>.This page is no longer updated.</p><!--The defaults below point at the new home page. src/moved.js swaps inthe page matching the route or hash the visitor arrived with.Keep target="_blank": inside the Hugging Face frame a link cannotnavigate the browser tab, it can only open a new one.--><aid="moved-link"class="moved__button"href="https://pollen-robotics.com/reachy-mini/"target="_blank"rel="noopener"><span id="moved-label">Go to the new site</span><svg viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /></svg><span class="moved__sr-only">(opens in a new tab)</span></a><p id="moved-destination" class="moved__destination">pollen-robotics.com/reachy-mini</p></main><script type="module" src="/src/moved.js"></script></body></html>
123version https://git-lfs.github.com/spec/v1oid sha256:8a1f5d23ffddfa87218f1697533f187cf76c3327e18234fa8ed5a2d8bf05dae0size 15339406123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113import { useEffect } from 'react';import { BrowserRouter, Routes, Route, Navigate, useLocation, useNavigate } from 'react-router-dom';import { ThemeProvider, CssBaseline } from '@mui/material';import theme from './theme/theme';import { AppsProvider } from './context/AppsContext';import { AuthProvider } from './context/AuthContext';
import Home from './pages/Home';import Download from './pages/Download';import FAQ from './pages/FAQ';import Apps from './pages/Apps';import Buy from './pages/Buy';import GettingStarted from './pages/GettingStarted';import Build from './pages/Build';
/** * Handle hash-to-path redirect for HuggingFace Spaces iframe embedding. * * HF propagates the parent page's hash to the iframe on initial load. * For example, visiting huggingface.co/reachy-mini#/apps will load the * iframe at *.hf.space/#/apps. This component reads that hash and * converts it to a BrowserRouter path (e.g. /apps). */function HashRedirect() { const navigate = useNavigate();
useEffect(() => { const hash = window.location.hash; // Match hash routes like #/apps, #/download, #apps, #download, etc. if (hash && hash.length > 1) { // Support both #/apps and #apps formats const path = hash.startsWith('#/') ? hash.slice(1) : `/${hash.slice(1)}`; // Use replaceState to cleanly remove hash without triggering navigation window.history.replaceState(null, '', window.location.pathname); navigate(path, { replace: true }); } }, [navigate]);
return null;}
/** * Sync the current route back to the HF parent page via postMessage. * This updates the URL in the browser address bar so users can * copy/share deep links (e.g. huggingface.co/reachy-mini#/apps). * * Also handles scrollTo query parameter for anchor-like behavior. */function RouteSync() { const location = useLocation();
useEffect(() => { // Sync current path to parent frame hash (for HF Spaces embedding) const isInIframe = window.parent !== window; if (isInIframe && location.pathname !== '/') { window.parent.postMessage( { hash: `#${location.pathname}` }, 'https://huggingface.co' ); } else if (isInIframe && location.pathname === '/') { // Clear hash when on home page window.parent.postMessage({ hash: '' }, 'https://huggingface.co'); }
// Handle scrollTo query parameter const params = new URLSearchParams(location.search); const scrollTo = params.get('scrollTo');
if (scrollTo) { // Retry mechanism to wait for element to be rendered const scrollToElement = (retries = 0) => { const element = document.getElementById(scrollTo); if (element) { element.scrollIntoView({ behavior: 'smooth', block: 'center' }); } else if (retries < 10) { setTimeout(() => scrollToElement(retries + 1), 100); } }; setTimeout(() => scrollToElement(), 300); } else { window.scrollTo({ top: 0, behavior: 'smooth' }); } }, [location.pathname, location.search]);
return null;}
export default function App() { return ( <ThemeProvider theme={theme}> <CssBaseline /> <AuthProvider> <AppsProvider> <BrowserRouter> <HashRedirect /> <RouteSync /> <Routes> <Route path="/" element={<Home />} /> <Route path="/getting-started" element={<GettingStarted />} /> <Route path="https://huggingface.co/docs/reachy_mini/" element={<Build />} /> <Route path="/download" element={<Download />} /> <Route path="https://huggingface.co/docs/reachy_mini/troubleshooting" element={<FAQ />} /> <Route path="/apps" element={<Apps />} /> <Route path="/buy" element={<Buy />} /> {/* Catch-all: redirect unknown routes to home */} <Route path="*" element={<Navigate to="/" replace />} /> </Routes> </BrowserRouter> </AppsProvider> </AuthProvider> </ThemeProvider> );}
Large File Pointer Details
- SHA256: f63db53ee41209f30da7ffbfce633e28c5efc1c0c53c852a85063cb1f7496cef
- Pointer size: 132 Bytes
- Size of remote file: 1.86 MB

Large File Pointer Details
- SHA256: 88784ef09fbd28b55d44c446274240364f2737c792edc8614a408a8c72ed7175
- Pointer size: 131 Bytes
- Size of remote file: 637 kB

Large File Pointer Details
- SHA256: 0c496798eccd4f0a7572b257f31496484ab9b1717ec119a79c81149289193715
- Pointer size: 132 Bytes
- Size of remote file: 6.07 MB

Large File Pointer Details
- SHA256: 5643b49a1fbe6ec724cebcaaacf7796798f1295fe2122f18ef016cdad4823ea4
- Pointer size: 132 Bytes
- Size of remote file: 3.35 MB

Large File Pointer Details
- SHA256: cd1c7a487842b674720a8a3fb15393cd6e59efd71d20d395fed7d9bf9a914d99
- Pointer size: 132 Bytes
- Size of remote file: 7.77 MB

Large File Pointer Details
- SHA256: 52b066eb8d350bf5c63205feb9e2ec7040d8b33f8c2535841a3b4a2e851ef95e
- Pointer size: 131 Bytes
- Size of remote file: 112 kB

Large File Pointer Details
- SHA256: c80fddeda93e2d0bf25adf712409c0dc5c8054b8b9d08911c627a13a4d71f32b
- Pointer size: 132 Bytes
- Size of remote file: 1.16 MB

Large File Pointer Details
- SHA256: 5ec06592da609306b699d29ba701daa10013a8978663f7133902db581e71d256
- Pointer size: 131 Bytes
- Size of remote file: 640 kB

Large File Pointer Details
- SHA256: 614c1e604279c03ff103e7556abbdf10aa4fef9ad262ec99927eba8cbf323465
- Pointer size: 131 Bytes
- Size of remote file: 297 kB

Large File Pointer Details
- SHA256: ca71dad3aa3d6c01a59115bea40c8267a3188e2c76e3e1dc422557c0126a1849
- Pointer size: 131 Bytes
- Size of remote file: 717 kB

Large File Pointer Details
- SHA256: 729500a893083b48e1f9b6c6e1a8878ddae358edd4eb1b48a69899c0e4363228
- Pointer size: 131 Bytes
- Size of remote file: 786 kB

Large File Pointer Details
- SHA256: 0a0d362981db03948d11a10f87f2d4b42814deb8d1a16a31e3e14fcdf76b47cd
- Pointer size: 131 Bytes
- Size of remote file: 280 kB

Large File Pointer Details
- SHA256: 3cd02a31ada7e023460289998bd11c5cbd3c7c55cfabb214420ce4ad40a37f47
- Pointer size: 131 Bytes
- Size of remote file: 645 kB

Large File Pointer Details
- SHA256: 858d6a623768e6107a56c2828494acb18209b86dd1ea494cfbee8aa8d57195ce
- Pointer size: 131 Bytes
- Size of remote file: 431 kB

Large File Pointer Details
- SHA256: 6ded3931bef0a593ea33221c5caab27ee000b8acf52ee972ab5c52fab387f442
- Pointer size: 131 Bytes
- Size of remote file: 638 kB

Large File Pointer Details
- SHA256: 6b479d32c04eaba5b52176a87ef8725bfe05f3c67469b86ba1eab09af38b3488
- Pointer size: 131 Bytes
- Size of remote file: 926 kB

Large File Pointer Details
- SHA256: 566f4854832a371d0e6f913cad89d99acc4e5f0fd04d83a4eb0de1cee9220aca
- Pointer size: 131 Bytes
- Size of remote file: 521 kB

Large File Pointer Details
- SHA256: 8bb2ef774a09acfd8dc496f286705422838999fc71c6fe32a597a3b4569315d8
- Pointer size: 131 Bytes
- Size of remote file: 622 kB

Large File Pointer Details
- SHA256: 0245adfd5b60c2c21bc4ae8f6e31f9565b2a35915c1f171a0538c46ecfc40e70
- Pointer size: 131 Bytes
- Size of remote file: 160 kB
Large File Pointer Details
- SHA256: 62e22f77be87cf46bcaae86babc0544193dc910c9c1a1909d64af0172e5a9f23
- Pointer size: 131 Bytes
- Size of remote file: 161 kB

Large File Pointer Details
- SHA256: deb7d1a6526187f7513a446e062c7fbd5312943efdf6556aee468fa83d627350
- Pointer size: 129 Bytes
- Size of remote file: 1.87 kB

Large File Pointer Details
- SHA256: c665057d1a9bf0fe9bd1821b3c99fdba1d6b871f61ae9030bfb977fe0d270201
- Pointer size: 132 Bytes
- Size of remote file: 1.06 MB
Large File Pointer Details
- SHA256: 3b8df0f6901b3d85e56a4a598d2a2400002c9484313fcaeb7188961eb2ed4ae6
- Pointer size: 132 Bytes
- Size of remote file: 5.66 MB

Large File Pointer Details
- SHA256: aa14803e93b9efd0e3c0ab5b4d7c9a7f6d86fc30e3c00d67944a21cdfdfa5020
- Pointer size: 131 Bytes
- Size of remote file: 862 kB

Large File Pointer Details
- SHA256: 1ebcd3161b7a0484b19eda75ac48b8ad442a4b33aef4064ae898e890c3ca6be9
- Pointer size: 131 Bytes
- Size of remote file: 616 kB