js web sdk examples#162
Merged
HarshaNalluru merged 4 commits intomainfrom Apr 20, 2026
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
yatharthk2
approved these changes
Apr 20, 2026
ashvathsureshkumar
added a commit
that referenced
this pull request
Apr 21, 2026
Re-ran `npm install` in apps/next-js and `pnpm install --lockfile-only` in packages/vitepress-plugin-moss after rebasing onto main. Main picked up dependabot bumps (#159) and the new examples/javascript-web/ directory (#162) while this branch was open; this commit makes both lockfiles consistent with the current package.json deps.
Atulsingh1155
pushed a commit
to Atulsingh1155/moss
that referenced
this pull request
Apr 30, 2026
This pull request introduces a new set of example projects for the Moss Browser SDK (`@moss-dev/moss-web`) that demonstrate in-browser semantic search using WASM. The examples cover core SDK operations, semantic querying, metadata filtering, and provide a ready-to-run development environment with Vite and TypeScript. The changes include setup instructions, sample HTML/TypeScript files for each example, and project configuration files. Key additions and changes: **New Example Applications:** * Added `comprehensive_sample.html` and `comprehensive_sample.ts` for an end-to-end demonstration of all SDK operations, including creating, querying, updating, and deleting indexes and documents. * Added `load_and_query_sample.html` and `load_and_query_sample.ts` to show how to load an existing index and run semantic searches entirely in-browser. * Added `metadata_filtering_sample.html` and `metadata_filtering_sample.ts` to demonstrate metadata-rich queries using `$eq`, `$and`, `$or`, `$in`, and `$near` filters. * Created a main `index.html` as a hub to navigate between the different examples.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new set of example projects for the Moss Browser SDK (
@moss-dev/moss-web) that demonstrate in-browser semantic search using WASM. The examples cover core SDK operations, semantic querying, metadata filtering, and provide a ready-to-run development environment with Vite and TypeScript. The changes include setup instructions, sample HTML/TypeScript files for each example, and project configuration files.Key additions and changes:
New Example Applications:
comprehensive_sample.htmlandcomprehensive_sample.tsfor an end-to-end demonstration of all SDK operations, including creating, querying, updating, and deleting indexes and documents.load_and_query_sample.htmlandload_and_query_sample.tsto show how to load an existing index and run semantic searches entirely in-browser.metadata_filtering_sample.htmlandmetadata_filtering_sample.tsto demonstrate metadata-rich queries using$eq,$and,$or,$in, and$nearfilters.index.htmlas a hub to navigate between the different examples.