mackenzietechdocs commited on
Commit
8fe0918
·
verified ·
1 Parent(s): d421c7a

Give HealixPath a lime-helix look on the project page, Space UI, and README.

Browse files
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  title: HealixPath
3
- emoji: 💚
4
  colorFrom: green
5
- colorTo: blue
6
  sdk: gradio
7
  sdk_version: 5.49.1
8
  app_file: app.py
@@ -21,27 +21,41 @@ tags:
21
  - storytelling
22
  ---
23
 
24
- # HealixPath — The AI-Powered Persona Path & Story Engine
 
 
25
 
26
- ✨ HealixPath transforms product inputs, personas, problems, and customer journey stages into rich, structured, realistic stories. Use this exact package for your MCP server, repo, and hackathon pitch.
 
 
 
 
 
 
 
 
 
27
 
28
- ## About The Team
29
 
30
- HealixPath was built by **Mackenzie O'Brien** ([@mackenzietechdocs](https://huggingface.co/mackenzietechdocs), [GitHub](https://github.com/mso-docs)) and **co-author @DevRubenArevalo** ([Hugging Face](https://huggingface.co/DevRubenArevalo), [GitHub](https://github.com/DevRubenArevalo)). Together we are Team Healix, a two-person dev team looking to make robust AI applications for everyone.
31
 
32
- The official November 2025 hackathon submission lives at [MCP-1st-Birthday/TeamHealix](https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix) and is kept unchanged. This Space is the live, maintained copy.
33
 
