btuttle commited on
Commit
b91d64c
·
1 Parent(s): d1abef8

Update app index

Browse files
Files changed (3) hide show
  1. .gitignore +2 -1
  2. index.html +120 -14
  3. style.css +373 -15
.gitignore CHANGED
@@ -1,4 +1,5 @@
1
  __pycache__/
2
  *.egg-info/
3
  build/
4
- .venv/
 
 
1
  __pycache__/
2
  *.egg-info/
3
  build/
4
+ .venv/
5
+ .vscode/
index.html CHANGED
@@ -1,19 +1,125 @@
1
  <!doctype html>
2
  <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  </p>
17
  </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
  <!doctype html>
2
  <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>Reachy Mini Conversation App</title>
8
+ <link rel="preconnect" href="https://fonts.googleapis.com">
9
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10
+ <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap" rel="stylesheet">
11
+ <link rel="stylesheet" href="style.css" />
12
+ </head>
13
+
14
+ <body>
15
+ <header class="hero">
16
+ <div class="topline">
17
+ <div class="brand">
18
+ <span class="logo">🤖</span>
19
+ <span class="brand-name">Reachy Mini</span>
20
+ </div>
21
+ <div class="pill">Realtime voice · Vision aware · Expressive motion</div>
22
+ </div>
23
+ <div class="hero-grid">
24
+ <div class="hero-copy">
25
+ <p class="eyebrow">Conversation App</p>
26
+ <h1>Talk, see, and move together.</h1>
27
+ <p class="lede">
28
+ A friendly, camera-aware companion for Reachy Mini. Chat out loud, watch it follow faces, dance, or react with recorded emotions—all while streaming transcripts in a clean web UI.
29
+ </p>
30
+ <div class="hero-actions">
31
+ <a class="btn primary" href="#highlights">Explore features</a>
32
+ <a class="btn ghost" href="#story">See how it feels</a>
33
+ </div>
34
+ <div class="hero-badges">
35
+ <span>Low-latency voice loop</span>
36
+ <span>Camera insights on demand</span>
37
+ <span>Choreographed dances & emotions</span>
38
+ <span>Personality profiles via web UI</span>
39
+ </div>
40
+ </div>
41
+ <div class="hero-visual">
42
+ <div class="glass-card">
43
+ <img src="docs/assets/reachy_mini_dance.gif" alt="Reachy Mini dancing" class="hero-gif">
44
+ <p class="caption">Reachy Mini can move, dance, and emote while holding a natural conversation.</p>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </header>
49
+
50
+ <section id="highlights" class="section features">
51
+ <div class="section-header">
52
+ <p class="eyebrow">What’s inside</p>
53
+ <h2>All-in-one conversational layer for your robot</h2>
54
+ <p class="intro">
55
+ The app blends realtime speech, vision, and motion so Reachy Mini feels present..
56
  </p>
57
  </div>
