Open-source medical scribe

From visit transcript to clinical note

Record audio or paste a transcript. Draft a SOAP, full, or procedure note with your own model, then review and edit each section in your local workspace.

What OpenScribe does

Bring your own LLM

Use OpenAI, Anthropic, an OpenAI-compatible endpoint, or local Ollama.

JSON + Markdown notes

Edit each section as Markdown. Copy the note or inspect its structured JSON.

Live note generation

Watch the draft appear as the model writes. Regenerate a single section as needed.

Local-first privacy

Visits and settings are stored in SQLite. Model requests go directly to your chosen provider.

Audio or pasted text

Record with a compatible transcription provider or paste an existing transcript.

MIT licensed

Read the prompts, adapt the templates, or self-host the app under the MIT license.

Quickstart

Run OpenScribe locally

Requires Ruby 3.4.8, Node 22.12 or later, and SQLite. Setup adds three fictional visits.

  1. 1 Install dependencies and seed SQLite with bin/setup --skip-server.
  2. 2 Start Rails and Vite via bin/dev on localhost:3100.
  3. 3 Choose a model in Settings, open a visit, and select Generate note.
Terminal
$ git clone https://github.com/eltoob/openscribe.git
$ cd openscribe
$ bin/setup --skip-server
$ bin/dev        # open http://localhost:3100

Supported providers

Choose a provider in the workspace settings.

Provider Configuration
OpenAI API key · chat + Whisper transcription
Anthropic API key · note generation
OpenAI-compatible Base URL + key · Groq, OpenRouter, DeepSeek, vLLM
Ollama (local) Installed model · note generation

Stable note contract

Sections appear in the order stored in the JSON array.

{
  "template": "soap",
  "sections": [
    {
      "key": "subjective",
      "title": "Subjective",
      "markdown": "10-day cough, mild wheeze."
    },
    {
      "key": "plan",
      "title": "Plan",
      "markdown": "- Albuterol HFA PRN\n- Fluids and rest"
    }
  ]
}