Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

MindMesh

Hackathon monorepo: Chrome extension + Node API + shared types + Gemini prompt helpers + Video Intelligence normalization (mocked).

Folder layout

Path Owner mindset Purpose
apps/extension Frontend / UX MV3 Chrome extension (popup + service worker). Calls the API via src/services/apiClient.ts.
apps/api Backend Express + TypeScript HTTP API. Mock route demonstrates @mindmesh/shared, @mindmesh/ai, @mindmesh/video.
packages/shared Everyone Source of truth for SceneContext and related types. Import from @mindmesh/shared.
packages/ai ML / prompts String-only Gemini prompt templates (buildSceneSummaryPrompt, etc.). No SDK calls here yet.
packages/video Video / GCP Placeholders for Video Intelligence normalization + transcript/visual fusion.
docs/ Tech lead / all Architecture, HTTP contracts, prompt I/O, demo script.

Install

From the repo root:

npm install

Build all packages and apps (Turbo respects dependency order):

npm run build

Run the API

npm run dev --filter=@mindmesh/api

Defaults to http://localhost:8787. Copy .env.example → .env when you add real keys.

Health check: GET http://localhost:8787/health
Mock scene: GET http://localhost:8787/api/v1/mock/scene

Run / load the extension

  1. Build packages + extension (once, or after changes):

    npm run build
  2. Chrome → Extensions → enable Developer mode → Load unpacked → choose apps/extension/dist.

  3. Ensure the API is running so the popup’s mock fetch succeeds.

Dev rebuild loop:

npm run dev --filter=@mindmesh/extension

Reload the extension in Chrome after each rebuild.

Typecheck everything

npm run typecheck

Team branching (suggested)

  • main: demo-ready, always builds.
  • Short-lived branches per surface: feat/extension-…, feat/api-…, feat/shared-…, feat/ai-…, feat/video-….
  • Touch packages/shared only when the JSON contract changes; update docs/api-contract.md in the same PR.
  • Rebase or merge from main frequently; resolve conflicts in shared first, then propagate types to consumers.

Canonical scene object

The shared contract lives in packages/shared/src/scene.ts as SceneContext and canonicalMockScene.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages