Skip to content

Adding Moss Bun demo#132

Merged
CoderOMaster merged 18 commits intomainfrom
keshav/moss-bun
Apr 10, 2026
Merged

Adding Moss Bun demo#132
CoderOMaster merged 18 commits intomainfrom
keshav/moss-bun

Conversation

@CoderOMaster
Copy link
Copy Markdown
Collaborator

@CoderOMaster CoderOMaster commented Apr 8, 2026

Pull Request Checklist

Please ensure that your PR meets the following requirements:

  • I have read the CONTRIBUTING guide.
  • I have updated the documentation (if applicable).
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

Description

Added Moss sample with Bun

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Open with Devin

Copilot AI review requested due to automatic review settings April 8, 2026 17:48
devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new apps/moss-bun demo application showcasing how to use the Moss TypeScript SDK with the Bun runtime, including a REST API (Elysia), CLI utilities, a seed script, tests, and containerization assets.

Changes:

  • Introduces a Bun + Elysia HTTP server exposing endpoints for index/document management and semantic search.
  • Adds developer tooling for the demo (CLI, seed script, examples script) plus Docker/Docker Compose configs.
  • Adds a Bun test suite intended to validate Moss SDK integration.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
apps/moss-bun/src/index.ts Elysia REST API server for Moss operations (search, indexes, docs).
apps/moss-bun/src/cli.ts CLI for creating/listing/querying/deleting Moss indexes.
apps/moss-bun/src/seed.ts Seed script to create a demo index with sample documents and verify queries.
apps/moss-bun/src/moss.test.ts Bun integration tests for Moss operations and basic runtime checks.
apps/moss-bun/README.md Usage and deployment documentation for the moss-bun demo app.
apps/moss-bun/package.json Bun app scripts and dependencies.
apps/moss-bun/Dockerfile Multi-stage container build for running the server.
apps/moss-bun/docker-compose.yml Local container orchestration for the demo server.
apps/moss-bun/examples.sh Curl-based API usage examples script.
apps/moss-bun/bunfig.toml Bun install/build/test configuration for the app.
apps/moss-bun/bun.lock Bun lockfile for dependency resolution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.


## What's Included

- 🚀 **REST API Server** - Full-featured HTTP API for Moss operations
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove emojis

@CoderOMaster CoderOMaster merged commit 5eab44d into main Apr 10, 2026
17 of 18 checks passed
@CoderOMaster CoderOMaster deleted the keshav/moss-bun branch April 10, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants