内容摘录
Edit Mind: Local Video Knowledge Base
Edit Mind lets you index your videos **(including transcription, frame analysis, and multi-model embedding)**, and you can search your videos (or specific video scenes) using natural language.
**Development Status:** Edit Mind is currently in **active development** and **not yet production-ready**.
Expect incomplete features and occasional bugs. We welcome contributors to help us reach **v1.0**!
License: MIT
PRs Welcome
ChromaDB
Docker
---
Note: (Edit Mind name is coming from Video Editor Mind, so this will be the editor's second brain and companion in the future)
Sponsors of this project
brycedev
Showcase Video
Edit Mind Demo
*Click to watch a walkthrough of Edit Mind's core features.*
---
Why Edit Mind?
Search videos by spoken words, objects, faces, etc...
Runs fully **locally**, respecting privacy.
Works on **any computer or server with Docker installed**.
Uses AI for rich metadata extraction and semantic search.
Core Features
**Video Indexing and Processing:** A background service watches for new video files and queues them for AI-powered analysis.
**AI-Powered Video Analysis:** Extracts metadata like face recognition, transcription, object & text detection, scene analysis, and more.
**Vector-Based Semantic Search:** Powerful natural language search capabilities on video content using ChromaDB.
**Dual Interfaces:** Access your video library through a **Web App**.
---
Core Technologies
| Area | Technology |
| :---------------- | :------------------------------------------------ |
| **Monorepo** | pnpm workspaces |
| **Containerization** | Docker, Docker Compose |
| **Web Service** | React Router V7, TypeScript, Vite |
| **Background Jobs Service** | Node.js, Express.js, BullMQ |
| **ML Sevice** | Python, OpenCV, PyTorch, OpenAI Whisper, Google Gemini or Ollama (Used for NLP) |
| **Vector Database** | ChromaDB |
| **Relational DB** | PostgreSQL (via Prisma ORM) |
---
Getting Started
Edit Mind uses Docker Compose to run everything in containers.
Setup Video
Edit Setup Guide
*Click to watch a walkthrough of Edit Mind's setup guide.*
Prerequisites
Docker Desktop installed and running.
That's it! Everything else runs in containers.
Project Setup
Configure Docker File Sharing
**Important:** Before proceeding, configure Docker to access your media folder.
**macOS/Windows:**
Open Docker Desktop
Go to **Settings** → **Resources** → **File Sharing**
Add the path where your videos are stored (e.g., /Users/yourusername/Videos)
Click **Apply & Restart**
**Linux:** File sharing is typically enabled by default.
Configure Environment Variables
Edit Mind uses a **two-file environment configuration**:
**.env** - Your personal configuration (required)
**.env.system** - System defaults (required)
Step 3.1: Create Your Personal Configuration
Copy the example file and customize it:
If you have NVIDIA GPU, use docker-compose.cuda.yml file instead
**Edit the .env file and configure these critical settings:**
**Quick Key Generation:**
Start the Services
Start all services with a single command:
Access the Applications
Once all services are running (look for "ready" messages in logs):
**Web App:** http://localhost:3745
If you're using Safari, use http://127.0.0.1:3745
Add Your First Videos
Navigate to the web app at http://localhost:3745
Login using admin@example.com and the password is admin
Navigate to the web app at http://localhost:3745/app/settings
Click **"Add Folder"**
Select a folder from your HOST_MEDIA_PATH location
Navigate to the folder details page and click on Rescan
The background job service will automatically start processing your videos and will start watching for new video file events
Special Thanks
A huge thank you to the r/selfhosted community on Reddit for their amazing support, valuable feedback, and encouragement.
Original discussion:
https://www.reddit.com/r/selfhosted/comments/1ogis3j/i_built_a_selfhosted_alternative_to_googles_video/
Contributing
We welcome contributions of all kinds! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
Development Setup
Follow the steps below if you want to extend the app functionality or fix bugs.
Clone the Repository
Setup dev environment
Start docker container in dev mode
Community Presentations
Edit Mind at Twelve Labs
*Watch the Edit Mind presentation at Twelve Labs (starts at 21:12)*
---
---
License
This project is licensed under the MIT License - see the LICENSE.md file for details.