-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (28 loc) · 1.23 KB
/
index.html
File metadata and controls
30 lines (28 loc) · 1.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Moss Browser SDK Examples</title>
<style>
body { font-family: system-ui, sans-serif; max-width: 640px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; }
a { color: #2563eb; }
code { background: #f4f4f4; padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.9em; }
</style>
</head>
<body>
<h1>Moss Browser SDK Examples</h1>
<p>Examples for <code>@moss-dev/moss-web</code> - in-browser semantic search powered by WASM.</p>
<ul>
<li><a href="load_and_query_sample.html">Load & Query</a> - Load an existing index and run searches</li>
<li><a href="comprehensive_sample.html">Comprehensive</a> - Full CRUD lifecycle: create, add, query, delete</li>
<li><a href="metadata_filtering_sample.html">Metadata Filtering</a> - Query with <code>$eq</code>, <code>$and</code>, <code>$or</code>, <code>$lt</code>, <code>$in</code>, and <code>$near</code> filters</li>
</ul>
<h2>Setup</h2>
<ol>
<li>Run <code>npm install</code></li>
<li>Run <code>npm run dev</code></li>
<li>Open this page in your browser and pick an example</li>
</ol>
</body>
</html>