58
+ <div class="feature-grid">
59
+ <div class="feature-card">
60
+ <span class="icon">🎤</span>
61
+ <h3>Natural voice chat</h3>
62
+ <p>Talk freely and get fast, high-quality replies powered by realtime models.</p>
63
+ </div>
64
+ <div class="feature-card">
65
+ <span class="icon">🎥</span>
66
+ <h3>Vision-aware replies</h3>
67
+ <p>Ask the camera tool to see what’s in front, track a face, or keep attention on whoever is speaking.</p>
68
+ </div>
69
+ <div class="feature-card">
70
+ <span class="icon">💃</span>
71
+ <h3>Expressive motion</h3>
72
+ <p>Queue dances, play recorded emotions while Reachy listens and talks.</p>
73
+ </div>
74
+ <div class="feature-card">
75
+ <span class="icon">🧠</span>
76
+ <h3>Personalities on demand</h3>
77
+ <p>Switch conversation styles through profiles and decide which tools (dance, camera, tracking) each persona can use.</p>
78
+ </div>
79
+ <div class="feature-card">
80
+ <span class="icon">🌐</span>
81
+ <h3>Ready for your setup</h3>
82
+ <p>Works with wired or wireless Reachy Mini, and can run vision locally or through the default cloud model.</p>
83
+ </div>
84
+ </div>
85
+ </section>
86
+
87
+ <section id="story" class="section story">
88
+ <div class="story-grid">
89
+ <div class="story-card">
90
+ <p class="eyebrow">How it feels</p>
91
+ <h3>From hello to helpful in seconds</h3>
92
+ <ul class="story-list">
93
+ <li><span>👋</span> Say “Hey Reachy” and start chatting—no extra setup in the moment.</li>
94
+ <li><span>👀</span> Ask what it sees; it can peek through the camera or keep focus on your face.</li>
95
+ <li><span>🎭</span> Trigger emotions or dance breaks to keep the conversation lively.</li>
96
+ <li><span>📝</span> Follow along with live transcripts in the web UI or run audio-only from the console.</li>
97
+ </ul>
98
+ </div>
99
+ <div class="story-card secondary">
100
+ <p class="eyebrow">Where it shines</p>
101
+ <h3>Great for demos, teaching, and playful exploration</h3>
102
+ <p class="story-text">
103
+ Show off how Reachy Mini listens, responds, and moves in sync. Whether you’re guiding a class, hosting a booth, or experimenting at home, the app keeps the robot expressive without juggling scripts or joystick controls.
104
+ </p>
105
+ <div class="chips">
106
+ <span class="chip">Live conversation</span>
107
+ <span class="chip">Face tracking</span>
108
+ <span class="chip">Camera tool</span>
109
+ <span class="chip">Dance library</span>
110
+ <span class="chip">Profiles & tools</span>
111
+ </div>
112
+ </div>
113
+ </div>
114
+ </section>
115
+
116
+ <footer class="footer">
117
+ <p>
118
+ Reachy Mini Conversation App by <a href="https://github.com/pollen-robotics" target="_blank" rel="noopener">Pollen Robotics</a>.
119
+ Explore more apps on <a href="https://huggingface.co/spaces/pollen-robotics/Reachy_Mini_Apps" target="_blank" rel="noopener">Hugging Face Spaces</a>.
120
+ </p>
121
+ </footer>
122
+
123
+ </body>
124
+
125
  </html>
style.css CHANGED
@@ -1,28 +1,386 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
16
  }
17
 
18
- .card {
 
 
19
  max-width: 620px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
+ :root {
2
+ --bg: #060c1d;
3
+ --panel: #0c172b;
4
+ --glass: rgba(17, 27, 48, 0.7);
5
+ --card: rgba(255, 255, 255, 0.04);
6
+ --accent: #7af5c4;
7
+ --accent-2: #f6c452;
8
+ --text: #e8edf7;
9
+ --muted: #9fb3ce;
10
+ --border: rgba(255, 255, 255, 0.08);
11
+ --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
12
+ font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
13
+ }
14
+
15
+ * {
16
+ margin: 0;
17
+ padding: 0;
18
+ box-sizing: border-box;
19
+ }
20
+
21
  body {
22
+ background: radial-gradient(circle at 20% 20%, rgba(122, 245, 196, 0.12), transparent 30%),
23
+ radial-gradient(circle at 80% 0%, rgba(246, 196, 82, 0.14), transparent 32%),
24
+ radial-gradient(circle at 50% 70%, rgba(124, 142, 255, 0.1), transparent 30%),
25
+ var(--bg);
26
+ color: var(--text);
27
+ min-height: 100vh;
28
+ line-height: 1.6;
29
+ padding-bottom: 3rem;
30
+ }
31
+
32
+ a {
33
+ color: inherit;
34
+ text-decoration: none;
35
+ }
36
+
37
+ .hero {
38
+ padding: 3.5rem clamp(1.5rem, 3vw, 3rem) 2.5rem;
39
+ position: relative;
40
+ overflow: hidden;
41
+ }
42
+
43
+ .hero::after {
44
+ content: "";
45
+ position: absolute;
46
+ inset: 0;
47
+ background: linear-gradient(120deg, rgba(122, 245, 196, 0.12), rgba(246, 196, 82, 0.08), transparent);
48
+ pointer-events: none;
49
+ }
50
+
51
+ .topline {
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: space-between;
55
+ max-width: 1200px;
56
+ margin: 0 auto 2rem;
57
+ position: relative;
58
+ z-index: 2;
59
+ }
60
+
61
+ .brand {
62
+ display: flex;
63
+ align-items: center;
64
+ gap: 0.5rem;
65
+ font-weight: 700;
66
+ letter-spacing: 0.5px;
67
+ color: var(--text);
68
+ }
69
+
70
+ .logo {
71
+ display: inline-flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ width: 2.2rem;
75
+ height: 2.2rem;
76
+ border-radius: 10px;
77
+ background: linear-gradient(145deg, rgba(122, 245, 196, 0.15), rgba(124, 142, 255, 0.15));
78
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
79
+ }
80
+
81
+ .brand-name {
82
+ font-size: 1.1rem;
83
+ }
84
+
85
+ .pill {
86
+ background: rgba(255, 255, 255, 0.06);
87
+ border: 1px solid var(--border);
88
+ padding: 0.6rem 1rem;
89
+ border-radius: 999px;
90
+ color: var(--muted);
91
+ font-size: 0.9rem;
92
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
93
+ }
94
+
95
+ .hero-grid {
96
+ display: grid;
97
+ grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
98
+ gap: clamp(1.5rem, 2.5vw, 2.5rem);
99
+ max-width: 1200px;
100
+ margin: 0 auto;
101
+ position: relative;
102
+ z-index: 2;
103
+ align-items: center;
104
+ }
105
+
106
+ .hero-copy h1 {
107
+ font-size: clamp(2.6rem, 4vw, 3.6rem);
108
+ margin-bottom: 1rem;
109
+ line-height: 1.1;
110
+ letter-spacing: -0.5px;
111
  }
112
 
113
+ .eyebrow {
114
+ display: inline-flex;
115
+ align-items: center;
116
+ gap: 0.5rem;
117
+ text-transform: uppercase;
118
+ letter-spacing: 1px;
119
+ font-size: 0.8rem;
120
+ color: var(--muted);
121
+ margin-bottom: 0.75rem;
122
  }
123
 
124
+ .eyebrow::before {
125
+ content: "";
126
+ display: inline-block;
127
+ width: 24px;
128
+ height: 2px;
129
+ background: linear-gradient(90deg, var(--accent), var(--accent-2));
130
+ border-radius: 999px;
131
  }
132
 
133
+ .lede {
134
+ font-size: 1.1rem;
135
+ color: var(--muted);
136
  max-width: 620px;
137
+ }
138
+
139
+ .hero-actions {
140
+ display: flex;
141
+ gap: 1rem;
142
+ align-items: center;
143
+ margin: 1.6rem 0 1.2rem;
144
+ flex-wrap: wrap;
145
+ }
146
+
147
+ .btn {
148
+ display: inline-flex;
149
+ align-items: center;
150
+ justify-content: center;
151
+ gap: 0.6rem;
152
+ padding: 0.85rem 1.4rem;
153
+ border-radius: 12px;
154
+ font-weight: 700;
155
+ border: 1px solid transparent;
156
+ cursor: pointer;
157
+ transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
158
+ }
159
+
160
+ .btn.primary {
161
+ background: linear-gradient(135deg, #7af5c4, #7c8eff);
162
+ color: #0a0f1f;
163
+ box-shadow: 0 15px 30px rgba(122, 245, 196, 0.25);
164
+ }
165
+
166
+ .btn.primary:hover {
167
+ transform: translateY(-2px);
168
+ box-shadow: 0 25px 45px rgba(122, 245, 196, 0.35);
169
+ }
170
+
171
+ .btn.ghost {
172
+ background: rgba(255, 255, 255, 0.05);
173
+ border-color: var(--border);
174
+ color: var(--text);
175
+ }
176
+
177
+ .btn.ghost:hover {
178
+ border-color: rgba(255, 255, 255, 0.3);
179
+ transform: translateY(-2px);
180
+ }
181
+
182
+ .btn.wide {
183
+ width: 100%;
184
+ justify-content: center;
185
+ }
186
+
187
+ .hero-badges {
188
+ display: flex;
189
+ flex-wrap: wrap;
190
+ gap: 0.6rem;
191
+ color: var(--muted);
192
+ font-size: 0.9rem;
193
+ }
194
+
195
+ .hero-badges span {
196
+ padding: 0.5rem 0.8rem;
197
+ border-radius: 10px;
198
+ border: 1px solid var(--border);
199
+ background: rgba(255, 255, 255, 0.04);
200
+ }
201
+
202
+ .hero-visual .glass-card {
203
+ background: rgba(255, 255, 255, 0.03);
204
+ border: 1px solid var(--border);
205
+ border-radius: 18px;
206
+ padding: 1.2rem;
207
+ box-shadow: var(--shadow);
208
+ backdrop-filter: blur(10px);
209
+ }
210
+
211
+ .hero-gif {
212
+ width: 100%;
213
+ display: block;
214
+ border-radius: 14px;
215
+ border: 1px solid var(--border);
216
+ box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
217
+ }
218
+
219
+ .caption {
220
+ margin-top: 0.75rem;
221
+ color: var(--muted);
222
+ font-size: 0.95rem;
223
+ }
224
+
225
+ .section {
226
+ max-width: 1200px;
227
  margin: 0 auto;
228
+ padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
229
+ }
230
+
231
+ .section-header {
232
+ text-align: center;
233
+ max-width: 780px;
234
+ margin: 0 auto 2rem;
235
+ }
236
+
237
+ .section-header h2 {
238
+ font-size: clamp(2rem, 3vw, 2.6rem);
239
+ margin-bottom: 0.5rem;
240
+ }
241
+
242
+ .intro {
243
+ color: var(--muted);
244
+ font-size: 1.05rem;
245
+ }
246
+
247
+ .feature-grid {
248
+ display: grid;
249
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
250
+ gap: 1rem;
251
+ }
252
+
253
+ .feature-card {
254
+ background: rgba(255, 255, 255, 0.03);
255
+ border: 1px solid var(--border);
256
  border-radius: 16px;
257
+ padding: 1.25rem;
258
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
259
+ transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
260
+ }
261
+
262
+ .feature-card:hover {
263
+ transform: translateY(-4px);
264
+ border-color: rgba(122, 245, 196, 0.3);
265
+ box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
266
+ }
267
+
268
+ .feature-card .icon {
269
+ width: 48px;
270
+ height: 48px;
271
+ border-radius: 12px;
272
+ display: grid;
273
+ place-items: center;
274
+ background: rgba(122, 245, 196, 0.14);
275
+ margin-bottom: 0.8rem;
276
+ font-size: 1.4rem;
277
+ }
278
+
279
+ .feature-card h3 {
280
+ margin-bottom: 0.35rem;
281
+ }
282
+
283
+ .feature-card p {
284
+ color: var(--muted);
285
+ }
286
+
287
+ .story {
288
+ padding-top: 1rem;
289
+ }
290
+
291
+ .story-grid {
292
+ display: grid;
293
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
294
+ gap: 1rem;
295
+ }
296
+
297
+ .story-card {
298
+ background: rgba(255, 255, 255, 0.03);
299
+ border: 1px solid var(--border);
300
+ border-radius: 18px;
301
+ padding: 1.5rem;
302
+ box-shadow: var(--shadow);
303
  }
304
 
305
+ .story-card.secondary {
306
+ background: linear-gradient(145deg, rgba(124, 142, 255, 0.08), rgba(122, 245, 196, 0.06));
307
+ }
308
+
309
+ .story-card h3 {
310
+ margin-bottom: 0.8rem;
311
+ }
312
+
313
+ .story-list {
314
+ list-style: none;
315
+ display: grid;
316
+ gap: 0.7rem;
317
+ color: var(--muted);
318
+ font-size: 0.98rem;
319
+ }
320
+
321
+ .story-list li {
322
+ display: flex;
323
+ gap: 0.7rem;
324
+ align-items: flex-start;
325
+ }
326
+
327
+ .story-text {
328
+ color: var(--muted);
329
+ line-height: 1.7;
330
+ margin-bottom: 1rem;
331
+ }
332
+
333
+ .chips {
334
+ display: flex;
335
+ flex-wrap: wrap;
336
+ gap: 0.5rem;
337
+ }
338
+
339
+ .chip {
340
+ padding: 0.45rem 0.8rem;
341
+ border-radius: 12px;
342
+ background: rgba(0, 0, 0, 0.2);
343
+ border: 1px solid var(--border);
344
+ color: var(--text);
345
+ font-size: 0.9rem;
346
+ }
347
+
348
+ .footer {
349
+ text-align: center;
350
+ color: var(--muted);
351
+ padding: 2rem 1.5rem 0;
352
+ }
353
+
354
+ .footer a {
355
+ color: var(--text);
356
+ border-bottom: 1px solid transparent;
357
+ }
358
+
359
+ .footer a:hover {
360
+ border-color: rgba(255, 255, 255, 0.5);
361
+ }
362
+
363
+ @media (max-width: 768px) {
364
+ .hero {
365
+ padding-top: 2.5rem;
366
+ }
367
+
368
+ .topline {
369
+ flex-direction: column;
370
+ gap: 0.8rem;
371
+ align-items: flex-start;
372
+ }
373
+
374
+ .hero-actions {
375
+ width: 100%;
376
+ }
377
+
378
+ .btn {
379
+ width: 100%;
380
+ justify-content: center;
381
+ }
382
+
383
+ .hero-badges {
384
+ gap: 0.4rem;
385
+ }
386
  }