34
- - **Project page:** [mso-docs.github.io/HealixPath](https://mso-docs.github.io/HealixPath/)
35
- - **Hackathon Space (frozen):** [MCP-1st-Birthday/TeamHealix](https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix)
36
- - **Live Space:** [mackenzietechdocs/HealixPath](https://huggingface.co/spaces/mackenzietechdocs/HealixPath)
37
- - **Collection:** [HealixPath](https://huggingface.co/collections/mackenzietechdocs/healixpath)
38
- - **GitHub:** [mso-docs/HealixPath](https://github.com/mso-docs/HealixPath)
39
- - **Demo video:** [youtu.be/zz5AliukXKk](https://youtu.be/zz5AliukXKk)
40
 
 
 
 
 
 
 
 
 
41
 
42
  ## Sign in with Hugging Face (free AI, no API key)
43
 
44
- This live copy no longer uses any paid API key. Text generation runs on open models through [Hugging Face Inference Providers](https://huggingface.co/docs/inference-providers), using **your own** Hugging Face account:
45
 
46
  1. Click **Sign in with Hugging Face** at the top of the app and approve the `inference-api` permission.
47
  2. Generate stories, journeys, and personas. Each request is billed to your account's free monthly Inference Providers allowance. If you run out, Hugging Face will tell you; PRO accounts get a larger allowance.
@@ -53,14 +67,10 @@ Model: [`openai/gpt-oss-20b`](https://huggingface.co/openai/gpt-oss-20b) (open w
53
 
54
  **Running locally:** `pip install -r requirements.txt && python app.py`. Local OAuth sign-in needs a Space; the app does not read `HF_TOKEN`. Duplicate the Space to your account to get your own copy with sign-in enabled.
55
 
 
56
 
57
- ## The Posts
58
-
59
- Check out our social posts [here](https://www.linkedin.com/feed/update/urn:li:activity:7401032353361477633/) and [here](https://www.linkedin.com/posts/mackenzieoc_mcp1stbirthday-hackathon-huggingface-activity-7395261430117060608-CLZA?utm_source=share&utm_medium=member_desktop&rcm=ACoAACWYuygBMootqeGy7VYKkdnEkHoEuI5canU).
60
-
61
- ### The Video
62
-
63
- Check out our demo video [here](https://youtu.be/zz5AliukXKk)!
64
 
65
  ---
66
 
 
1
  ---
2
  title: HealixPath
3
+ emoji: 🧬
4
  colorFrom: green
5
+ colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 5.49.1
8
  app_file: app.py
 
21
  - storytelling
22
  ---
23
 
24
+ <p align="center">
25
+ <img src="docs/assets/healix-banner.svg" alt="HealixPath — stories that spiral from a persona" width="100%">
26
+ </p>
27
 
28
+ <p align="center">
29
+ <a href="https://huggingface.co/spaces/mackenzietechdocs/HealixPath"><img src="https://img.shields.io/badge/Live%20Space-b8ff3c?style=for-the-badge&labelColor=050805" alt="Live Space"></a>
30
+ <a href="https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix"><img src="https://img.shields.io/badge/Hackathon%20Space-frozen-9ef6c8?style=for-the-badge&labelColor=050805" alt="Hackathon Space, frozen"></a>
31
+ <a href="https://huggingface.co/collections/mackenzietechdocs/healixpath"><img src="https://img.shields.io/badge/Collection-healixpath-b8ff3c?style=for-the-badge&labelColor=050805" alt="Collection"></a>
32
+ <a href="https://mso-docs.github.io/HealixPath/"><img src="https://img.shields.io/badge/Project%20page-d4ff6b?style=for-the-badge&labelColor=050805" alt="Project page"></a>
33
+ <a href="https://github.com/mso-docs/HealixPath"><img src="https://img.shields.io/badge/GitHub-mso--docs%2FHealixPath-9ef6c8?style=for-the-badge&labelColor=050805&logo=github&logoColor=b8ff3c" alt="GitHub"></a>
34
+ <a href="https://youtu.be/zz5AliukXKk"><img src="https://img.shields.io/badge/Demo%20video-YouTube-ff3c3c?style=for-the-badge&labelColor=050805&logo=youtube&logoColor=white" alt="Demo video"></a>
35
+ <a href="#sign-in-with-hugging-face-free-ai-no-api-key"><img src="https://img.shields.io/badge/Sign%20in-free%20open%20models-b8ff3c?style=for-the-badge&labelColor=050805" alt="Sign in, free open models"></a>
36
+ <img src="https://img.shields.io/badge/License-MIT-9ef6c8?style=for-the-badge&labelColor=050805" alt="MIT License">
37
+ </p>
38
 
39
+ # HealixPath
40
 
41
+ **Stories that spiral from a persona.** HealixPath is an AI-powered storytelling engine that turns a product, a problem, or a journey stage into structured, realistic narratives for the people who will actually use the work.
42
 
43
+ Built by **Mackenzie O'Brien** ([@mackenzietechdocs](https://huggingface.co/mackenzietechdocs), [GitHub](https://github.com/mso-docs)) and **co-author @DevRubenArevalo** ([Hugging Face](https://huggingface.co/DevRubenArevalo), [GitHub](https://github.com/DevRubenArevalo)). Together we are Team Healix.
44
 
45
+ The official November 2025 hackathon submission lives at [MCP-1st-Birthday/TeamHealix](https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix) and is kept unchanged. This repository and the live Space are the maintained copy.
 
 
 
 
 
46
 
47
+ | | |
48
+ | :--- | :--- |
49
+ | **Project page** | [mso-docs.github.io/HealixPath](https://mso-docs.github.io/HealixPath/) |
50
+ | **Hackathon Space (frozen)** | [MCP-1st-Birthday/TeamHealix](https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix) |
51
+ | **Live Space** | [mackenzietechdocs/HealixPath](https://huggingface.co/spaces/mackenzietechdocs/HealixPath) |
52
+ | **Collection** | [HealixPath](https://huggingface.co/collections/mackenzietechdocs/healixpath) |
53
+ | **GitHub** | [mso-docs/HealixPath](https://github.com/mso-docs/HealixPath) |
54
+ | **Demo video** | [youtu.be/zz5AliukXKk](https://youtu.be/zz5AliukXKk) |
55
 
56
  ## Sign in with Hugging Face (free AI, no API key)
57
 
58
+ This live copy does not use any paid API key. Text generation runs on open models through [Hugging Face Inference Providers](https://huggingface.co/docs/inference-providers), using **your own** Hugging Face account:
59
 
60
  1. Click **Sign in with Hugging Face** at the top of the app and approve the `inference-api` permission.
61
  2. Generate stories, journeys, and personas. Each request is billed to your account's free monthly Inference Providers allowance. If you run out, Hugging Face will tell you; PRO accounts get a larger allowance.
 
67
 
68
  **Running locally:** `pip install -r requirements.txt && python app.py`. Local OAuth sign-in needs a Space; the app does not read `HF_TOKEN`. Duplicate the Space to your account to get your own copy with sign-in enabled.
69
 
70
+ ## Posts and video
71
 
72
+ - LinkedIn: [announcement](https://www.linkedin.com/feed/update/urn:li:activity:7401032353361477633/) and [hackathon post](https://www.linkedin.com/posts/mackenzieoc_mcp1stbirthday-hackathon-huggingface-activity-7395261430117060608-CLZA)
73
+ - Demo video: [youtu.be/zz5AliukXKk](https://youtu.be/zz5AliukXKk)
 
 
 
 
 
74
 
75
  ---
76
 
app.py CHANGED
@@ -12,507 +12,326 @@ from pathlib import Path
12
  from dotenv import load_dotenv
13
  from huggingface_hub import InferenceClient
14
 
15
- # Modern CSS styling
16
- CUSTOM_CSS = """
17
- @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
18
 
19
- :root {
20
- --bg: #050e0a;
21
- --panel: #0b1812;
22
- --card: linear-gradient(135deg, rgba(18, 64, 44, 0.94), rgba(10, 34, 24, 0.94));
23
- --line: rgba(31, 132, 84, 0.6);
24
- --accent: #1da05f;
25
- --accent-strong: #167b46;
26
- --muted: #9fd8b9;
27
- --text: #f7fff9;
28
- --text-dim: #c9e5d4;
29
- --radius: 18px;
30
- --shadow: 0 18px 60px rgba(4, 26, 18, 0.45);
31
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
- * {
34
- font-family: 'Manrope', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
35
- }
36
 
37
- body,
38
- html {
39
- background: radial-gradient(circle at 18% 18%, rgba(29, 160, 96, 0.08), transparent 32%),
40
- radial-gradient(circle at 82% 12%, rgba(18, 92, 59, 0.12), transparent 38%),
41
- var(--bg);
42
- color: var(--text);
 
 
 
 
 
 
 
 
 
43
  }
44
 
45
- .gradio-container {
46
- max-width: 1200px;
47
- margin: 0 auto;
48
- padding: 24px;
49
- background: transparent;
 
 
 
 
 
 
 
 
 
 
50
  }
51
 
52
- .gr-blocks,
53
- .gr-page,
54
- #mount {
55
- background: transparent;
56
  }
57
 
58
- a {
59
- color: var(--accent);
 
 
 
60
  }
61
 
62
- .header-shell {
63
- background: linear-gradient(135deg, rgba(18, 64, 44, 0.95), rgba(10, 34, 24, 0.92));
64
- border: 1px solid var(--line);
65
- border-radius: 20px;
66
- padding: 28px 24px;
67
- position: relative;
68
- overflow: hidden;
69
- box-shadow: var(--shadow);
70
  }
71
 
72
- .header-shell::after {
73
- content: "";
74
- position: absolute;
75
- inset: 0;
76
- background: radial-gradient(circle at 25% 20%, rgba(34, 197, 94, 0.18), transparent 50%);
77
- pointer-events: none;
78
- }
79
 
80
- .header-shell h1 {
81
- font-size: clamp(32px, 5vw, 46px);
82
- font-weight: 700;
83
- letter-spacing: -0.5px;
84
- margin: 6px 0 10px;
85
- color: var(--text);
86
- }
87
-
88
- .header-shell .eyebrow {
89
- display: inline-flex;
90
  align-items: center;
91
- gap: 8px;
92
- padding: 6px 12px;
93
- border-radius: 999px;
94
- border: 1px solid var(--line);
95
- background: rgba(34, 197, 94, 0.08);
96
- color: var(--muted);
97
- font-weight: 600;
98
- font-size: 12px;
99
- letter-spacing: 0.3px;
100
- }
101
-
102
- .header-shell p {
103
- margin: 0;
104
- color: var(--text-dim);
105
- font-size: 15px;
106
- line-height: 1.6;
107
- }
108
-
109
- .card-container {
110
- background: var(--card);
111
- border: 1px solid var(--line);
112
- border-radius: var(--radius);
113
- padding: 18px 18px;
114
- box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
115
- margin-bottom: 18px;
116
- }
117
-
118
- .tabs,
119
- .tab-nav {
120
- border: 0;
121
- background: transparent;
122
- }
123
-
124
- .tab-nav {
125
- display: flex;
126
- gap: 6px;
127
- padding: 6px;
128
- margin-bottom: 12px;
129
- background: linear-gradient(135deg, rgba(10, 34, 24, 0.85), rgba(8, 24, 17, 0.85));
130
- border: 1px solid var(--line);
131
- border-radius: 14px;
132
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 24px rgba(0, 0, 0, 0.3);
133
- }
134
-
135
- .tab-nav button {
136
- border: 1px solid var(--line);
137
- background: linear-gradient(135deg, rgba(12, 42, 30, 0.9), rgba(10, 34, 24, 0.9));
138
- color: var(--text);
139
- padding: 12px 16px;
140
- border-radius: 12px;
141
- font-weight: 600;
142
- transition: all 0.2s ease;
143
- position: relative;
144
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35);
145
- }
146
-
147
- .tab-nav button:hover {
148
- border-color: var(--line);
149
- color: var(--text);
150
- background: linear-gradient(135deg, rgba(29, 160, 96, 0.16), rgba(22, 123, 70, 0.18));
151
- }
152
-
153
- .tab-nav button[aria-selected="true"] {
154
- background: linear-gradient(135deg, rgba(29, 160, 96, 0.18), rgba(22, 123, 70, 0.22));
155
- color: var(--text);
156
- border-color: var(--line);
157
- box-shadow: 0 10px 22px rgba(22, 123, 70, 0.24);
158
  overflow: hidden;
159
- }
160
-
161
- .tab-nav button[aria-selected="true"]::after {
162
- content: "";
163
- position: absolute;
164
- left: 12px;
165
- right: 12px;
166
- bottom: 4px;
167
- height: 3px;
168
- border-radius: 999px;
169
- background: rgba(10, 40, 26, 0.95);
170
- box-shadow: 0 2px 8px rgba(10, 40, 26, 0.6);
171
- }
172
-
173
- /* force underline on gradio tab items */
174
- .gradio-container .tabitem[aria-selected="true"],
175
- .gradio-container .gr-tabitem[aria-selected="true"],
176
- .gradio-container .tabs button[aria-selected="true"] {
177
- border-bottom: 3px solid rgba(10, 40, 26, 0.95) !important;
178
- box-shadow: none !important;
179
  position: relative;
180
  }
181
-
182
- .gradio-container .tabitem[aria-selected="true"]::after,
183
- .gradio-container .tabs button[aria-selected="true"]::after {
184
- content: "";
185
- display: block;
186
- position: absolute;
187
- left: 12px;
188
- right: 12px;
189
- bottom: 2px;
190
- height: 3px;
191
- border-radius: 999px;
192
- background: rgba(10, 40, 26, 0.95);
193
- box-shadow: 0 2px 8px rgba(10, 40, 26, 0.6);
194
- }
195
-
196
- /* fallback for Gradio tab buttons rendered as .tabitem without wrapper */
197
- .gradio-container .tabs button,
198
- .gradio-container .tabs .tabitem,
199
- .gradio-container .gr-tabs button,
200
- .gradio-container .gr-tabs .tabitem {
201
- background: linear-gradient(135deg, rgba(12, 42, 30, 0.9), rgba(10, 34, 24, 0.9)) !important;
202
- color: var(--text) !important;
203
- border: 1px solid var(--line) !important;
204
- border-radius: 12px !important;
205
- padding: 12px 16px !important;
206
- box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.35) !important;
207
- }
208
-
209
- .gradio-container .tabs button[aria-selected="true"],
210
- .gradio-container .gr-tabs button[aria-selected="true"],
211
- .gradio-container .tabs .tabitem[aria-selected="true"],
212
- .gradio-container .gr-tabs .tabitem[aria-selected="true"] {
213
- background: linear-gradient(135deg, rgba(29, 160, 96, 0.18), rgba(22, 123, 70, 0.22)) !important;
214
- border-color: var(--line) !important;
215
- color: var(--text) !important;
216
  position: relative;
217
  }
218
-
219
- .gradio-container .tabs button[aria-selected="true"]::after,
220
- .gradio-container .gr-tabs button[aria-selected="true"]::after,
221
- .gradio-container .tabs .tabitem[aria-selected="true"]::after,
222
- .gradio-container .gr-tabs .tabitem[aria-selected="true"]::after {
223
- content: "";
224
- position: absolute;
225
- left: 12px;
226
- right: 12px;
227
- bottom: 2px;
228
- height: 3px;
229
- border-radius: 999px;
230
- background: rgba(10, 40, 26, 0.95);
231
- box-shadow: 0 2px 8px rgba(10, 40, 26, 0.6);
232
  }
233
-
234
- .gr-row {
235
- gap: 14px;
236
- align-items: stretch;
237
  }
238
-
239
- label {
240
- color: var(--text);
241
- font-weight: 600;
242
- font-size: 14px;
243
- margin-bottom: 8px;
244
- display: inline-block;
 
245
  }
246
-
247
- input[type="text"],
248
- textarea,
249
- select,
250
- .gradio-textbox input,
251
- .gradio-textbox textarea,
252
- .gradio-dropdown select {
253
- background: linear-gradient(135deg, #0b1d14, #0a1610);
254
- border: 1px solid var(--line);
255
- border-radius: 10px;
256
- color: var(--text);
257
- padding: 0.5em 0.75em;
258
- font-size: 14px;
259
- transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
260
- width: 100%;
261
- box-sizing: border-box;
262
  }
263
-
264
- input[type="text"]:focus,
265
- textarea:focus,
266
- select:focus,
267
- .gradio-textbox input:focus,
268
- .gradio-textbox textarea:focus,
269
- .gradio-dropdown select:focus {
270
- border-color: var(--accent);
271
- box-shadow: 0 0 0 3px rgba(29, 160, 96, 0.25);
272
- outline: none;
273
- transform: translateY(-1px);
274
- background: linear-gradient(135deg, #0f2a1c, #0b1f15);
275
  }
276
-
277
- input::placeholder,
278
- textarea::placeholder {
279
- color: var(--muted);
 
 
 
280
  }
281
-
282
- .gradio-dropdown select,
283
- .gradio-dropdown .wrap,
284
- .gradio-dropdown button,
285
- [data-testid="dropdown"] .single-select,
286
- [data-testid="dropdown"] .wrap,
287
- [data-testid="dropdown"] select,
288
- [data-testid="dropdown"] button {
289
- background: linear-gradient(135deg, #0b2217, #0a1912) !important;
290
- border: 0 !important;
291
- color: var(--text) !important;
292
- border-radius: 12px !important;
293
  }
294
 
295
- .gradio-dropdown .wrap.svelte-1hxfprf,
296
- .gradio-container .container .wrap.svelte-1hxfprf,
297
- .gradio-container .container .wrap-inner.svelte-1hxfprf,
298
- .gradio-container .container .secondary-wrap.svelte-1hxfprf {
299
- background: linear-gradient(135deg, #0b2217, #0a1912) !important;
300
- border: 1px solid var(--line) !important;
301
- border-radius: 12px !important;
302
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 18px rgba(0, 0, 0, 0.25) !important;
303
- color: var(--text) !important;
304
- padding: 0 !important;
305
  }
306
 
307
- .gradio-container .container.svelte-1hfxrpf,
308
- .gradio-container .container.svelte-1hfxrpf .wrap,
309
- .gradio-container .container.svelte-1hfxrpf .wrap-inner,
310
- .gradio-container .container.svelte-1hfxrpf .secondary-wrap {
311
- background: linear-gradient(135deg, #0b2217, #0a1912) !important;
312
- border: 1px solid var(--line) !important;
313
- border-radius: 12px !important;
314
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 10px 18px rgba(0, 0, 0, 0.25) !important;
315
- color: var(--text) !important;
 
 
 
316
  }
317
-
318
- .gradio-container .container.svelte-1hfxrpf input.border-none,
319
- .gradio-container .container.svelte-1hfxrpf input.svelte-1hfxrpf,
320
- .gradio-container .container.svelte-1hfxrpf input {
 
 
321
  background: transparent !important;
322
- color: var(--text) !important;
323
- border: none !important;
324
- padding: 0.5em 0.75em !important;
325
- }
326
-
327
- .gradio-container .container.svelte-1hfxrpf .icon-wrap.svelte-1hfxrpf,
328
- .gradio-container .container.svelte-1hfxrpf .dropdown-arrow {
329
- color: var(--text) !important;
330
- fill: var(--text) !important;
331
- }
332
-
333
- .gradio-dropdown,
334
- .gradio-dropdown > div,
335
- .gradio-dropdown > div > div {
336
- background: linear-gradient(135deg, #0b2217, #0a1912) !important;
337
- border: 1px solid var(--line) !important;
338
  border-radius: 12px !important;
339
- color: var(--text) !important;
 
340
  }
341
-
342
- .gradio-dropdown .wrap:focus-within,
343
- .gradio-dropdown select:focus,
344
- [data-testid="dropdown"] select:focus,
345
- [data-testid="dropdown"] .wrap:focus-visible,
346
- [data-testid="dropdown"] .wrap:focus-within {
347
- box-shadow: 0 0 0 3px rgba(29, 160, 96, 0.25) !important;
348
- border-color: var(--accent) !important;
349
- }
350
-
351
- .gradio-dropdown .options,
352
- [data-testid="dropdown"] .options {
353
- background: #0b2217 !important;
354
- border: 1px solid var(--line) !important;
355
- color: var(--text) !important;
356
  }
357
-
358
- .gradio-dropdown .option,
359
- [data-testid="dropdown"] .option {
360
- background: #0b2217 !important;
361
- color: var(--text) !important;
 
 
362
  }
363
 
364
- .gradio-container .gr-panel,
365
- .gradio-container .gr-box,
366
- .gradio-container .gr-form,
367
- .gradio-container .gr-group,
368
- .gradio-container .gr-block,
369
- .gradio-container .block,
370
- .gradio-container .panel,
371
- .gradio-container .form,
372
- .gradio-container .wrap {
373
- background: linear-gradient(135deg, #0b1d14, #0a1610);
374
- border: 1px solid var(--line);
375
- border-radius: var(--radius);
376
- box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
377
  }
378
-
379
- /* nested content stays transparent to let wrappers show gradient */
380
- .gradio-container .gr-panel *,
381
- .gradio-container .gr-box *,
382
- .gradio-container .block *,
383
- .gradio-container .panel * {
384
- background-color: transparent;
385
  }
386
-
387
- /* reduce nested wrapper outlines for dropdown blocks */
388
- .gradio-container .gr-group .gr-column,
389
- .gradio-container .gr-group .gr-form,
390
- .gradio-container .gr-group .gr-box {
391
- border: none !important;
392
- box-shadow: none !important;
393
- background: transparent !important;
394
  }
395
 
396
- .gradio-container .container.svelte-1hfxrpf,
397
- .gradio-container .container.svelte-1hfxrpf {
398
- border: 1px solid var(--line) !important;
399
- box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
400
- background: linear-gradient(135deg, rgb(11, 29, 20), rgb(10, 22, 16)) !important;
 
 
401
  }
402
-
403
- /* keep inner wraps clean to avoid stacked outlines */
404
- .gradio-container .container.svelte-1hfxrpf .wrap,
405
- .gradio-container .container.svelte-1hfxrpf .wrap-inner,
406
- .gradio-container .container.svelte-1hfxrpf .secondary-wrap {
 
407
  border: 0 !important;
408
- box-shadow: none !important;
409
- background: transparent !important;
410
  }
411
-
412
- /* inner-most wrapper should have no outline */
413
- .gradio-container .container.svelte-1hfxrpf .secondary-wrap {
414
- border: none !important;
415
- box-shadow: none !important;
416
- }
417
-
418
-
419
- button,
420
- .gradio-button,
421
- .gr-button {
422
- background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
423
- border: none;
424
- color: #f7fff9;
425
- font-weight: 700;
426
- font-size: 14px;
427
- padding: 14px 20px !important;
428
- border-radius: 12px;
429
- cursor: pointer;
430
- transition: transform 0.2s ease, box-shadow 0.2s ease;
431
- box-shadow: 0 10px 20px rgba(20, 111, 67, 0.28);
432
- }
433
-
434
- button:hover,
435
- .gradio-button:hover,
436
- .gr-button:hover {
437
  transform: translateY(-2px);
438
- box-shadow: 0 14px 26px rgba(20, 111, 67, 0.34);
439
  }
440
-
441
- button:active,
442
- .gradio-button:active,
443
- .gr-button:active {
444
- transform: translateY(0);
445
- box-shadow: 0 8px 16px rgba(20, 111, 67, 0.3);
446
  }
447
 
448
- .gradio-button:disabled {
449
- opacity: 0.65;
450
- cursor: not-allowed;
451
- box-shadow: none;
452
- transform: none;
453
  }
454
 
455
- [data-testid="textbox"] textarea {
456
- background: linear-gradient(135deg, #0c2116, #0a1a12);
457
- font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
458
- line-height: 1.55;
459
- font-size: 13px;
460
- }
461
-
462
- .gr-markdown h2,
463
- .gr-markdown h3 {
464
- color: var(--text);
465
- margin-bottom: 6px;
466
  }
467
 
468
- .gr-markdown p {
469
- color: var(--text-dim);
470
- line-height: 1.6;
471
  }
472
 
473
- footer,
474
- .footer,
475
- [data-testid="footer"] {
476
- border-top: 1px solid var(--line);
477
- margin-top: 18px;
478
- padding-top: 12px;
479
- color: var(--text-dim);
480
- background: transparent;
481
  }
482
-
483
- footer * {
484
- color: var(--text-dim);
 
485
  }
486
 
487
- ::-webkit-scrollbar {
488
- width: 10px;
 
 
 
 
 
489
  }
 
 
490
 
491
- ::-webkit-scrollbar-track {
492
- background: rgba(255, 255, 255, 0.02);
 
493
  }
494
 
495
- ::-webkit-scrollbar-thumb {
496
- background: rgba(34, 197, 94, 0.35);
497
- border-radius: 6px;
498
  }
499
 
500
- @media (max-width: 900px) {
501
- .gradio-container {
502
- padding: 18px;
503
- }
504
-
505
- .header-shell {
506
- padding: 22px 18px;
507
- }
508
-
509
- .card-container {
510
- padding: 14px;
511
- }
512
-
513
- .tab-nav {
514
- flex-wrap: wrap;
515
  }
 
516
  }
517
  """
518
 
@@ -1017,15 +836,23 @@ Return format: [persona1, persona2, ...]"""
1017
  return json.dumps({"error": f"Failed to generate personas: {str(e)}"}, indent=2)
1018
 
1019
  # Build the Gradio interface
1020
- with gr.Blocks(title="HealixPath - AI Persona Storytelling", css=CUSTOM_CSS) as demo:
1021
  gr.HTML(
1022
  """
1023
- <div class="header-shell">
1024
- <span class="eyebrow">Persona storytelling workspace</span>
1025
- <h1>HealixPath</h1>
1026
- <p>AI-powered generator for persona-driven stories, journeys, and impact narratives.</p>
 
 
 
 
 
 
 
 
1027
  </div>
1028
- """
1029
  )
1030
 
1031
  with gr.Row():
@@ -1045,7 +872,7 @@ with gr.Blocks(title="HealixPath - AI Persona Storytelling", css=CUSTOM_CSS) as
1045
  """
1046
  <div class="card-container" style="margin-bottom: 26px;">
1047
  <p style="margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6;">
1048
- Choose a persona or add your own, then craft structured narratives to inform product decisions and user experiences.
1049
  </p>
1050
  </div>
1051
  """
@@ -1308,13 +1135,16 @@ with gr.Blocks(title="HealixPath - AI Persona Storytelling", css=CUSTOM_CSS) as
1308
 
1309
  gr.HTML(
1310
  """
1311
- <div style="text-align: center; margin-top: 32px; padding: 16px; border-top: 1px solid var(--line); color: var(--text-dim);">
1312
- <p style="font-size: 13px; margin: 0;">
1313
- HealixPath - AI-powered persona storytelling engine<br>
1314
- <span style="color: var(--muted);">Open models via Hugging Face Inference Providers &amp; Gradio</span>
 
 
 
1315
  </p>
1316
  </div>
1317
- """
1318
  )
1319
  if __name__ == "__main__":
1320
  demo.launch(mcp_server=True)
 
12
  from dotenv import load_dotenv
13
  from huggingface_hub import InferenceClient
14
 
 
 
 
15
 
16
+ HEALIX_THEME = gr.themes.Base(
17
+ primary_hue="lime",
18
+ secondary_hue="green",
19
+ neutral_hue="zinc",
20
+ font=[gr.themes.GoogleFont("Outfit"), "ui-sans-serif", "system-ui", "sans-serif"],
21
+ font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "ui-monospace", "monospace"],
22
+ ).set(
23
+ body_background_fill="#050805",
24
+ body_background_fill_dark="#050805",
25
+ body_text_color="#f3ffe6",
26
+ body_text_color_dark="#f3ffe6",
27
+ background_fill_primary="#101e14",
28
+ background_fill_primary_dark="#101e14",
29
+ background_fill_secondary="#0a140c",
30
+ background_fill_secondary_dark="#0a140c",
31
+ border_color_accent="#b8ff3c",
32
+ border_color_accent_dark="#b8ff3c",
33
+ border_color_primary="rgba(184, 255, 60, 0.28)",
34
+ border_color_primary_dark="rgba(184, 255, 60, 0.28)",
35
+ button_primary_background_fill="#b8ff3c",
36
+ button_primary_background_fill_hover="#d4ff6b",
37
+ button_primary_background_fill_dark="#b8ff3c",
38
+ button_primary_background_fill_hover_dark="#d4ff6b",
39
+ button_primary_text_color="#06210f",
40
+ button_primary_text_color_hover="#06210f",
41
+ button_primary_text_color_dark="#06210f",
42
+ button_primary_text_color_hover_dark="#06210f",
43
+ button_primary_shadow="0 8px 24px rgba(184, 255, 60, 0.4)",
44
+ link_text_color="#b8ff3c",
45
+ link_text_color_dark="#b8ff3c",
46
+ block_radius="16px",
47
+ button_large_radius="12px",
48
+ )
49
 
50
+ # HealixPath identity (lime helix). Logic below this CSS is unchanged.
51
+ CUSTOM_CSS = """
52
+ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Syne:wght@700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');
53
 
54
+ :root {
55
+ --hp-void: #050805;
56
+ --hp-panel: #101e14;
57
+ --hp-lime: #b8ff3c;
58
+ --hp-lime-2: #d4ff6b;
59
+ --hp-mint: #9ef6c8;
60
+ --hp-foam: #f3ffe6;
61
+ --hp-text: #f3ffe6;
62
+ --hp-muted: #b4d7bc;
63
+ --hp-dim: #8aaf93;
64
+ --hp-line: rgba(184, 255, 60, 0.28);
65
+ --hp-glow: rgba(184, 255, 60, 0.5);
66
+ --hp-ink: #06210f;
67
+ --hp-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
68
+ --hp-body: "Outfit", "Segoe UI", system-ui, sans-serif;
69
  }
70
 
71
+ @media (prefers-color-scheme: light) {
72
+ :root {
73
+ --hp-void: #f4ffea;
74
+ --hp-panel: #ffffff;
75
+ --hp-lime: #1f7a00;
76
+ --hp-lime-2: #278200;
77
+ --hp-mint: #0c6b3a;
78
+ --hp-foam: #0b1a10;
79
+ --hp-text: #0b1a10;
80
+ --hp-muted: #245c38;
81
+ --hp-dim: #3c6a4c;
82
+ --hp-line: rgba(31, 107, 16, 0.3);
83
+ --hp-glow: rgba(39, 130, 0, 0.22);
84
+ --hp-ink: #f4ffea;
85
+ }
86
  }
87
 
88
+ html, body, .gradio-container, .gradio-container .main, .app, .contain {
89
+ font-family: var(--hp-body) !important;
90
+ background: var(--hp-void) !important;
91
+ color: var(--hp-text) !important;
92
  }
93
 
94
+ body, html {
95
+ background:
96
+ radial-gradient(900px 500px at 85% -10%, rgba(184, 255, 60, 0.08), transparent 55%),
97
+ radial-gradient(600px 400px at 0% 10%, rgba(158, 246, 200, 0.06), transparent 50%),
98
+ var(--hp-void) !important;
99
  }
100
 
101
+ .gradio-container {
102
+ max-width: 1180px !important;
103
+ margin: 0 auto !important;
104
+ padding: 20px 18px 32px !important;
105
+ background: transparent !important;
 
 
 
106
  }
107
 
108
+ .gradio-container a { color: var(--hp-lime) !important; }
 
 
 
 
 
 
109
 
110
+ /* ---- Hero ---- */
111
+ .hp-hero {
112
+ display: grid;
113
+ grid-template-columns: 120px 1fr;
114
+ gap: 1.25rem;
 
 
 
 
 
115
  align-items: center;
116
+ background:
117
+ radial-gradient(520px 180px at 12% 50%, var(--hp-glow), transparent 60%),
118
+ linear-gradient(135deg, color-mix(in srgb, var(--hp-panel) 92%, black), var(--hp-panel));
119
+ border: 1px solid var(--hp-line);
120
+ border-radius: 24px;
121
+ padding: 20px 24px;
122
+ box-shadow: 0 0 0 1px rgba(184, 255, 60, 0.08), 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 80px rgba(184, 255, 60, 0.08);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  overflow: hidden;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  position: relative;
125
  }
126
+ .hp-helix-wrap {
127
+ width: 120px;
128
+ height: 150px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  position: relative;
130
  }
131
+ .hp-helix-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px var(--hp-glow)); }
132
+ .hp-helix-svg .strand {
133
+ stroke-dasharray: 28 8;
134
+ animation: strand-flow 7s linear infinite;
 
 
 
 
 
 
 
 
 
 
135
  }
136
+ .hp-helix-svg .strand.b { animation-duration: 9s; animation-direction: reverse; }
137
+ @keyframes strand-flow {
138
+ to { stroke-dashoffset: -180; }
 
139
  }
140
+ .hp-copy h1 {
141
+ font-family: var(--hp-display) !important;
142
+ font-weight: 800 !important;
143
+ letter-spacing: -0.06em;
144
+ font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
145
+ line-height: 0.92 !important;
146
+ margin: 0.15rem 0 0.4rem !important;
147
+ color: var(--hp-text) !important;
148
  }
149
+ .hp-copy h1 span {
150
+ color: var(--hp-lime);
151
+ text-shadow: 0 0 28px var(--hp-glow);
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  }
153
+ .hp-kicker {
154
+ margin: 0;
155
+ font-size: 0.75rem;
156
+ font-weight: 700;
157
+ letter-spacing: 0.14em;
158
+ text-transform: uppercase;
159
+ color: var(--hp-mint);
 
 
 
 
 
160
  }
161
+ .hp-tag {
162
+ font-family: var(--hp-display);
163
+ font-weight: 700;
164
+ font-size: clamp(1.05rem, 2vw, 1.4rem);
165
+ letter-spacing: -0.03em;
166
+ color: var(--hp-mint);
167
+ margin: 0 0 0.45rem;
168
  }
169
+ .hp-lede {
170
+ margin: 0;
171
+ color: var(--hp-muted);
172
+ font-size: 0.98rem;
173
+ line-height: 1.55;
174
+ max-width: 46rem;
 
 
 
 
 
 
175
  }
176
 
177
+ .card-container {
178
+ background: var(--hp-panel);
179
+ border: 1px solid var(--hp-line);
180
+ border-radius: 16px;
181
+ padding: 16px 18px;
182
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
 
 
 
 
183
  }
184
 
185
+ /* ---- Tabs ---- */
186
+ .tabs, .tab-nav { border: 0; background: transparent; }
187
+ .gradio-container .tabs > div:first-child,
188
+ .gradio-container .tab-nav,
189
+ .gradio-container nav[role="tablist"] {
190
+ display: flex !important;
191
+ flex-wrap: wrap !important;
192
+ gap: 6px !important;
193
+ padding: 6px !important;
194
+ background: color-mix(in srgb, var(--hp-panel) 90%, black) !important;
195
+ border: 1px solid var(--hp-line) !important;
196
+ border-radius: 16px !important;
197
  }
198
+ .gradio-container .tabs button,
199
+ .gradio-container nav[role="tablist"] button,
200
+ .gradio-container .tab-nav button {
201
+ font-family: var(--hp-body) !important;
202
+ font-weight: 600 !important;
203
+ color: var(--hp-text) !important;
204
  background: transparent !important;
205
+ border: 1px solid transparent !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  border-radius: 12px !important;
207
+ padding: 10px 14px !important;
208
+ transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease !important;
209
  }
210
+ .gradio-container .tabs button:hover,
211
+ .gradio-container nav[role="tablist"] button:hover {
212
+ border-color: var(--hp-line) !important;
213
+ background: color-mix(in srgb, var(--hp-lime) 12%, var(--hp-panel)) !important;
214
+ transform: translateY(-1px);
 
 
 
 
 
 
 
 
 
 
215
  }
216
+ .gradio-container .tabs button[aria-selected="true"],
217
+ .gradio-container nav[role="tablist"] button[aria-selected="true"],
218
+ .gradio-container .tab-nav button.selected {
219
+ background: var(--hp-lime) !important;
220
+ color: var(--hp-ink) !important;
221
+ border-color: transparent !important;
222
+ box-shadow: 0 0 24px var(--hp-glow) !important;
223
  }
224
 
225
+ /* ---- Inputs ---- */
226
+ label, .gradio-container label {
227
+ color: var(--hp-text) !important;
228
+ font-weight: 600 !important;
229
+ font-family: var(--hp-body) !important;
 
 
 
 
 
 
 
 
230
  }
231
+ .gradio-container input,
232
+ .gradio-container textarea,
233
+ .gradio-container select {
234
+ background: color-mix(in srgb, var(--hp-void) 80%, var(--hp-panel)) !important;
235
+ color: var(--hp-text) !important;
236
+ border: 1px solid var(--hp-line) !important;
237
+ border-radius: 12px !important;
238
  }
239
+ .gradio-container input:focus,
240
+ .gradio-container textarea:focus,
241
+ .gradio-container select:focus {
242
+ outline: none !important;
243
+ border-color: var(--hp-lime) !important;
244
+ box-shadow: 0 0 0 3px var(--hp-glow) !important;
 
 
245
  }
246
 
247
+ /* ---- Buttons ---- */
248
+ .gradio-container button,
249
+ .gradio-container .gr-button {
250
+ font-family: var(--hp-body) !important;
251
+ font-weight: 700 !important;
252
+ border-radius: 12px !important;
253
+ transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
254
  }
255
+ .gradio-container button.primary,
256
+ .gradio-container .lg.primary,
257
+ .gradio-container .primary,
258
+ .gradio-container button[variant="primary"] {
259
+ background: var(--hp-lime) !important;
260
+ color: var(--hp-ink) !important;
261
  border: 0 !important;
262
+ box-shadow: 0 8px 24px var(--hp-glow) !important;
 
263
  }
264
+ .gradio-container button:hover,
265
+ .gradio-container .gr-button:hover {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  transform: translateY(-2px);
267
+ box-shadow: 0 10px 28px var(--hp-glow) !important;
268
  }
269
+ .gradio-container button:active { transform: translateY(0); }
270
+ .gradio-container button:focus-visible {
271
+ outline: 2px solid var(--hp-lime) !important;
272
+ outline-offset: 3px !important;
 
 
273
  }
274
 
275
+ /* Login should stay obvious even if Gradio marks it secondary */
276
+ .gradio-container button:not(.primary) {
277
+ background: color-mix(in srgb, var(--hp-panel) 80%, black) !important;
278
+ color: var(--hp-text) !important;
279
+ border: 1px solid var(--hp-line) !important;
280
  }
281
 
282
+ /* Make the first action row (sign-in) pop */
283
+ .gradio-container .form,
284
+ .gradio-container .block,
285
+ .gradio-container .panel,
286
+ .gradio-container .gr-group,
287
+ .gradio-container .gr-box {
288
+ background: var(--hp-panel) !important;
289
+ border-color: var(--hp-line) !important;
290
+ border-radius: 16px !important;
 
 
291
  }
292
 
293
+ [data-testid="textbox"] textarea {
294
+ font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace !important;
295
+ line-height: 1.55 !important;
296
  }
297
 
298
+ .gradio-container .markdown-text, .gradio-container .prose, .gradio-container p {
299
+ color: var(--hp-muted);
 
 
 
 
 
 
300
  }
301
+ .gradio-container h2, .gradio-container h3 {
302
+ font-family: var(--hp-display) !important;
303
+ color: var(--hp-text) !important;
304
+ letter-spacing: -0.03em;
305
  }
306
 
307
+ .hp-foot {
308
+ text-align: center;
309
+ margin-top: 28px;
310
+ padding: 18px 8px 4px;
311
+ border-top: 1px solid var(--hp-line);
312
+ color: var(--hp-dim);
313
+ font-size: 0.88rem;
314
  }
315
+ .hp-foot p { margin: 0.2rem 0; }
316
+ .hp-foot a { color: var(--hp-lime) !important; }
317
 
318
+ footer, .footer, [data-testid="footer"] {
319
+ background: transparent !important;
320
+ color: var(--hp-dim) !important;
321
  }
322
 
323
+ @media (max-width: 800px) {
324
+ .hp-hero { grid-template-columns: 1fr; padding: 16px; }
325
+ .hp-helix-wrap { width: 96px; height: 120px; }
326
  }
327
 
328
+ @media (prefers-reduced-motion: reduce) {
329
+ .hp-helix-svg .strand { animation: none !important; }
330
+ .gradio-container button,
331
+ .gradio-container .tabs button {
332
+ transition: none !important;
 
 
 
 
 
 
 
 
 
 
333
  }
334
+ .gradio-container button:hover { transform: none !important; }
335
  }
336
  """
337
 
 
836
  return json.dumps({"error": f"Failed to generate personas: {str(e)}"}, indent=2)
837
 
838
  # Build the Gradio interface
839
+ with gr.Blocks(title="HealixPath — stories that spiral from a persona", theme=HEALIX_THEME, css=CUSTOM_CSS) as demo:
840
  gr.HTML(
841
  """
842
+ <div class="hp-hero">
843
+ <div class="hp-helix-wrap" aria-hidden="true"><svg class="hp-helix-svg" viewBox="0 0 160 200" fill="none" aria-hidden="true" focusable="false">
844
+ <path class="strand a" d="M 87.2,8.0 L 89.7,9.5 L 92.3,11.1 L 94.7,12.6 L 97.1,14.2 L 99.4,15.7 L 101.6,17.3 L 103.7,18.8 L 105.6,20.4 L 107.4,21.9 L 109.1,23.5 L 110.5,25.0 L 111.9,26.6 L 113.0,28.1 L 114.0,29.6 L 114.8,31.2 L 115.4,32.7 L 115.8,34.3 L 116.0,35.8 L 116.0,37.4 L 115.8,38.9 L 115.4,40.5 L 114.8,42.0 L 114.1,43.6 L 113.1,45.1 L 112.0,46.7 L 110.7,48.2 L 109.2,49.7 L 107.6,51.3 L 105.8,52.8 L 103.8,54.4 L 101.8,55.9 L 99.6,57.5 L 97.3,59.0 L 95.0,60.6 L 92.5,62.1 L 90.0,63.7 L 87.4,65.2 L 84.8,66.8 L 82.1,68.3 L 79.5,69.8 L 76.8,71.4 L 74.2,72.9 L 71.5,74.5 L 69.0,76.0 L 66.5,77.6 L 64.1,79.1 L 61.7,80.7 L 59.5,82.2 L 57.4,83.8 L 55.3,85.3 L 53.5,86.9 L 51.8,88.4 L 50.2,89.9 L 48.8,91.5 L 47.5,93.0 L 46.5,94.6 L 45.6,96.1 L 44.9,97.7 L 44.4,99.2 L 44.1,100.8 L 44.0,102.3 L 44.1,103.9 L 44.4,105.4 L 44.9,107.0 L 45.5,108.5 L 46.4,110.1 L 47.4,111.6 L 48.7,113.1 L 50.0,114.7 L 51.6,116.2 L 53.3,117.8 L 55.2,119.3 L 57.2,120.9 L 59.3,122.4 L 61.5,124.0 L 63.8,125.5 L 66.3,127.1 L 68.8,128.6 L 71.3,130.2 L 73.9,131.7 L 76.6,133.2 L 79.2,134.8 L 81.9,136.3 L 84.5,137.9 L 87.2,139.4 L 89.7,141.0 L 92.3,142.5 L 94.7,144.1 L 97.1,145.6 L 99.4,147.2 L 101.6,148.7 L 103.7,150.3 L 105.6,151.8 L 107.4,153.3 L 109.1,154.9 L 110.5,156.4 L 111.9,158.0 L 113.0,159.5 L 114.0,161.1 L 114.8,162.6 L 115.4,164.2 L 115.8,165.7 L 116.0,167.3 L 116.0,168.8 L 115.8,170.4 L 115.4,171.9 L 114.8,173.4 L 114.1,175.0 L 113.1,176.5 L 112.0,178.1 L 110.7,179.6 L 109.2,181.2 L 107.6,182.7 L 105.8,184.3 L 103.8,185.8 L 101.8,187.4 L 99.6,188.9 L 97.3,190.5 L 95.0,192.0" stroke="#B8FF3C" stroke-width="5.5" stroke-linecap="round"/>
845
+ <path class="strand b" d="M 72.8,8.0 L 70.3,9.5 L 67.7,11.1 L 65.3,12.6 L 62.9,14.2 L 60.6,15.7 L 58.4,17.3 L 56.3,18.8 L 54.4,20.4 L 52.6,21.9 L 50.9,23.5 L 49.5,25.0 L 48.1,26.6 L 47.0,28.1 L 46.0,29.6 L 45.2,31.2 L 44.6,32.7 L 44.2,34.3 L 44.0,35.8 L 44.0,37.4 L 44.2,38.9 L 44.6,40.5 L 45.2,42.0 L 45.9,43.6 L 46.9,45.1 L 48.0,46.7 L 49.3,48.2 L 50.8,49.7 L 52.4,51.3 L 54.2,52.8 L 56.2,54.4 L 58.2,55.9 L 60.4,57.5 L 62.7,59.0 L 65.0,60.6 L 67.5,62.1 L 70.0,63.7 L 72.6,65.2 L 75.2,66.8 L 77.9,68.3 L 80.5,69.8 L 83.2,71.4 L 85.8,72.9 L 88.5,74.5 L 91.0,76.0 L 93.5,77.6 L 95.9,79.1 L 98.3,80.7 L 100.5,82.2 L 102.6,83.8 L 104.7,85.3 L 106.5,86.9 L 108.2,88.4 L 109.8,89.9 L 111.2,91.5 L 112.5,93.0 L 113.5,94.6 L 114.4,96.1 L 115.1,97.7 L 115.6,99.2 L 115.9,100.8 L 116.0,102.3 L 115.9,103.9 L 115.6,105.4 L 115.1,107.0 L 114.5,108.5 L 113.6,110.1 L 112.6,111.6 L 111.3,113.1 L 110.0,114.7 L 108.4,116.2 L 106.7,117.8 L 104.8,119.3 L 102.8,120.9 L 100.7,122.4 L 98.5,124.0 L 96.2,125.5 L 93.7,127.1 L 91.2,128.6 L 88.7,130.2 L 86.1,131.7 L 83.4,133.2 L 80.8,134.8 L 78.1,136.3 L 75.5,137.9 L 72.8,139.4 L 70.3,141.0 L 67.7,142.5 L 65.3,144.1 L 62.9,145.6 L 60.6,147.2 L 58.4,148.7 L 56.3,150.3 L 54.4,151.8 L 52.6,153.3 L 50.9,154.9 L 49.5,156.4 L 48.1,158.0 L 47.0,159.5 L 46.0,161.1 L 45.2,162.6 L 44.6,164.2 L 44.2,165.7 L 44.0,167.3 L 44.0,168.8 L 44.2,170.4 L 44.6,171.9 L 45.2,173.4 L 45.9,175.0 L 46.9,176.5 L 48.0,178.1 L 49.3,179.6 L 50.8,181.2 L 52.4,182.7 L 54.2,184.3 L 56.2,185.8 L 58.2,187.4 L 60.4,188.9 L 62.7,190.5 L 65.0,192.0" stroke="#9EF6C8" stroke-width="5.5" stroke-linecap="round"/>
846
+ <line x1="114.0" y1="29.6" x2="46.0" y2="29.6" stroke="#B8FF3C" stroke-width="3" stroke-linecap="round" opacity="1"/><circle cx="114.0" cy="29.6" r="3" fill="#B8FF3C" opacity="1"/><circle cx="46.0" cy="29.6" r="3" fill="#9EF6C8" opacity="1"/><line x1="110.7" y1="48.2" x2="49.3" y2="48.2" stroke="#B8FF3C" stroke-width="3" stroke-linecap="round" opacity="1"/><circle cx="110.7" cy="48.2" r="3" fill="#B8FF3C" opacity="1"/><circle cx="49.3" cy="48.2" r="3" fill="#9EF6C8" opacity="1"/><line x1="87.4" y1="65.2" x2="72.6" y2="65.2" stroke="#B8FF3C" stroke-width="3" stroke-linecap="round" opacity="1"/><circle cx="87.4" cy="65.2" r="3" fill="#B8FF3C" opacity="1"/><circle cx="72.6" cy="65.2" r="3" fill="#9EF6C8" opacity="1"/><line x1="59.5" y1="82.2" x2="100.5" y2="82.2" stroke="#9EF6C8" stroke-width="2" stroke-linecap="round" opacity="0.45"/><circle cx="59.5" cy="82.2" r="3" fill="#9EF6C8" opacity="0.45"/><circle cx="100.5" cy="82.2" r="3" fill="#B8FF3C" opacity="0.45"/><line x1="44.1" y1="100.8" x2="115.9" y2="100.8" stroke="#9EF6C8" stroke-width="2" stroke-linecap="round" opacity="0.45"/><circle cx="44.1" cy="100.8" r="3" fill="#9EF6C8" opacity="0.45"/><circle cx="115.9" cy="100.8" r="3" fill="#B8FF3C" opacity="0.45"/><line x1="53.3" y1="117.8" x2="106.7" y2="117.8" stroke="#9EF6C8" stroke-width="2" stroke-linecap="round" opacity="0.45"/><circle cx="53.3" cy="117.8" r="3" fill="#9EF6C8" opacity="0.45"/><circle cx="106.7" cy="117.8" r="3" fill="#B8FF3C" opacity="0.45"/><line x1="105.6" y1="151.8" x2="54.4" y2="151.8" stroke="#B8FF3C" stroke-width="3" stroke-linecap="round" opacity="1"/><circle cx="105.6" cy="151.8" r="3" fill="#B8FF3C" opacity="1"/><circle cx="54.4" cy="151.8" r="3" fill="#9EF6C8" opacity="1"/><line x1="115.8" y1="170.4" x2="44.2" y2="170.4" stroke="#B8FF3C" stroke-width="3" stroke-linecap="round" opacity="1"/><circle cx="115.8" cy="170.4" r="3" fill="#B8FF3C" opacity="1"/><circle cx="44.2" cy="170.4" r="3" fill="#9EF6C8" opacity="1"/>
847
+ </svg></div>
848
+ <div class="hp-copy">
849
+ <p class="hp-kicker">Team Healix · persona storytelling</p>
850
+ <h1>Healix<span>Path</span></h1>
851
+ <p class="hp-tag">Stories that spiral from a persona.</p>
852
+ <p class="hp-lede">Sign in with Hugging Face to generate stories, journeys, and personas on free open models, using your own allowance. Co-authored with DevRubenArevalo.</p>
853
+ </div>
854
  </div>
855
+ """
856
  )
857
 
858
  with gr.Row():
 
872
  """
873
  <div class="card-container" style="margin-bottom: 26px;">
874
  <p style="margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6;">
875
+ Choose a persona or add your own, then craft structured narratives to inform product decisions and user experiences. Sign in to generate; browsing personas works while signed out.
876
  </p>
877
  </div>
878
  """
 
1135
 
1136
  gr.HTML(
1137
  """
1138
+ <div class="hp-foot">
1139
+ <p>HealixPath — Mackenzie O&rsquo;Brien, Mac Labs AI, and DevRubenArevalo.</p>
1140
+ <p class="hp-foot-links">
1141
+ <a href="https://mso-docs.github.io/HealixPath/">Project page</a>
1142
+ · <a href="https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix">Frozen hackathon Space</a>
1143
+ · <a href="https://huggingface.co/collections/mackenzietechdocs/healixpath">Collection</a>
1144
+ · Open models via Hugging Face Inference Providers
1145
  </p>
1146
  </div>
1147
+ """
1148
  )
1149
  if __name__ == "__main__":
1150
  demo.launch(mcp_server=True)
docs/assets/favicon.svg ADDED
docs/assets/fonts/OFL-Outfit.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
docs/assets/fonts/OFL-Syne.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2017 The Syne Project Authors (https://gitlab.com/bonjour-monde/fonderie/syne-typeface)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
docs/assets/fonts/outfit-400.woff2 ADDED
Binary file (14.1 kB). View file
 
docs/assets/fonts/outfit-500.woff2 ADDED
Binary file (13.3 kB). View file
 
docs/assets/fonts/outfit-700.woff2 ADDED
Binary file (14.1 kB). View file
 
docs/assets/fonts/syne-700.woff2 ADDED
Binary file (14.2 kB). View file
 
docs/assets/fonts/syne-800.woff2 ADDED
Binary file (13.7 kB). View file
 
docs/assets/healix-banner.svg ADDED
docs/assets/healix-mark.svg ADDED
docs/index.html ADDED
@@ -0,0 +1,466 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6
+ <title>HealixPath — stories that spiral from a persona</title>
7
+ <meta name="description" content="HealixPath is an AI-powered persona storytelling engine. The official Hugging Face MCP 1st Birthday submission stays frozen; this page is the entry point for the live Space, collection, GitHub repository, and demo video.">
8
+ <meta name="theme-color" content="#050805">
9
+ <link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
10
+ <style>
11
+ @font-face { font-family: Syne; src: url("assets/fonts/syne-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
12
+ @font-face { font-family: Syne; src: url("assets/fonts/syne-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
13
+ @font-face { font-family: Outfit; src: url("assets/fonts/outfit-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
14
+ @font-face { font-family: Outfit; src: url("assets/fonts/outfit-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
15
+ @font-face { font-family: Outfit; src: url("assets/fonts/outfit-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
16
+
17
+ :root {
18
+ --void: #050805;
19
+ --void-2: #0a140c;
20
+ --panel: #101e14;
21
+ --lime: #b8ff3c;
22
+ --lime-2: #d4ff6b;
23
+ --mint: #9ef6c8;
24
+ --foam: #f3ffe6;
25
+ --text: #f3ffe6;
26
+ --muted: #b4d7bc;
27
+ --dim: #8aaf93;
28
+ --line: rgba(184, 255, 60, 0.28);
29
+ --glow: rgba(184, 255, 60, 0.5);
30
+ --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
31
+ --body: "Outfit", "Segoe UI", system-ui, sans-serif;
32
+ --helix-a: #b8ff3c;
33
+ --helix-b: #9ef6c8;
34
+ --helix-bg: rgba(184, 255, 60, 0.07);
35
+ --on-lime: #06210f;
36
+ }
37
+
38
+ @media (prefers-color-scheme: light) {
39
+ :root {
40
+ --void: #f4ffea;
41
+ --void-2: #e5f8d4;
42
+ --panel: #ffffff;
43
+ --lime: #1f7a00;
44
+ --lime-2: #278200;
45
+ --mint: #0c6b3a;
46
+ --foam: #0b1a10;
47
+ --text: #0b1a10;
48
+ --muted: #245c38;
49
+ --dim: #3c6a4c;
50
+ --line: rgba(31, 107, 16, 0.3);
51
+ --glow: rgba(39, 130, 0, 0.25);
52
+ --helix-a: #2f9a00;
53
+ --helix-b: #0f7a48;
54
+ --helix-bg: rgba(47, 154, 0, 0.08);
55
+ --on-lime: #f4ffea;
56
+ }
57
+ }
58
+
59
+ * { box-sizing: border-box; }
60
+ html, body { margin: 0; padding: 0; }
61
+ html { color-scheme: dark light; }
62
+ body {
63
+ font-family: var(--body);
64
+ background:
65
+ radial-gradient(900px 520px at 80% -10%, var(--helix-bg), transparent 60%),
66
+ radial-gradient(700px 480px at -10% 20%, rgba(158, 246, 200, 0.06), transparent 55%),
67
+ var(--void);
68
+ color: var(--text);
69
+ line-height: 1.6;
70
+ min-height: 100vh;
71
+ }
72
+
73
+ a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
74
+ a:hover { color: var(--lime-2); }
75
+ a:focus-visible, button:focus-visible {
76
+ outline: 2px solid var(--lime);
77
+ outline-offset: 3px;
78
+ }
79
+
80
+ .skip {
81
+ position: absolute; left: 1rem; top: -3rem;
82
+ background: var(--lime); color: var(--on-lime);
83
+ padding: 0.5rem 0.9rem; font-weight: 700; border-radius: 999px; z-index: 20;
84
+ }
85
+ .skip:focus { top: 1rem; }
86
+
87
+ .wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
88
+
89
+ header.top {
90
+ display: flex; align-items: center; justify-content: space-between;
91
+ gap: 1rem; padding: 1.1rem 0 0.4rem; flex-wrap: wrap;
92
+ }
93
+ .brand {
94
+ display: flex; align-items: center; gap: 0.75rem;
95
+ color: inherit; text-decoration: none; font-family: var(--display);
96
+ font-weight: 800; letter-spacing: -0.04em; font-size: 1.15rem;
97
+ }
98
+ .brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 24px var(--glow); }
99
+ nav { display: flex; flex-wrap: wrap; gap: 0.45rem; }
100
+ nav a {
101
+ color: var(--foam);
102
+ text-decoration: none;
103
+ border: 1px solid var(--line);
104
+ background: color-mix(in srgb, var(--panel) 80%, transparent);
105
+ padding: 0.4rem 0.75rem;
106
+ border-radius: 999px;
107
+ font-size: 0.82rem;
108
+ font-weight: 500;
109
+ transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
110
+ }
111
+ nav a:hover {
112
+ transform: translateY(-2px);
113
+ border-color: var(--lime);
114
+ box-shadow: 0 0 0 1px var(--lime), 0 8px 24px var(--glow);
115
+ background: color-mix(in srgb, var(--lime) 12%, var(--panel));
116
+ }
117
+ nav a.primary {
118
+ background: var(--lime);
119
+ color: var(--on-lime);
120
+ border-color: transparent;
121
+ font-weight: 700;
122
+ }
123
+ nav a.primary:hover { background: var(--lime-2); color: var(--on-lime); }
124
+
125
+ .hero {
126
+ display: grid;
127
+ grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
128
+ gap: 1.5rem;
129
+ align-items: center;
130
+ padding: 2.2rem 0 1.5rem;
131
+ min-height: min(78vh, 720px);
132
+ }
133
+ .kicker {
134
+ display: inline-flex; align-items: center; gap: 0.5rem;
135
+ font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
136
+ text-transform: uppercase; color: var(--mint);
137
+ }
138
+ .kicker::before {
139
+ content: ""; width: 1.6rem; height: 2px; background: var(--lime);
140
+ box-shadow: 0 0 12px var(--glow);
141
+ }
142
+ h1 {
143
+ font-family: var(--display);
144
+ font-weight: 800;
145
+ font-size: clamp(3.1rem, 9vw, 7rem);
146
+ letter-spacing: -0.07em;
147
+ line-height: 0.9;
148
+ margin: 0.35rem 0 0.6rem;
149
+ }
150
+ h1 span { color: var(--lime); text-shadow: 0 0 40px var(--glow); }
151
+ .tag {
152
+ font-family: var(--display);
153
+ font-weight: 700;
154
+ font-size: clamp(1.25rem, 2.6vw, 1.85rem);
155
+ letter-spacing: -0.03em;
156
+ line-height: 1.2;
157
+ margin: 0 0 1rem;
158
+ color: var(--mint);
159
+ }
160
+ .lede { font-size: 1.08rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.15rem; }
161
+ .credits { color: var(--dim); font-size: 0.95rem; margin: 0 0 1.4rem; }
162
+
163
+ .helix-stage {
164
+ position: relative;
165
+ aspect-ratio: 4 / 5;
166
+ max-height: 640px;
167
+ margin-inline: auto;
168
+ width: 100%;
169
+ }
170
+ .helix-stage canvas, .helix-stage svg {
171
+ position: absolute; inset: 0; width: 100%; height: 100%;
172
+ }
173
+ .helix-stage::before {
174
+ content: "";
175
+ position: absolute; inset: 12%;
176
+ background: radial-gradient(circle, var(--glow), transparent 68%);
177
+ filter: blur(8px);
178
+ animation: pulse 4.5s ease-in-out infinite;
179
+ pointer-events: none;
180
+ }
181
+ @keyframes pulse {
182
+ 0%, 100% { opacity: 0.45; transform: scale(0.92); }
183
+ 50% { opacity: 1; transform: scale(1); }
184
+ }
185
+
186
+ .path-rule {
187
+ height: 1px;
188
+ background: linear-gradient(90deg, transparent, var(--lime), var(--mint), transparent);
189
+ box-shadow: 0 0 16px var(--glow);
190
+ margin: 0.5rem 0 2rem;
191
+ border: 0;
192
+ }
193
+
194
+ h2 {
195
+ font-family: var(--display);
196
+ font-weight: 800;
197
+ letter-spacing: -0.04em;
198
+ font-size: clamp(1.7rem, 3vw, 2.35rem);
199
+ margin: 0 0 0.5rem;
200
+ line-height: 1.1;
201
+ }
202
+ .section-lead { color: var(--muted); max-width: 42rem; margin: 0 0 1.4rem; }
203
+
204
+ .grid {
205
+ display: grid;
206
+ grid-template-columns: 1fr 1fr;
207
+ gap: 1rem;
208
+ }
209
+ article.card {
210
+ background: var(--panel);
211
+ border: 1px solid var(--line);
212
+ border-radius: 1.15rem;
213
+ padding: 1.2rem 1.25rem 1.25rem;
214
+ box-shadow: var(--shadow, 0 16px 40px rgba(0,0,0,.28));
215
+ position: relative;
216
+ overflow: hidden;
217
+ transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
218
+ }
219
+ article.card::before {
220
+ content: "";
221
+ position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
222
+ background: linear-gradient(180deg, var(--lime), var(--mint));
223
+ }
224
+ article.card:hover {
225
+ transform: translateY(-4px);
226
+ border-color: var(--lime);
227
+ box-shadow: 0 0 0 1px var(--lime), 0 18px 40px var(--glow);
228
+ }
229
+ .idx {
230
+ font-family: var(--display);
231
+ font-weight: 800;
232
+ color: var(--lime);
233
+ letter-spacing: -0.04em;
234
+ font-size: 0.95rem;
235
+ }
236
+ article.card h3 {
237
+ font-family: var(--display);
238
+ font-weight: 800;
239
+ letter-spacing: -0.03em;
240
+ margin: 0.15rem 0 0.45rem;
241
+ font-size: 1.3rem;
242
+ }
243
+ article.card p { margin: 0 0 0.95rem; color: var(--muted); }
244
+ .chip {
245
+ display: inline-flex; align-items: center;
246
+ padding: 0.38rem 0.75rem;
247
+ border-radius: 999px;
248
+ background: var(--lime);
249
+ color: var(--on-lime);
250
+ font-weight: 700;
251
+ font-size: 0.85rem;
252
+ text-decoration: none;
253
+ margin: 0 0.3rem 0.3rem 0;
254
+ transition: transform 0.18s ease, box-shadow 0.18s ease;
255
+ }
256
+ .chip:hover { transform: translateY(-2px); box-shadow: 0 8px 20px var(--glow); color: var(--on-lime); }
257
+ .chip.ghost {
258
+ background: transparent;
259
+ color: var(--foam);
260
+ border: 1px solid var(--line);
261
+ }
262
+ .chip.ghost:hover { border-color: var(--lime); color: var(--text); }
263
+
264
+ .note, .callout {
265
+ margin: 1.2rem 0 0;
266
+ padding: 1rem 1.15rem;
267
+ border-radius: 1rem;
268
+ border: 1px solid var(--line);
269
+ background: color-mix(in srgb, var(--lime) 8%, var(--panel));
270
+ color: var(--muted);
271
+ }
272
+ .callout strong { color: var(--text); }
273
+
274
+ footer {
275
+ margin-top: 3rem;
276
+ padding: 1.5rem 0 2.4rem;
277
+ border-top: 1px solid var(--line);
278
+ color: var(--dim);
279
+ font-size: 0.92rem;
280
+ }
281
+
282
+ @media (max-width: 800px) {
283
+ .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 1.4rem; }
284
+ .helix-stage { max-height: 360px; aspect-ratio: 1 / 1; width: min(100%, 360px); }
285
+ .grid { grid-template-columns: 1fr; }
286
+ h1 { font-size: clamp(2.7rem, 17vw, 4.2rem); }
287
+ h1 span { display: block; }
288
+ .kicker { letter-spacing: 0.1em; }
289
+ }
290
+
291
+ @media (prefers-reduced-motion: reduce) {
292
+ *, *::before, *::after {
293
+ animation: none !important;
294
+ transition: none !important;
295
+ }
296
+ .helix-stage::before { opacity: 0.7; filter: none; }
297
+ }
298
+ </style>
299
+ </head>
300
+ <body>
301
+ <a class="skip" href="#artifacts">Skip to artifacts</a>
302
+ <div class="wrap">
303
+ <header class="top">
304
+ <a class="brand" href="./">
305
+ <img src="assets/healix-mark.svg" width="42" height="42" alt="">
306
+ HealixPath
307
+ </a>
308
+ <nav aria-label="Project links">
309
+ <a class="primary" href="https://huggingface.co/spaces/mackenzietechdocs/HealixPath">Live Space</a>
310
+ <a href="https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix">Hackathon Space</a>
311
+ <a href="https://huggingface.co/collections/mackenzietechdocs/healixpath">Collection</a>
312
+ <a href="https://github.com/mso-docs/HealixPath">GitHub</a>
313
+ <a href="https://youtu.be/zz5AliukXKk">Demo video</a>
314
+ </nav>
315
+ </header>
316
+
317
+ <section class="hero" aria-labelledby="title">
318
+ <div>
319
+ <p class="kicker">Hugging Face MCP 1st Birthday · November 2025</p>
320
+ <h1 id="title">Healix<span>Path</span></h1>
321
+ <p class="tag">Stories that spiral from a persona.</p>
322
+ <p class="lede">An AI-powered storytelling engine. It turns a product, a problem, or a journey stage into structured stories for the people who will actually use the work. Sign in with Hugging Face on the live Space to run free open models on your own allowance.</p>
323
+ <p class="credits">Mackenzie O&rsquo;Brien, Mac Labs AI, and co-author <a href="https://huggingface.co/DevRubenArevalo">DevRubenArevalo</a>. Together, Team Healix.</p>
324
+ </div>
325
+ <div class="helix-stage" aria-hidden="true">
326
+ <svg id="helix-static" viewBox="0 0 320 400" fill="none"></svg>
327
+ <canvas id="helix" width="320" height="400" hidden></canvas>
328
+ </div>
329
+ </section>
330
+
331
+ <hr class="path-rule">
332
+
333
+ <main id="artifacts">
334
+ <h2>Every artifact on one path.</h2>
335
+ <p class="section-lead">This page is the entry point for the project. The official contest Space is left exactly as it was submitted in November 2025. The live Space is a maintained copy, with Sign in with Hugging Face and open models through Inference Providers.</p>
336
+ <div class="grid">
337
+ <article class="card">
338
+ <div class="idx">01</div>
339
+ <h3>Hackathon version, frozen</h3>
340
+ <p>Official submission to the Hugging Face MCP 1st Birthday Hackathon. Pinned on the event organization. Last updated November 30, 2025, at 6:25 PM Eastern, at commit 2abb07f. It is not overwritten.</p>
341
+ <a class="chip" href="https://huggingface.co/spaces/MCP-1st-Birthday/TeamHealix">MCP-1st-Birthday/TeamHealix</a>
342
+ </article>
343
+ <article class="card">
344
+ <div class="idx">02</div>
345
+ <h3>Updated version</h3>
346
+ <p>The maintained copy on Mackenzie&rsquo;s Hugging Face account. Generation uses open models and the visitor&rsquo;s own Hugging Face allowance after sign-in.</p>
347
+ <a class="chip" href="https://huggingface.co/spaces/mackenzietechdocs/HealixPath">mackenzietechdocs/HealixPath</a>
348
+ </article>
349
+ <article class="card">
350
+ <div class="idx">03</div>
351
+ <h3>Collection and source</h3>
352
+ <p>Both Spaces, grouped together, and the GitHub repository for the maintained tree.</p>
353
+ <a class="chip" href="https://huggingface.co/collections/mackenzietechdocs/healixpath">Collection</a>
354
+ <a class="chip ghost" href="https://github.com/mso-docs/HealixPath">GitHub</a>
355
+ </article>
356
+ <article class="card">
357
+ <div class="idx">04</div>
358
+ <h3>Demo video</h3>
359
+ <p>A walkthrough of HealixPath, also on Mackenzie&rsquo;s hackathon playlist.</p>
360
+ <a class="chip" href="https://youtu.be/zz5AliukXKk">Watch on YouTube</a>
361
+ </article>
362
+ </div>
363
+ <p class="note">The official event Space is left untouched. If a GitHub link on this page does not open, the repository may still be private; the Spaces and the collection are public.</p>
364
+ <p class="callout"><strong>Free open models, no paid API key.</strong> On the live Space, click <a href="https://huggingface.co/spaces/mackenzietechdocs/HealixPath">Sign in with Hugging Face</a> and approve the inference-api permission. Each generation uses your own free monthly Inference Providers allowance. Signed-out visitors can browse personas; generation asks you to sign in.</p>
365
+ </main>
366
+
367
+ <footer>
368
+ <p>Mackenzie O&rsquo;Brien, Mac Labs AI, and DevRubenArevalo. Submission to the Hugging Face MCP 1st Birthday Hackathon, November 2025.</p>
369
+ <p>No analytics, cookies, or third-party requests except the links you click. Display type is Syne; body type is Outfit, both self-hosted under the SIL Open Font License.</p>
370
+ </footer>
371
+ </div>
372
+ <script>
373
+ (function () {
374
+ const reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
375
+ const lime = getComputedStyle(document.documentElement).getPropertyValue("--helix-a").trim() || "#b8ff3c";
376
+ const mint = getComputedStyle(document.documentElement).getPropertyValue("--helix-b").trim() || "#9ef6c8";
377
+
378
+ function points(width, height, phase) {
379
+ const a = [], b = [];
380
+ const cx = width / 2, amp = width * 0.28, y0 = 16, y1 = height - 16, turns = 1.55, n = 220;
381
+ for (let i = 0; i <= n; i++) {
382
+ const t = i / n;
383
+ const y = y0 + t * (y1 - y0);
384
+ const ph = phase + t * turns * Math.PI * 2;
385
+ a.push([cx + amp * Math.sin(ph), y]);
386
+ b.push([cx + amp * Math.sin(ph + Math.PI), y]);
387
+ }
388
+ return [a, b];
389
+ }
390
+
391
+ function rungsOf(a, b, count) {
392
+ const out = [];
393
+ for (let i = 0; i < count; i++) {
394
+ const t = 0.1 + (0.8 * i) / (count - 1);
395
+ const idx = Math.round(t * (a.length - 1));
396
+ const p = a[idx], q = b[idx];
397
+ if (Math.abs(p[1] - q[1]) < 0.01 && Math.abs(p[0] - q[0]) < 14) continue;
398
+ out.push({ p, q, front: p[0] > q[0] });
399
+ }
400
+ return out;
401
+ }
402
+
403
+ function drawStatic() {
404
+ const svg = document.getElementById("helix-static");
405
+ const [a, b] = points(320, 400, 0.2);
406
+ const d = (pts) => "M" + pts.map((p, i) => (i ? "L" : "") + p[0].toFixed(1) + "," + p[1].toFixed(1)).join(" ");
407
+ const rung = rungsOf(a, b, 11).map((r) => {
408
+ const c = r.front ? lime : mint;
409
+ const o = r.front ? 1 : 0.45;
410
+ return '<line x1="'+r.p[0].toFixed(1)+'" y1="'+r.p[1].toFixed(1)+'" x2="'+r.q[0].toFixed(1)+'" y2="'+r.q[1].toFixed(1)+'" stroke="'+c+'" stroke-width="'+(r.front?3.2:2)+'" stroke-linecap="round" opacity="'+o+'"/>'
411
+ + '<circle cx="'+r.p[0].toFixed(1)+'" cy="'+r.p[1].toFixed(1)+'" r="3.2" fill="'+c+'" opacity="'+o+'"/>'
412
+ + '<circle cx="'+r.q[0].toFixed(1)+'" cy="'+r.q[1].toFixed(1)+'" r="3.2" fill="'+(r.front?mint:lime)+'" opacity="'+o+'"/>';
413
+ }).join("");
414
+ svg.innerHTML = '<path d="'+d(a)+'" stroke="'+lime+'" stroke-width="6" stroke-linecap="round"/>'
415
+ + '<path d="'+d(b)+'" stroke="'+mint+'" stroke-width="6" stroke-linecap="round"/>' + rung;
416
+ }
417
+
418
+ function startCanvas() {
419
+ const canvas = document.getElementById("helix");
420
+ const svg = document.getElementById("helix-static");
421
+ const ctx = canvas.getContext("2d");
422
+ svg.setAttribute("hidden", "");
423
+ canvas.removeAttribute("hidden");
424
+
425
+ function frame(now) {
426
+ const rect = canvas.getBoundingClientRect();
427
+ const dpr = window.devicePixelRatio || 1;
428
+ const w = Math.max(1, Math.floor(rect.width)), h = Math.max(1, Math.floor(rect.height));
429
+ if (canvas.width !== w * dpr || canvas.height !== h * dpr) {
430
+ canvas.width = w * dpr; canvas.height = h * dpr;
431
+ }
432
+ ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
433
+ ctx.clearRect(0, 0, w, h);
434
+ const phase = now / 1400;
435
+ const [a, b] = points(w, h, phase);
436
+ const rungs = rungsOf(a, b, 12);
437
+ function stroke(pts, color, width) {
438
+ ctx.beginPath();
439
+ pts.forEach((p, i) => i ? ctx.lineTo(p[0], p[1]) : ctx.moveTo(p[0], p[1]));
440
+ ctx.strokeStyle = color; ctx.lineWidth = width; ctx.lineCap = "round";
441
+ ctx.shadowColor = color; ctx.shadowBlur = 16; ctx.stroke();
442
+ ctx.shadowBlur = 0;
443
+ }
444
+ rungs.filter((r) => !r.front).forEach((r) => {
445
+ ctx.beginPath(); ctx.moveTo(r.p[0], r.p[1]); ctx.lineTo(r.q[0], r.q[1]);
446
+ ctx.strokeStyle = mint; ctx.globalAlpha = 0.4; ctx.lineWidth = 2; ctx.stroke(); ctx.globalAlpha = 1;
447
+ });
448
+ stroke(a, lime, 5);
449
+ stroke(b, mint, 5);
450
+ rungs.filter((r) => r.front).forEach((r) => {
451
+ ctx.beginPath(); ctx.moveTo(r.p[0], r.p[1]); ctx.lineTo(r.q[0], r.q[1]);
452
+ ctx.strokeStyle = lime; ctx.lineWidth = 3; ctx.lineCap = "round"; ctx.stroke();
453
+ ctx.fillStyle = lime; ctx.beginPath(); ctx.arc(r.p[0], r.p[1], 3.3, 0, Math.PI * 2); ctx.fill();
454
+ ctx.fillStyle = mint; ctx.beginPath(); ctx.arc(r.q[0], r.q[1], 3.3, 0, Math.PI * 2); ctx.fill();
455
+ });
456
+ requestAnimationFrame(frame);
457
+ }
458
+ requestAnimationFrame(frame);
459
+ }
460
+
461
+ drawStatic();
462
+ if (!reduce) startCanvas();
463
+ })();
464
+ </script>
465
+ </body>
466
+ </html>