-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhomepage.html
726 lines (653 loc) · 34.4 KB
/
homepage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
<!DOCTYPE html>
<html lang="en">
<head>
<title>OpenAPI Search - Making APIs Accessible for AI Codegen</title>
<!-- 100% privacy-first analytics -->
<script async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Making APIs Accessible for AI Codegen</title>
<meta name="description" content="OpenAPI Search makes APIs accessible to LLMs with a clever prompting system." />
<meta name="robots" content="index, follow" />
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://openapisearch.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Making APIs Accessible for AI Codegen" />
<meta property="og:description"
content="OpenAPI Search makes APIs accessible to LLMs with a clever prompting system." />
<meta property="og:image" content="https://quickog.com/screenshot/openapisearch.com" />
<meta property="og:image:alt"
content="OpenAPI Search makes APIs accessible to LLMs with a clever prompting system." />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:domain" content="openapisearch.com" />
<meta property="twitter:url" content="https://openapisearch.com" />
<meta name="twitter:title" content="Making APIs Accessible for AI Codegen" />
<meta name="twitter:description"
content="OpenAPI Search makes APIs accessible to LLMs with a clever prompting system." />
<meta name="twitter:image" content="https://quickog.com/screenshot/openapisearch.com" />
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
light: {
'bg': '#ffffff',
'sidebar': '#f5f5f5',
'editor': '#ffffff',
'accent': '#0066cc',
'accent-hover': '#0055aa',
'border': '#e0e0e0',
'surface': '#f9f9f9',
'highlight': '#e6f0fa',
'text': '#333333',
'comment': '#5c9a4f',
'keyword': '#0066b8',
'string': '#a31515',
'function': '#795e26',
'variable': '#001080'
},
dark: {
'bg': '#1e1e1e',
'sidebar': '#252526',
'editor': '#1e1e1e',
'accent': '#007acc',
'accent-hover': '#0098ff',
'border': '#3c3c3c',
'surface': '#2d2d2d',
'highlight': '#264f78',
'text': '#cccccc',
'comment': '#608b4e',
'keyword': '#569cd6',
'string': '#ce9178',
'function': '#dcdcaa',
'variable': '#9cdcfe'
}
},
fontFamily: {
'mono': ['Consolas', 'Monaco', '"Andale Mono"', '"Ubuntu Mono"', 'monospace']
},
boxShadow: {
'vscode': '0 2px 8px rgba(0, 0, 0, 0.5)'
}
}
}
}
</script>
<style>
:root {
/* Default light theme variables */
--bg-color: #ffffff;
--sidebar-color: #f5f5f5;
--editor-color: #ffffff;
--accent-color: #0066cc;
--accent-hover-color: #0055aa;
--border-color: #e0e0e0;
--surface-color: #f9f9f9;
--highlight-color: #e6f0fa;
--text-color: #333333;
--comment-color: #5c9a4f;
--keyword-color: #0066b8;
--string-color: #a31515;
--function-color: #795e26;
--variable-color: #001080;
}
.dark {
/* Dark theme variables */
--bg-color: #1e1e1e;
--sidebar-color: #252526;
--editor-color: #1e1e1e;
--accent-color: #007acc;
--accent-hover-color: #0098ff;
--border-color: #3c3c3c;
--surface-color: #2d2d2d;
--highlight-color: #264f78;
--text-color: #cccccc;
--comment-color: #608b4e;
--keyword-color: #569cd6;
--string-color: #ce9178;
--function-color: #dcdcaa;
--variable-color: #9cdcfe;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
.theme-transition {
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.terminal {
background-color: var(--sidebar-color);
color: var(--text-color);
font-family: 'Consolas', 'Monaco', 'Andale Mono', 'Ubuntu Mono', monospace;
padding: 1rem;
border-radius: 4px;
}
.terminal-prompt::before {
content: '> ';
color: var(--accent-color);
}
.terminal-output {
margin-left: 1rem;
}
.activity-bar {
background-color: var(--sidebar-color);
border-right: 1px solid var(--border-color);
}
.sidebar {
background-color: var(--sidebar-color);
border-right: 1px solid var(--border-color);
}
.editor {
background-color: var(--editor-color);
}
.status-bar {
background-color: var(--sidebar-color);
border-top: 1px solid var(--border-color);
}
.vscode-btn {
background-color: var(--accent-color);
color: white;
padding: 0.5rem 1rem;
border-radius: 2px;
font-weight: 500;
display: inline-flex;
align-items: center;
min-width: 150px;
transition: background-color 0.2s ease;
}
.vscode-btn:hover {
background-color: var(--accent-hover-color);
}
.vscode-btn-secondary {
background-color: var(--surface-color);
color: var(--text-color);
border: 1px solid var(--border-color);
}
.vscode-btn-secondary:hover {
background-color: var(--highlight-color);
}
.vscode-card {
background-color: var(--surface-color);
border: 1px solid var(--border-color);
border-radius: 4px;
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vscode-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* Explorer tree view styles */
.tree-item {
padding: 0.25rem 0.5rem;
cursor: pointer;
display: flex;
align-items: center;
}
.tree-item:hover {
background-color: var(--highlight-color);
}
.tree-item svg {
margin-right: 0.5rem;
color: var(--text-color);
}
.tree-item.active {
background-color: var(--highlight-color);
}
/* File icon colors */
.file-json {
color: var(--keyword-color);
}
.file-md {
color: var(--string-color);
}
.file-html {
color: var(--function-color);
}
/* URL input styles */
.url-input {
background-color: var(--surface-color);
color: var(--text-color);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 0.5rem 1rem;
width: 100%;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.url-input:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.25);
outline: none;
}
.url-form {
display: flex;
gap: 0.5rem;
}
</style>
</head>
<body class="flex flex-col h-screen theme-transition">
<!-- VS Code-inspired Header - Now sticky -->
<header class="flex items-center py-1 px-4 border-b border-opacity-50"
style="border-color: var(--border-color); background-color: var(--bg-color);">
<div class="flex items-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
style="color: var(--accent-color);">
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg>
<span class="ml-2 font-semibold">OpenAPI Search</span>
</div>
<div class="ml-auto flex items-center space-x-4">
<button id="theme-toggle" class="p-1 rounded hover:bg-opacity-20 theme-toggle-btn"
style="background-color: var(--surface-color); background-opacity: 0.2;">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 moon-icon" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 sun-icon hidden" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
<a href="https://github.com/janwilmake/openapisearch" target="_blank"
class="p-1 rounded hover:bg-opacity-20"
style="background-color: var(--surface-color); background-opacity: 0.2;">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd" />
</svg>
</a>
</div>
</header>
<div class="flex-1 flex overflow-hidden">
<!-- VS Code Explorer Sidebar - Now sticky -->
<aside class="w-64 activity-bar sticky top-0 h-full overflow-y-auto">
<div class="p-4 border-b border-opacity-50" style="border-color: var(--border-color);">
<h2 class="font-semibold">EXPLORER</h2>
</div>
<div class="p-2">
<div class="mb-2">
<div class="flex items-center py-1 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
<span>API RESOURCES</span>
</div>
<div class="ml-4">
<a href="/README.md" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-json" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>README.md</span>
</a>
<a href="/openapi.json" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-json" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>openapi.json</span>
</a>
<a href="/providers.json" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-json" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>providers.json</span>
</a>
<a href="/index.md" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-md" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>index.md</span>
</a>
</div>
</div>
<div class="mb-2">
<div class="flex items-center py-1 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
<span>BLOG</span>
</div>
<div class="ml-4">
<a href="/blog/agent-readiness.md" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-md" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>agent-readiness.md</span>
</a>
<a href="/blog/openapi-discovery.md" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-md" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>openapi-discovery.md</span>
</a>
</div>
</div>
<div class="mb-2">
<div class="flex items-center py-1 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mr-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
<span>FOR HUMANS</span>
</div>
<div class="ml-4">
<a href="/openapi" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-html" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>openapi</span>
</a>
<a href="/handmade" class="tree-item">
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 file-html" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z"
clip-rule="evenodd" />
</svg>
<span>handmade</span>
</a>
</div>
</div>
</div>
</aside>
<!-- Main Content Area (Editor) -->
<main class="flex-1 editor overflow-y-auto">
<div class="max-w-5xl mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="mb-12">
<div class="mb-8">
<h1 class="text-4xl md:text-5xl font-bold mb-6">
<span style="color: var(--variable-color);">Let your LLM understand</span>
<span style="color: var(--keyword-color);">ANY</span>
<span style="color: var(--variable-color);">API</span>
</h1>
<p class="text-lg mb-8">
OpenAPI Search makes APIs accessible to LLMs with a clever prompting system.
</p>
</div>
<!-- URL Input -->
<div class="mb-8">
<form id="url-form" class="url-form">
<input type="url" id="openapi-url" class="url-input flex-grow"
placeholder="Enter OpenAPI URL" required>
<button type="submit" class="vscode-btn">
Load API
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 ml-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</button>
</form>
</div>
<div class="mb-8 flex flex-row gap-4">
<a href="/search" class="vscode-btn inline-flex items-center"
style="background-color: var(--accent-color);">
Explore OpenAPI Directory
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 ml-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</a>
<a href="https://github.com/janwilmake/openapi-mcp-server" target="_blank"
class="vscode-btn inline-flex items-center" style="background-color: var(--accent-color);">
Try the MCP
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 ml-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</a>
<a href="https://github.com/janwilmake/openapisearch" target="_blank"
class="vscode-btn inline-flex items-center" style="background-color: var(--accent-color);">
View on GitHub
<svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 ml-2" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</a>
</div>
<p class="pt-8">Powered by</p>
<div class="flex flex-row gap-6 pt-2">
<img src="openapi.png" class="h-[150px]"></img>
<img src="slop.png" width="150" height="150"></img>
</div>
</section>
<!-- Features Section -->
<section class="mb-12">
<h2 class="text-2xl font-semibold mb-6">
<span style="color: var(--comment-color);">// Why OpenAPI Search?</span>
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="vscode-card p-6">
<div class="text-xl mb-4" style="color: var(--keyword-color);">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" viewBox="0 0 20 20"
fill="currentColor">
<path d="M9 9a2 2 0 114 0 2 2 0 01-4 0z" />
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a4 4 0 00-3.446 6.032l-2.261 2.26a1 1 0 101.414 1.415l2.261-2.261A4 4 0 1011 5z"
clip-rule="evenodd" />
</svg>
</div>
<h3 class="text-lg font-semibold mb-2">Discovery</h3>
<p>
Find the right API for your needs through a searchable, well-organized interface.
</p>
</div>
<div class="vscode-card p-6">
<div class="text-xl mb-4" style="color: var(--string-color);">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" viewBox="0 0 20 20"
fill="currentColor">
<path fill-rule="evenodd"
d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z"
clip-rule="evenodd" />
</svg>
</div>
<h3 class="text-lg font-semibold mb-2">LLM-Friendly</h3>
<p>
Our simple language OpenAPI parse allows MCPs to easily navigate even the biggest APIs.
</p>
</div>
<div class="vscode-card p-6">
<div class="text-xl mb-4" style="color: var(--function-color);">
<svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8" viewBox="0 0 100 100">
<!-- Outer circle -->
<circle cx="50" cy="50" r="45" stroke="currentColor" stroke-width="4" fill="none" />
<!-- Arrow pointing outward -->
<path d="M50 25 L50 60 M35 40 L50 25 L65 40" stroke="currentColor" stroke-width="4"
fill="none" stroke-linecap="round" stroke-linejoin="round" />
<!-- Small break in the circle to indicate "open" -->
<path d="M30 75 A 30 30 0 0 0 70 75" stroke="currentColor" stroke-width="4"
fill="none" />
</svg>
</div>
<h3 class="text-lg font-semibold mb-2">Open by Default</h3>
<p>
Promote open standards and keep APIs accessible, not locked behind commercial gateways.
</p>
</div>
</div>
</section>
<section class="mb-12">
<h2 class="text-2xl font-semibold">
<span style="color: var(--comment-color);">// What people are saying</span>
</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="tweet-embed">
<blockquote class="twitter-tweet" data-dnt="true">
<p lang="en" dir="ltr"><a
href="https://twitter.com/brianships/status/1903898939901772247?ref_src=twsrc%5Etfw">March
23th, 2025
</a>
</blockquote>
</div>
<div class="tweet-embed">
<blockquote class="twitter-tweet" data-dnt="true">
<p lang="en" dir="ltr"><a
href="https://twitter.com/janwilmake/status/1903405851286618501">March
22, 2025</a>
</blockquote>
</div>
<div class="tweet-embed">
<blockquote class="twitter-tweet" data-dnt="true">
<p lang="en" dir="ltr"> <a
href="https://twitter.com/EastlondonDev/status/1903472205331341434">March
22nd, 2025</a>
</blockquote>
</div>
<!-- <div class="tweet-embed">
<blockquote class="twitter-tweet" data-dnt="true">
<p lang="en" dir="ltr"> <a
href="https://twitter.com/janwilmake/status/1906801199648485643">March
31th, 2025</a>
</blockquote>
</div> -->
</div>
</section>
</div>
</main>
</div>
<!-- VS Code Status Bar - Now sticky -->
<footer class="status-bar py-1 px-4 text-sm sticky bottom-0 z-10">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<a href="https://github.com/janwilmake/openapisearch" target="_blank" class="hover:opacity-80"
style="color: var(--accent-color);">
<svg class="h-4 w-4 inline mr-1" fill="currentColor" viewBox="0 0 24 24">
<path fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd" />
</svg>
main
</a>
<span>OpenAPI Search v1.0.0</span>
</div>
<div>
<span>© 2025 OpenAPI Search</span>
</div>
</div>
</footer>
<script>
// Theme toggle functionality
const themeToggle = document.getElementById('theme-toggle');
const moonIcon = document.querySelector('.moon-icon');
const sunIcon = document.querySelector('.sun-icon');
const htmlElement = document.documentElement;
// Function to set theme based on preference
function setTheme(isDark) {
if (isDark) {
htmlElement.classList.add('dark');
moonIcon.classList.add('hidden');
sunIcon.classList.remove('hidden');
} else {
htmlElement.classList.remove('dark');
moonIcon.classList.remove('hidden');
sunIcon.classList.add('hidden');
}
}
// Check for saved theme preference or use system preference
const savedTheme = localStorage.getItem('theme');
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (savedTheme) {
// Use saved preference if available
setTheme(savedTheme === 'dark');
} else {
// Otherwise use system preference
setTheme(prefersDark);
}
// Toggle theme when button is clicked
themeToggle.addEventListener('click', () => {
const isDark = htmlElement.classList.toggle('dark');
// Update icons
if (isDark) {
moonIcon.classList.add('hidden');
sunIcon.classList.remove('hidden');
} else {
moonIcon.classList.remove('hidden');
sunIcon.classList.add('hidden');
}
// Save preference
localStorage.setItem('theme', isDark ? 'dark' : 'light');
});
// Listen for system theme changes
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e => {
// Only apply system preference if user hasn't set their own preference
if (!localStorage.getItem('theme')) {
setTheme(e.matches);
}
});
// Handle URL form submission
document.getElementById('url-form').addEventListener('submit', function (event) {
event.preventDefault();
const url = document.getElementById('openapi-url').value.trim();
if (url) {
// Validate URL
try {
new URL(url);
// Encode the URL and redirect
const encodedUrl = encodeURIComponent(url);
window.location.href = `/${encodedUrl}`;
} catch (e) {
alert('Please enter a valid URL');
}
}
});
</script>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
</html>