Skip to content
albertusgeyserPublic

About

MeetingOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

meetingOS

Self-hosted meeting transcription SaaS backend: upload a recording, get back a speaker-labeled transcript, an AI summary with action items, and full-text search over your archive. Two run profiles are supported out of the box:

  • CPU profile (default) — runs anywhere, including a laptop with no GPU. Use this for local development and to verify the pipeline end-to-end. Uses a smaller Whisper model (small, int8) since large-v3 on CPU is impractically slow.
  • GPU profile — targets a real NVIDIA card (built against an RTX 3060 12GB) for production-grade throughput: large-v3, float16.

Both profiles run identical code; only the worker's Docker image, device placement, and model/compute-type settings differ. See "Running it" below.

Architecture

  • api (Go, chi + pgx) — REST API, auth, presigned uploads, job enqueue.
  • postgres — source of truth for accounts, meetings, jobs, transcripts, summaries. Also doubles as the job queue (FOR UPDATE SKIP LOCKED + LISTEN/NOTIFY) — no Redis in this version; see note below.
  • minio — S3-compatible object storage for uploaded audio.
  • worker (Python) — claims jobs, runs WhisperX (ASR + alignment + pyannote diarization) on CPU or GPU depending on profile, then calls Ollama for summarization.
  • ollama — runs a small local LLM (CPU, on both profiles) to produce summaries + action items, kept off the GPU so it doesn't compete with WhisperX for VRAM on the GPU profile.

Why no Redis: with a single GPU worker there's only ever one job in flight, so a Postgres-backed queue keeps job state and durability in one place instead of two. It's a straightforward add later if you add multiple workers or need caching/rate-limiting.

Translation is not implemented yet. meetings.target_language and the generic jobs.type column are there so it can be added later without a schema change.

Prerequisites

  1. Docker + Docker Compose.
  2. GPU profile only: NVIDIA Container Toolkit installed on the host, verified with:
    docker run --rm --gpus all nvidia/cuda:12.1.1-base-ubuntu22.04 nvidia-smi
    
    Not needed for the CPU profile.
  3. A HuggingFace account: accept the gated model license at https://huggingface.co/pyannote/speaker-diarization-3.1 (and https://huggingface.co/pyannote/segmentation-3.0), then create an access token and put it in .env as HUGGINGFACE_TOKEN. One-time manual step — the diarization model won't download without it, on either profile.

Running it

cp .env.example .env
# edit .env: set HUGGINGFACE_TOKEN at minimum

make up       # CPU profile (laptop/dev). Use `make up-gpu` on the RTX 3060 box instead.
docker compose ps            # wait for all services healthy
docker compose logs -f worker  # wait for "worker ready, polling for jobs"

make seed-account            # prints ACCOUNT_ID and API_KEY - save the key, shown once
make smoke API_KEY=mk_live_xxxxx

make smoke uploads scripts/sample.wav, waits for the job to complete, and prints the resulting transcript and summary. On the CPU profile this can take a couple of minutes even for a 15-second clip - that's expected, it's there to prove the pipeline is wired correctly, not to benchmark speed.

To switch profiles on an existing stack, tear down first (make down) since the two profiles build different images for the same service.

API

All routes except /healthz require Authorization: Bearer <api_key>.

Method Path Purpose
GET /healthz liveness
POST /v1/meetings create meeting, get a presigned upload URL
POST /v1/meetings/{id}/confirm-upload mark uploaded, enqueue transcription
GET /v1/meetings list meetings
GET /v1/meetings/{id} meeting detail/status
GET /v1/jobs/{id} job status
GET /v1/meetings/{id}/transcript transcript + speaker segments
GET /v1/meetings/{id}/summary summary + action items
GET /v1/search?q=... full-text search over your transcripts

There's no public signup endpoint yet — accounts/keys are created via make seed-account.

Cleaning up

make down     # stop containers, keep data
make reset    # stop containers and delete all volumes (destructive)

About

MeetingOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages