# Edit Mind

> A self-hosted knowledge base for your video library — transcribe, detect faces and objects, then find any scene by describing it in plain language

- Category: Retrieval & Knowledge (RAG) / RAG Frameworks & Platforms
- Language: TypeScript
- Licence: Edit Mind License (source-available: free for individuals, non-profits and companies with 5 or fewer employees; larger for-profit organisations need a commercial licence; releases before 21 Feb 2026 remain MIT)
- Repository: https://github.com/IliasHad/edit-mind
- Website: https://edit-mind.com
- Canonical page: https://ai-tldr.dev/tools/edit-mind/

## In short

Edit Mind turns a folder of video files into a searchable knowledge base. It sits in the RAG Frameworks & Platforms category of the Retrieval & Knowledge (RAG) tools and is open-source, written in TypeScript and licensed Edit Mind License (source-available: free for individuals, non-profits and companies with 5 or fewer employees; larger for-profit organisations need a commercial licence; releases before 21 Feb 2026 remain MIT).

## Overview

Edit Mind turns a folder of video files into a searchable knowledge base. A background service watches the folders you register and queues every new file for analysis: speech is transcribed with OpenAI Whisper, frames are analysed for faces, objects and on-screen text, and the results are embedded and stored in ChromaDB. You then search the library — or specific scenes inside a video — by typing what you are looking for, whether that is something someone said, an object in shot or a person's face. The name comes from "Video Editor Mind": the project describes itself as an editor's second brain.

Everything runs locally in Docker Compose, so footage never leaves the machine. The stack is a pnpm monorepo: a React Router web app, a Node.js and BullMQ job service, a Python ML service built on PyAV and PyTorch, ChromaDB for vectors and PostgreSQL through Prisma for metadata. For the language side of search you choose either a local Ollama model or the Google Gemini API, and an NVIDIA GPU can be used through a separate CUDA compose file. The project also exposes a token-scoped REST API and an MCP server whose tools let Claude Code or Claude Desktop list videos, search scenes and read a video's indexed faces, objects and emotions.

Two things to know before adopting it. The README states the project is in active development and not yet production-ready. And the licence is not a standard open-source one: the Edit Mind License lets individuals, non-profits and companies with five or fewer employees use and modify it for free, while larger for-profit organisations need a commercial licence after a 30-day evaluation; versions released before 21 February 2026 remain under MIT. The maintainer also sells a separate desktop app for macOS and Windows that packages the same features without Docker.

## What it does

- Folder watching and background indexing — new video files are queued automatically and processed by a BullMQ job service
- Multi-modal analysis of every video: Whisper transcription, face recognition, object and text detection, and scene analysis
- Natural-language semantic search over whole videos or individual scenes, backed by ChromaDB
- Runs fully locally with Docker Compose, with a choice of Ollama or Gemini for language processing and an optional CUDA setup for NVIDIA GPUs
- A REST API with scoped, optionally expiring access tokens, plus an MCP server that lets Claude search and inspect the library

## Getting started

Edit Mind runs entirely in Docker Compose; Docker Desktop is the only prerequisite. The README offers a one-line installer script, or the manual steps below.

1. Quick install

   The installer script downloads and configures the project in one go. Skip to the manual steps if you prefer to see each file.

```bash
curl -sSL https://get.edit-mind.com | sh
```

2. Share your video folder with Docker

   On macOS and Windows, open Docker Desktop → Settings → Resources → File Sharing, add the folder where your videos live and click Apply & Restart. On Linux file sharing is typically enabled already. Then create a project folder.

```bash
mkdir edit-mind
cd edit-mind
```

3. Download the config and compose files

   Edit Mind uses two env files: .env for your settings and .env.system for system defaults. With an NVIDIA GPU, download docker-compose.cuda.yml as docker-compose.yml instead.

```bash
curl -L https://raw.githubusercontent.com/IliasHad/edit-mind/refs/heads/main/.env.example -o .env
curl -L https://raw.githubusercontent.com/IliasHad/edit-mind/refs/heads/main/.env.system.example -o .env.system
curl -L https://raw.githubusercontent.com/IliasHad/edit-mind/refs/heads/main/docker-compose.yml -o docker-compose.yml
```

4. Set the media path, the AI model and the keys

   In .env, point HOST_MEDIA_PATH at the folder you shared with Docker, pick either Ollama (run `OLLAMA_HOST=0.0.0.0:11434 ollama serve` and pull the model first) or Gemini with an API key, and fill ENCRYPTION_KEY and SESSION_SECRET with values from `openssl rand -base64 32` and `openssl rand -hex 32`.

```ini
HOST_MEDIA_PATH="/Users/yourusername/Videos"

# Option A: Ollama
USE_OLLAMA_MODEL="true"
OLLAMA_HOST="http://172.17.0.1"
OLLAMA_PORT="11434"
OLLAMA_MODEL="qwen2.5:7b-instruct"

# Option B: Gemini
USE_GEMINI="true"
GEMINI_API_KEY="your-gemini-api-key-from-google-ai-studio"

ENCRYPTION_KEY="your-random-32-char-base64-key"
SESSION_SECRET="your-random-session-secret"
```

5. Start the stack and add a folder

   Once the logs show the services are ready, open http://localhost:3745 (http://127.0.0.1:3745 in Safari) and sign in with admin@example.com / admin. Under /app/settings click Add Folder, choose a folder inside HOST_MEDIA_PATH, then click Rescan on its details page; the job service processes the videos and keeps watching for new files.

```bash
docker compose up
```

## When to use it

- Find the exact clip in years of raw footage by describing what was said or what is on screen, instead of scrubbing timelines
- Keep a private, searchable archive of personal or client video without uploading it to a cloud service
- Let an AI assistant such as Claude query your video library through the MCP server or the REST API
