YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
docs: rewrite all pages — remove JS SDK, use REST API + bunx screenpipe
Louis Beaumont9982e4bffb14
diff --git a/content/docs-mintlify-mig-tmp/ai-memory.mdx b/content/docs-mintlify-mig-tmp/ai-memory.mdxindex 7976c50dc..5025e8f1d 100644--- a/content/docs-mintlify-mig-tmp/ai-memory.mdx+++ b/content/docs-mintlify-mig-tmp/ai-memory.mdx@@ -1,41 +1,25 @@----title: "give AI memory of your screen - context for LLMs"+title: "give AI memory of your screen"sidebarTitle: "ai memory"-description: "Give your AI assistant memory of everything on your screen. Use screenpipe to provide context to ChatGPT, Claude, Ollama, and other LLMs."+description: "Give your AI assistant memory of everything on your screen. Use screenpipe with Claude, Cursor, Ollama, and other LLMs."icon: "brain"----screenpipe acts as a memory layer for AI, giving large language models context about what you've been doing on your computer.+screenpipe acts as a memory layer for AI — it gives LLMs context about what you've been doing on your computer.## why AI needs memory-LLMs are powerful but stateless - they don't know what you were working on 5 minutes ago. screenpipe bridges this gap by:+LLMs are stateless — they don't know what you were working on 5 minutes ago. screenpipe bridges this by:-- capturing everything on your screen+- capturing everything on your screen 24/7- extracting text via OCR-- transcribing audio-- making it all searchable and retrievable+- making it searchable via REST API on `localhost:3030`-## connect to AI providers+## connect to AI-### ollama (local)+### MCP (recommended)-```bash-# start ollama-ollama run phi4:14b-q4_K_M--# configure in screenpipe settings-# model: phi4:14b-q4_K_M-# url: http://localhost:11434-```--### openai--set your API key in screenpipe settings under AI configuration.--### claude via MCP--screenpipe can act as an MCP server, giving Claude direct access to your screen history:+screenpipe has a built-in MCP server that works with Claude Desktop, Cursor, and other MCP-compatible tools:```json{@@ -50,77 +34,41 @@ screenpipe can act as an MCP server, giving Claude direct access to your screensee [MCP server setup](/mcp-server) for details.-## build AI-powered apps--### context-aware chatbot--```typescript-import { pipe } from "@screenpipe/js";-import { generateText } from "ai";--async function chatWithContext(userMessage: string) {- // get recent screen context- const context = await pipe.queryScreenpipe({- limit: 20,- contentType: "all"- });-- // format context for LLM- const screenContext = context.data- .map(item => {- if (item.type === "OCR") {- return `[Screen - ${item.content.app_name}]: ${item.content.text}`;- } else {- return `[Audio]: ${item.content.transcription}`;- }- })- .join("\n");-- // generate response with context- const response = await generateText({- model: yourModel,- prompt: `Based on the user's recent activity:\n${screenContext}\n\nUser question: ${userMessage}`- });-- return response;-}-```+### pipes (scheduled agents)-### automatic note-taking+[pipes](/pipes) are AI agents that run on a schedule and act on your screen data automatically — like syncing to Obsidian, tracking time in Toggl, or sending daily summaries.-```typescript-// obsidian pipe example - syncs screen activity to notes-import { pipe } from "@screenpipe/js";+### direct API-async function logToObsidian() {- const recentActivity = await pipe.queryScreenpipe({- startTime: new Date(Date.now() - 60 * 60 * 1000).toISOString(), // last hour- contentType: "all"- });+any tool that can make HTTP requests can query screenpipe:- // summarize with AI and write to Obsidian- // ... see obsidian pipe for full implementation-}+```bash+# get recent screen activity+curl "http://localhost:3030/search?content_type=ocr&limit=20"++# search for specific content+curl "http://localhost:3030/search?q=meeting+notes&app_name=Slack&limit=10"```## use cases-| use case | how screenpipe helps |-|----------|---------------------|-| "what was I working on?" | search screen history by time |+| use case | how |+|----------|-----|+| "what was I working on?" | search by time range || "summarize today's meetings" | query audio transcriptions |-| "find that code snippet" | search OCR text by content |-| "what did john say about X?" | search transcriptions by keyword |+| "find that code snippet" | search OCR text |+| "auto-track my time" | toggl-sync pipe |+| "sync activity to notes" | obsidian-sync pipe |-## privacy-first AI+## privacy-first- all data stays on your device- use local LLMs (Ollama, LMStudio) for complete privacy+- filter what gets captured with `--ignored-windows` and `--included-windows`- no data sent to cloud unless you explicitly choose cloud providers-- filter what gets captured with window inclusion/exclusion## next steps-- [install screenpipe](/getting-started)-- [set up MCP server](/mcp-server)-- [build a plugin](/plugins)+- [set up MCP server](/mcp-server) — connect to Claude, Cursor+- [set up pipes](/pipes) — scheduled AI agents+- [CLI reference](/cli-reference) — search parameters and API endpointsdiff --git a/content/docs-mintlify-mig-tmp/architecture.mdx b/content/docs-mintlify-mig-tmp/architecture.mdxindex b4b4fa5a6..1d850cbae 100644--- a/content/docs-mintlify-mig-tmp/architecture.mdx+++ b/content/docs-mintlify-mig-tmp/architecture.mdx@@ -1,243 +1,99 @@----title: "screenpipe architecture - how screen capture & AI processing works"+title: "architecture"sidebarTitle: "architecture"-description: "Learn how screenpipe captures screens, processes OCR and audio transcription, stores data locally in SQLite, and provides APIs for AI integration."+description: "How screenpipe captures screens, processes OCR, stores data locally in SQLite, and provides APIs for AI."icon: "sitemap"----screenpipe's architecture handles continuous screen and audio capture, local data storage, and real-time processing. here's a breakdown of the key components:+## overview-## conceptual overview+screenpipe is a Rust application that continuously captures your screen and audio, processes them locally, and stores everything in a SQLite database. it serves a REST API on `localhost:3030` for querying your data.-at its core, screenpipe acts as a bridge between your digital activities and ai systems, creating a memory layer that provides context for intelligent applications. here's how to think about it:--### capturing layer--- **screen recording**: captures visual content at configurable frame rates-- **audio recording**: captures spoken content from multiple sources-- **ui events (accessibility)**: captures keyboard input, mouse clicks, app switches, clipboard events via accessibility APIs (macOS)--### processing layer--- **ocr engines**: extract text from screen recordings (apple native, windows native, tesseract, unstructured)-- **stt engines**: convert audio to text (whisper, deepgram)-- **speaker identification**: identifies and labels different speakers-- **pii removal**: optionally redacts sensitive information--### storage layer--- **sqlite database**: stores metadata, text, and references to media-- **media files**: stores the actual mp4/mp3 recordings-- **embeddings**: (coming soon) vector representations for semantic search--### retrieval layer+```+┌─────────────┐ ┌──────────────┐ ┌──────────┐ ┌───────────┐+│ capture │ ──▸ │ processing │ ──▸ │ storage │ ──▸ │ API │+│ screen/audio │ │ OCR / STT │ │ SQLite │ │ :3030 │+└─────────────┘ └──────────────┘ └──────────┘ └───────────┘+ │+ ┌─────┴─────┐+ │ pipes │+ │ AI agents │+ └───────────┘+```-- **search api**: filtered content retrieval for applications-- **streaming apis**: real-time access to new content-- **memory apis**: structured access to historical context+## layers-### extension layer (pipes)+### 1. capture-- **pipes ecosystem**: extensible plugins for building applications-- **pipe sdk**: typescript interface for building custom pipes-- **pipe runtime**: sandboxed execution environment for pipes+- **screen**: captures frames at configurable FPS (default 1.0, macOS 0.5)+- **audio**: captures from multiple input/output devices in configurable chunks (default 30s)+- **UI events**: keyboard, mouse, app switches, clipboard via accessibility APIs (macOS)-## diagram overview+### 2. processing-+- **OCR**: extracts text from frames — engines: `apple-native`, `windows-native`, `tesseract`, `unstructured`, `custom`+- **STT**: speech-to-text — engines: `whisper-large-v3-turbo`, `whisper-tiny`, `deepgram`+- **speaker ID**: identifies and labels different speakers+- **PII removal**: optional redaction of sensitive text-1. **input**: screen and audio data-2. **processing**: ocr, stt, transcription, multimodal integration-3. **storage**: sqlite database-4. **plugins**: custom pipes-5. **integrations**: ollama, deepgram, notion, whatsapp, etc.+### 3. storage-this modular architecture makes screenpipe adaptable to various use cases, from personal productivity tracking to advanced intelligence applications.+- **SQLite database** at `~/.screenpipe/db.sqlite` — metadata, OCR text, transcriptions, tags+- **media files** at `~/.screenpipe/data/` — MP4 screen recordings, audio chunks+- all data stays local on your machine-### data flow & lifecycle+### 4. API-here's the typical data flow through the screenpipe system:+REST API on `localhost:3030`:-1. **capture**- - screen is captured at the configured fps (default 1.0, or 0.5 on macos)- - audio is captured in chunks (default 30 seconds)- - ui events (keyboard, mouse, app switches, clipboard) are captured via accessibility APIs (macos, enable in settings)-2. **processing**- - captured frames are processed through ocr to extract text- - audio chunks are processed through stt to generate transcriptions- - speaker identification is applied to audio transcriptions-3. **storage**- - processed data is stored in the local sqlite database- - raw media files are stored in the configured data directory- - metadata is indexed for efficient retrieval-4. **retrieval**- - applications query the database through the rest api- - real-time data can be streamed through sse endpoints- - pipes can access data through the typescript sdk-5. **extension**- - pipes process the data to create higher-level abstractions- - pipes can integrate with external services (llms, etc.)- - pipes can control the system through the input api+- `/search` — filtered content retrieval+- `/frames/{id}` — access captured frames+- `/health` — system status+- `/raw_sql` — direct database queries+- see [CLI reference](/cli-reference) for full endpoint list-### data abstraction layers+### 5. pipes-+[pipes](/pipes) are scheduled AI agents (`.md` files) that run on your screen data. an AI agent (like [pi](https://github.com/mariozechner/pi-coding-agent)) reads the prompt, queries the screenpipe API, and takes action.-screenpipe organizes data in concentric layers of abstraction, from raw data to high-level intelligence:+pipes run in `~/.screenpipe/pipes/{name}/` and are scheduled via cron-like intervals.-1. **core (mp4 files)**: the innermost layer contains the raw screen recordings and audio captures in mp4 format-2. **processing layer**: contains the direct processing outputs- - ocr embeddings: vectorized text extracted from screen- - human id: anonymized user identification- - accessibility: metadata for improved data access- - transcripts: processed audio-to-text-3. **ai memories**: the outermost layer represents the highest level of abstraction where ai processes and synthesizes all lower-level data into meaningful insights-4. **pipes enrich**: custom processing modules that can interact with and enhance data at any layer+## data flow-this layered approach enables both granular access to raw data and sophisticated ai-powered insights while maintaining data privacy and efficiency.+1. **capture** → screen frames + audio chunks recorded to disk+2. **process** → OCR extracts text from frames, STT transcribes audio+3. **store** → processed data indexed in SQLite, media files on disk+4. **query** → apps/pipes search via REST API on localhost:3030+5. **act** → pipes use AI to analyze data and take actions (write notes, track time, send reminders)-### session and state management+## database schema-screenpipe maintains several types of state:+key tables:-1. **session state**- - managed by the core screenpipe server- - controls recording status, device selection, etc.- - accessible through the health api endpoint-2. **configuration state**- - stored in the settings database- - controls behavior of the core system- - accessible through the settings api-3. **pipe state**- - each pipe maintains its own state- - stored in the pipe's local storage or in screenpipe's settings- - isolated from other pipes for security+- `frames` — captured screen frame metadata+- `ocr_results` — text extracted from frames+- `audio_chunks` — audio recording metadata+- `transcriptions` — text from audio+- `speakers` — identified speakers+- `tags` — user-applied tags on content-understanding the different state models is important for building robust applications. the health api (`/health`) is particularly useful for checking the system's current state and ensuring services are running correctly.+inspect directly:-### database schema+```bash+sqlite3 ~/.screenpipe/db.sqlite .schema+```-screenpipe uses a sqlite database with the following main tables:+## resource usage-- **frames**: stores metadata about captured screen frames-- **ocr_results**: stores text extracted from frames-- **audio_chunks**: stores metadata about audio recordings-- **transcriptions**: stores text transcribed from audio-- **speakers**: stores identified speakers and their metadata-- **ui_elements**: stores ui elements captured from the screen-- **settings**: stores application configuration-- **pipes**: stores installed pipes and their configuration+runs 24/7 on a MacBook Pro M3 (32GB) or a $400 Windows laptop:-detailed schema information is available by querying the database directly:+- ~600 MB RAM+- ~10% CPU+- ~30 GB/month storage at 1 FPS-```bash-sqlite3 ~/.screenpipe/db.sqlite .schema-```+## source code-### integration patterns--developers typically interact with screenpipe in one of these patterns:--1. **retrieval pattern**: query for relevant context based on the current task-- ```typescript- const context = await pipe.queryScreenpipe({- q: "meeting notes",- contentType: "all",- limit: 10- })- ```-2. **streaming pattern**: process events as they occur-- ```typescript- for await (const event of pipe.streamVision()) {- // process each new screen event- }- ```-3. **augmentation pattern**: enhance user experience with context-- ```typescript- // when user asks about a recent meeting- const meetingContext = await pipe.queryScreenpipe({- q: "meeting",- contentType: "audio"- })-- // use context to generate response- const response = await generateResponse(userQuery, meetingContext)- ```-4. **automation pattern**: take actions based on context-- ```typescript- // monitor for specific content- for await (const event of pipe.streamVision()) {- if (event.data.text.includes("meeting starting")) {- // take action like sending notification- }- }- ```--understanding these patterns will help you design effective applications that leverage screenpipe's capabilities.--## status--alpha: runs on my computer `macbook pro m3 32 gb ram` and a $400 windows laptop, 24/7.--uses 600 mb, 10% cpu.--- integrations- - ollama- - openai- - friend wearable- - [fileorganizer2000](https://github.com/different-ai/file-organizer-2000)- - mem0- - brilliant frames- - vercel ai sdk- - supermemory- - deepgram- - unstructured- - excalidraw- - obsidian- - apple shortcut- - multion- - iphone- - android- - camera- - keyboard- - browser- - pipes (plugins you can build, share & install to extend screenpipe). runs in bun typescript engine within screenpipe on your computer-- screenshots + ocr with different engines to optimise privacy, quality, or energy consumption- - tesseract- - windows native ocr- - apple native ocr- - unstructured.io- - screenpipe screen/audio specialised llm-- audio + stt (works with multi input devices, like your iphone + mac mic, many stt engines)- - linux, macos, windows input & output devices- - iphone microphone-- [remote capture](https://github.com/screenpipe/screenpipe/discussions/68) (run screenpipe on your cloud and it capture your local machine, only tested on linux) for example when you have low compute laptop-- optimised screen & audio recording (mp4 encoding, estimating 30 gb/m with default settings)-- sqlite local db-- local api-- cross platform cli, [desktop app](https://screenpi.pe/) (macos, windows, linux)-- metal, cuda-- ts sdk-- multimodal embeddings-- cloud storage options (s3, pgsql, etc.)-- cloud computing options (deepgram for audio, unstructured for ocr)-- custom storage settings: customizable capture settings (fps, resolution)-- security- - window specific capture (e.g. can decide to only capture specific tab of cursor, chrome, obsidian, or only specific app)- - encryption- - pii removal-- fast, optimised, energy-efficient modes-- webhooks/events (for automations)-- abstractions for multiplayer usage (e.g. aggregate sales team data, company team data, partner, etc.)--### llm links--paste these links into your cursor chat for context:--- [server.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/server.rs)-- [core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/core.rs)-- [vision core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-vision/src/core.rs)+- [server.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/server.rs) — API server+- [core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/core.rs) — recording orchestration+- [vision core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-vision/src/core.rs) — screen capture+- [pipes/mod.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-core/src/pipes/mod.rs) — pipe managerdiff --git a/content/docs-mintlify-mig-tmp/cli-reference.mdx b/content/docs-mintlify-mig-tmp/cli-reference.mdxindex 0074427be..b31a2ac3b 100644--- a/content/docs-mintlify-mig-tmp/cli-reference.mdx+++ b/content/docs-mintlify-mig-tmp/cli-reference.mdx@@ -1,344 +1,196 @@----title: "screenpipe CLI reference - all commands and options"+title: "CLI reference"sidebarTitle: "cli reference"-description: "Complete CLI reference for screenpipe: screen recording options, audio settings, OCR engines, pipe management, and advanced configuration."+description: "Complete CLI reference for screenpipe: recording, search, pipes, audio, and vision commands."icon: "terminal"----below is the detailed cli reference for screenpipe's core functionality.--### core options--- **fps** (`\-f, --fps <FLOAT>`): frames per second for continuous recording- - default: `1.0` (non-macos), `0.5` (macos)- - storage impact: `1 fps ≈ 30 gb/month`, `5 fps ≈ 150 gb/month`-- **port** (`\-p, --port <INT>`): port to run the server on- - default: `3030`-- **data-dir** (`--data-dir <PATH>`): data directory- - default: `$HOME/.screenpipe`-- **debug** (`--debug`): enable debug logging- - default: `false`--### audio options--- **audio-chunk-duration** (`\-d, --audio-chunk-duration <INT>`): audio chunk duration in seconds- - default: `30`-- **disable-audio** (`--disable-audio`): disable audio recording- - default: `false`-- **audio-device** (`\-i, --audio-device <STRING>`): audio devices to use (can specify multiple)-- **realtime-audio-device** (`\-r, --realtime-audio-device <STRING>`): devices for realtime transcription-- **list-audio-devices** (`--list-audio-devices`): list available audio devices-- **audio-transcription-engine** (`\-a, --audio-transcription-engine <ENGINE>`): transcription engine- - options:- - `deepgram`: cloud-based, high quality (free tier available)- - `whisper-tiny`: local, lightweight, privacy-focused- - `whisper-large`: local, higher quality than tiny- - `whisper-large-v3-turbo`: local, highest quality- - default: `whisper-large-v3-turbo`-- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription- - default: `false`--### vision options--- **disable-vision** (`--disable-vision`): disable vision recording- - default: `false`-- **list-monitors** (`--list-monitors`): list available monitors-- **monitor-id** (`\-m, --monitor-id <INT>`): monitor ids to record (can specify multiple)-- **ignored-windows** (`--ignored-windows <STRING>`): windows to ignore by title- - example: `--ignored-windows "Spotify" --ignored-windows "Chrome"`-- **included-windows** (`--included-windows <STRING>`): windows to include by title- - example: `--included-windows "Code" --included-windows "Terminal"`-- **video-chunk-duration** (`--video-chunk-duration <INT>`): video chunk duration in seconds- - default: `60`-- **ocr-engine** (`\-o, --ocr-engine <ENGINE>`): ocr engine selection- - options:- - `apple-native`: default for macos- - `windows-native`: default for windows- - `tesseract`: default for linux- - `unstructured`: cloud-based (free tier available)- - `custom`: configurable via `SCREENPIPE_CUSTOM_OCR_CONFIG`--#### custom ocr engine example+## install & run```bash-# 1. setup python environment & ocr server-python -m venv venv-source venv/bin/activate--pip install fastapi uvicorn easyocr pillow numpy--# create ocr server file-cat > app.py << EOF-from fastapi import FastAPI, HTTPException-import base64-import io-from PIL import Image-import numpy as np-import time-import easyocr--app = FastAPI()-reader = easyocr.Reader(['en', 'ch_sim'])-[email protected]("/ocr")-async def read_ocr(payload: dict):- image_b64 = payload.get("image")- if not image_b64:- raise HTTPException(status_code=400, detail="no image data provided")- try:- start = time.time()- image_data = base64.b64decode(image_b64)- image = Image.open(io.BytesIO(image_data))- image_np = np.array(image)- result = reader.readtext(image_np)- text = "\n".join([item[1] for item in result])- confidence = sum([item[2] for item in result]) / len(result) if result else 0.0- print(f"ocr took {time.time() - start:.2f} seconds")- return {- "text": text,- "structured_data": {},- "confidence": confidence- }- except Exception as e:- raise HTTPException(status_code=500, detail=f"ocr error: {str(e)}")-EOF--# start the ocr server-uvicorn app:app --host 0.0.0.0 --port 8000--# 2. configure screenpipe-export SCREENPIPE_CUSTOM_OCR_CONFIG='{- "api_url": "http://localhost:8000/ocr",- "api_key": "",- "timeout_ms": 5000-}'--# 3. run screenpipe with custom ocr-screenpipe add \- path/to/videos \- --ocr-engine custom \- --data-dir /tmp/sp--# 4. cleanup-# stop server with ctrl+c-deactivate-rm -rf venv app.py+# recommended: run via npm+bunx screenpipe++# or install globally+npm i -g screenpipe+screenpipe```-### language & privacy+## recording options-- **language** (`\-l, --language <LANG>`): languages to support (can specify multiple)-- **use-pii-removal** (`--use-pii-removal`): enable pii removal from ocr text- - default: `false`+### core-### voice activity detection+| flag | description | default |+| --- | --- | --- |+| `-f, --fps <FLOAT>` | frames per second for recording | `1.0` (macOS: `0.5`) |+| `-p, --port <INT>` | API server port | `3030` |+| `--data-dir <PATH>` | data directory | `~/.screenpipe` |+| `--debug` | enable debug logging | `false` |-- **vad-engine** (`--vad-engine <ENGINE>`): voice activity detection engine- - options: `silero`, `webrtc`- - default: `silero`-- **vad-sensitivity** (`--vad-sensitivity <LEVEL>`): vad sensitivity level- - options: `low`, `medium`, `high`- - default: `high`+### audio-### experimental features+| flag | description | default |+| --- | --- | --- |+| `-d, --audio-chunk-duration <INT>` | chunk duration (seconds) | `30` |+| `--disable-audio` | disable audio recording | `false` |+| `-i, --audio-device <STRING>` | audio device (repeatable) | — |+| `-a, --audio-transcription-engine <ENGINE>` | STT engine | `whisper-large-v3-turbo` |+| `--vad-engine <ENGINE>` | voice activity detection (`silero`/`webrtc`) | `silero` |+| `--vad-sensitivity <LEVEL>` | VAD sensitivity (`low`/`medium`/`high`) | `high` |-- **enable-llm** (`--enable-llm`): enable local llm api- - default: `false`-- **enable-ui-monitoring** (`--enable-ui-monitoring`): enable ui monitoring (macos only)- - default: `false`-- **enable-frame-cache** (`--enable-frame-cache`): enable experimental video frame cache- - default: `false`-- **capture-unfocused-windows** (`--capture-unfocused-windows`): capture unfocused windows- - default: `false`-- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription- - default: `false`- - requires: at least one `--realtime-audio-device`- - note: experimental feature, may impact system performance+transcription engines: `deepgram`, `whisper-tiny`, `whisper-large`, `whisper-large-v3-turbo`-### subcommands+### vision-#### pipe management+| flag | description | default |+| --- | --- | --- |+| `--disable-vision` | disable screen recording | `false` |+| `-m, --monitor-id <INT>` | monitor to record (repeatable) | all |+| `-o, --ocr-engine <ENGINE>` | OCR engine | platform native |+| `--ignored-windows <STRING>` | ignore windows by title (repeatable) | — |+| `--included-windows <STRING>` | only capture these windows (repeatable) | — |+| `--video-chunk-duration <INT>` | video chunk duration (seconds) | `60` |-```bash-# list all pipes-screenpipe pipe list [--output <FORMAT>] [--port <PORT>]+OCR engines: `apple-native`, `windows-native`, `tesseract`, `unstructured`, `custom`-# install a new pipe-screenpipe pipe install <URL> [--output <FORMAT>] [--port <PORT>]+### privacy-# get pipe info-screenpipe pipe info <ID> [--output <FORMAT>] [--port <PORT>]+| flag | description | default |+| --- | --- | --- |+| `-l, --language <LANG>` | languages to support (repeatable) | — |+| `--use-pii-removal` | redact PII from OCR text | `false` |-# enable/disable pipe-screenpipe pipe enable <ID> [--port <PORT>]-screenpipe pipe disable <ID> [--port <PORT>]+### experimental-# delete pipe-screenpipe pipe delete <ID> [-y] [--port <PORT>]--# purge all pipes-screenpipe pipe purge [-y] [--port <PORT>]-```+| flag | description | default |+| --- | --- | --- |+| `--enable-ui-monitoring` | capture UI events via accessibility (macOS) | `false` |+| `--enable-frame-cache` | video frame cache | `false` |+| `--capture-unfocused-windows` | capture unfocused windows | `false` |-#### add external data to screenpipe (ocr only)+## subcommands-allows you to add external screen recordings to screenpipe, for example it could be your iphone screen recordings, your physical journal photos, etc.+### pipe management-companies use this to index their product's screen recordings, for example.+pipes are scheduled AI agents that run on your screen data. see [pipes docs](/pipes) for details.```bash-# add video files-screenpipe add <PATH> [--data-dir <DIR>] [--output <FORMAT>] [--pattern <REGEX>] [--ocr-engine <ENGINE>] [--metadata-override <PATH>]-```+# list all pipes+bunx screenpipe pipe list-by default, screenpipe extracts metadata (fps, duration, creation time) directly from video files. however, you can override these with a metadata file:+# install a pipe+bunx screenpipe pipe install /path/to/pipe+bunx screenpipe pipe install https://example.com/pipe.md-#### metadata override example+# enable/disable+bunx screenpipe pipe enable my-pipe+bunx screenpipe pipe disable my-pipe-```bash-# 1. setup test videos-mkdir -p $HOME/Downloads/tmpvideos--# copy 3 videos with random names-find $HOME/.screenpipe/data -type f -name "*monitor*.mp4" | head -n 3 | while read -r file; do- case $RANDOM in- [0-9][0-9][0-9][0-9])- cp "$file" "$HOME/Downloads/tmpvideos/video1.mp4"- ;;- [0-9][0-9][0-9][0-9][0-9])- cp "$file" "$HOME/Downloads/tmpvideos/video2.mp4"- ;;- *)- cp "$file" "$HOME/Downloads/tmpvideos/video3.mp4"- ;;- esac-done--# 2. create metadata override file-cat > metadata.json << EOF-{- "overrides": [- {- "file_path": "$HOME/Downloads/tmpvideos/video1.mp4",- "metadata": {- "creation_time": "2024-03-20T10:00:00Z",- "fps": 30.0,- "duration": 300.0,- "device_name": "macbook pro"- }- },- {- "file_path": "$HOME/Downloads/tmpvideos/video2.mp4",- "metadata": {- "creation_time": "2024-03-21T15:30:00Z",- "fps": 24.0,- "duration": 400.0,- "device_name": "external monitor"- }- },- {- "file_path": "$HOME/Downloads/tmpvideos/video3.mp4",- "metadata": {- "creation_time": "2024-03-22T09:15:00Z",- "fps": 60.0,- "duration": 200.0,- "device_name": "ipad screen"- }- }- ]-}-EOF--# 3. run screenpipe with metadata override-screenpipe add \- $HOME/Downloads/tmpvideos \- --metadata-override metadata.json \- --data-dir /tmp/sp--# 4. cleanup-rm -rf $HOME/Downloads/tmpvideos-rm metadata.json-```+# run once manually+bunx screenpipe pipe run my-pipe-note: if you don't provide a metadata override file, screenpipe will automatically extract metadata from the video files. use overrides when you need to specify custom metadata or when the automatic extraction fails.+# view logs+bunx screenpipe pipe logs my-pipe+bunx screenpipe pipe logs my-pipe -f # follow-#### database--```bash-# run migrations-screenpipe migrate+# delete+bunx screenpipe pipe delete my-pipe```-### shell completions+### add external data-the `screenpipe` cli supports generating shell completions for popular shells. follow the steps below to enable autocompletion for your shell:+add screen recordings from external sources (iPhone recordings, journal photos, etc.):-#### bash+```bash+bunx screenpipe add /path/to/videos --ocr-engine apple-native+```-1. add the following to your `.bashrc` profile:+optional: override metadata with a JSON file:```bash-eval "$(screenpipe completions bash)"+bunx screenpipe add /path/to/videos --metadata-override metadata.json```-2. reload your profile:++### status```bash-source ~/.bashrc+bunx screenpipe status+bunx screenpipe status --json```-#### zsh--1. add the following to your `.zshrc` profile:+### audio devices```bash-eval "$(screenpipe completions zsh)"+bunx screenpipe audio list+bunx screenpipe audio start <device-id>+bunx screenpipe audio stop <device-id>```-2. reload your profile:++### vision devices```bash-source ~/.zshrc+bunx screenpipe vision list```-#### fish--1. create `\~/.config/fish/conf.d/screenpipe.fish` and add this line to it:+### database-```fish-screenpipe completions fish | source+```bash+bunx screenpipe migrate```-#### powershell+## API endpoints-1. add the following to the end of your profile file:+screenpipe serves a REST API on `localhost:3030`:-```powershell-screenpipe completions powershell | Out-String | Invoke-Expression-```+| method | endpoint | description |+| --- | --- | --- |+| GET | `/search` | search screen & audio content |+| GET | `/health` | server health check |+| GET | `/audio/list` | list audio devices |+| GET | `/vision/list` | list monitors |+| GET | `/frames/{id}` | get frame data |+| GET | `/frames/{id}/ocr` | get frame OCR text |+| POST | `/tags/{type}/{id}` | add tags |+| DELETE | `/tags/{type}/{id}` | remove tags |+| POST | `/raw_sql` | execute raw SQL |+| POST | `/add` | add content to database |+| GET | `/semantic-search` | semantic search |+| GET | `/search/keyword` | keyword search |-- for macos/linux, the profile is located at `\~/.config/powershell/Microsoft.PowerShell_profile.ps1`-- for windows location is either:- - `%userprofile%\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1` powershell 5- - `%userprofile%\\Documents\\PowerShell\\Microsoft.PowerShell_profile.ps1` powershell 6+-- to create the profile file you can run this in powershell:+### search example-```powershell-if (-not (Test-Path $profile)) { New-Item $profile -Force }+```bash+curl "http://localhost:3030/search?q=meeting&limit=10&content_type=ocr"```-- to edit your profile run this in powershell:-```powershell-Invoke-Item $profile-```+### search parameters-1. reload your profile:+| param | type | description |+| --- | --- | --- |+| `q` | string | search query |+| `limit` | int | max results |+| `offset` | int | pagination offset |+| `content_type` | string | `ocr`, `audio`, `ui`, `all` |+| `start_time` | ISO 8601 | filter start |+| `end_time` | ISO 8601 | filter end |+| `app_name` | string | filter by app |+| `window_name` | string | filter by window title |+| `browser_url` | string | filter by browser URL |+| `min_length` | int | minimum text length |+| `max_length` | int | maximum text length |-```powershell-. $PROFILE-```+## shell completions++```bash+# bash+eval "$(screenpipe completions bash)"-### llm links+# zsh+eval "$(screenpipe completions zsh)"-paste these links into your cursor chat for context:+# fish+screenpipe completions fish | source-- https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/bin/screenpipe-server.rs-- https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/cli.rs+# powershell+screenpipe completions powershell | Out-String | Invoke-Expression+```diff --git a/content/docs-mintlify-mig-tmp/docs.json b/content/docs-mintlify-mig-tmp/docs.jsonindex 56ef6e6cf..9f4dde4ca 100644--- a/content/docs-mintlify-mig-tmp/docs.json+++ b/content/docs-mintlify-mig-tmp/docs.json@@ -35,7 +35,7 @@},{"group": "reference",- "pages": ["cli-reference", "sdk-reference"]+ "pages": ["cli-reference"]},{"group": "compare",diff --git a/content/docs-mintlify-mig-tmp/faq.mdx b/content/docs-mintlify-mig-tmp/faq.mdxindex aba9ebec1..20e30e9d3 100644--- a/content/docs-mintlify-mig-tmp/faq.mdx+++ b/content/docs-mintlify-mig-tmp/faq.mdx@@ -1,74 +1,53 @@----title: "screenpipe FAQ - common questions about screen recording & AI"+title: "FAQ"sidebarTitle: "faq"-description: "Frequently asked questions about screenpipe: hardware requirements, data storage, plugins, monetization, backup, and more."+description: "Frequently asked questions about screenpipe."icon: "question"----<Expandable title="how can i create and share custom pipes (plugins)?">- - create pipes using: `bunx --bun @screenpipe/dev@latest pipe create`- - pipes run locally in the screenpipe app- - share your pipes by publishing to GitHub- - install pipes via URL in the screenpipe desktop app- - check our [plugins guide](/plugins) for more details+<Expandable title="what are pipes?">+ pipes are scheduled AI agents that run on your screen data. each pipe is a `.md` file with a prompt and a schedule. an AI agent reads the prompt, queries the screenpipe API, and takes action.++ examples: sync to Obsidian, track time in Toggl, send daily summaries.++ see the [pipes guide](/pipes) for details.</Expandable>-<Expandable title="what are some example pipes (plugins) available?">- - **search**: search through your screen history with AI- - **obsidian**: sync your screen activities to obsidian notes- - **meeting**: automatic meeting notes and summaries- - **timeline**: visual timeline of your screen activity- - **identify-speakers**: automatically identify and label speakers- - see available pipes on [GitHub](https://github.com/screenpipe/screenpipe/tree/main/pipes)+<Expandable title="what are the hardware requirements?">+ - **minimum**: dual-core CPU, 2GB RAM, 20GB disk+ - **recommended**: quad-core, 4GB+ RAM, 50GB+ SSD+ - runs 24/7 on a MacBook Pro M3 or a $400 Windows laptop+ - ~600 MB RAM, ~10% CPU, ~30 GB/month storage at 1 FPS</Expandable>-<Expandable title="how do i develop and test a pipe locally?">- - create a new pipe with: `bunx --bun @screenpipe/dev@latest pipe create`- - navigate to your pipe directory: `cd your-pipe-name`- - start development server: `bun run dev`- - test your pipe locally in the screenpipe app- - debug and iterate on your implementation- - when ready, build for production: `bun run build`- - see our [pipe development guide](/docs/plugins) for detailed instructions+<Expandable title="where is data stored?">+ all data is in `~/.screenpipe/`:+ - `db.sqlite` — metadata, OCR text, transcriptions+ - `data/` — MP4 screen recordings, audio chunks+ - `pipes/` — installed pipes++ to backup, copy `~/.screenpipe/` to another location.</Expandable>-<Expandable title="what are the hardware requirements for running screenpipe?">- - **minimum requirements**:- - dual-core processor (2ghz+)- - 2gb ram- - 20gb free disk space- - any modern graphics card for hardware acceleration- - **recommended specifications**:- - quad-core processor or better- - 4gb+ ram- - 50gb+ free ssd space- - dedicated graphics card with at least 2gb vram- - screenpipe is optimized to use hardware acceleration when available, significantly reducing cpu usage+<Expandable title="how do i contribute?">+ - check [github issues](https://github.com/screenpipe/screenpipe/issues)+ - join [discord](https://discord.gg/dU9EBuw7Uq)+ - follow [contribution guidelines](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md)</Expandable>-<Expandable title="how can i contribute to the screenpipe project?">- - screenpipe is open source and welcomes contributions- - check our [github issues](https://github.com/screenpipe/screenpipe/issues) for tasks to work on+<Expandable title="what OCR / STT engines are supported?">+ **OCR**: `apple-native` (macOS), `windows-native` (Windows), `tesseract` (Linux), `unstructured` (cloud), `custom`- - join our [discord community](https://discord.gg/dU9EBuw7Uq) to collaborate with other contributors- - follow our [contribution guidelines](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md) for code standards- - submit pull requests with features, bug fixes, or documentation improvements+ **STT**: `whisper-large-v3-turbo` (default, local), `whisper-tiny`, `whisper-large`, `deepgram` (cloud)</Expandable>-<Expandable title="what file formats does screenpipe use for recording?">- - screen recordings are stored as mp4 files- - audio recordings are stored as mp3 files- - all files are saved in $home/.screenpipe/ directory- - metadata and indexes are stored in sqlite database- - ocr and transcription data are also indexed in the database- - you can access all data programmatically via our api+<Expandable title="is my data private?">+ yes. everything runs locally. no data leaves your machine unless you explicitly choose a cloud provider (deepgram, unstructured). you control what's captured with `--ignored-windows` and `--included-windows`.</Expandable>-<Expandable title="how can i backup or transfer my screenpipe data?">- - all data is stored in $home/.screenpipe/ directory- - to backup, simply copy this directory to another location- - to transfer to another machine, copy the directory to the same location- - you can also use our export api to selectively export data- - database can be accessed directly with sqlite tools- - note: when transferring between different operating systems, some paths may need adjustment+<Expandable title="how do i connect screenpipe to AI?">+ three ways:+ 1. **MCP server** — works with Claude Desktop, Cursor ([guide](/mcp-server))+ 2. **pipes** — scheduled AI agents ([guide](/pipes))+ 3. **REST API** — `curl http://localhost:3030/search?q=your+query`</Expandable>diff --git a/content/docs-mintlify-mig-tmp/getting-started.mdx b/content/docs-mintlify-mig-tmp/getting-started.mdxindex 9050a58e6..ce4628b8c 100644--- a/content/docs-mintlify-mig-tmp/getting-started.mdx+++ b/content/docs-mintlify-mig-tmp/getting-started.mdx@@ -1,31 +1,35 @@----title: "install screenpipe - screen recording with AI search"+title: "install screenpipe"sidebarTitle: "getting started"-description: "Install screenpipe on macOS, Windows, or Linux. Start recording your screen and audio in minutes with our desktop app or CLI. Query your data with AI."+description: "Install screenpipe on macOS, Windows, or Linux. Start recording your screen in minutes."icon: "rocket"----### choose your installation method+## desktop app (recommended)-| method | best for | pros | cons |-| ----------- | --------------------------------- | ------------------------------ | ------------------------------------ |-| app | personal users, quick setup | easy gui, no terminal required | less customizable, automatic updates |-| cli | developers, automation, scripting | fast, scriptable | requires terminal familiarity |+download the [desktop app](https://screenpi.pe/onboarding) and follow the installation instructions. works on macOS, Windows, and Linux.-### install desktop app+the app manages recording, settings, and search — no terminal needed.-- download the [desktop app](https://screenpi.pe) and follow the installation instructions.--### install cli+## CLI<Tabs>- <Tab title="macos/linux">+ <Tab title="npm (all platforms)">+ ```bash+ bunx screenpipe+ ```+ or with npm:+ ```bash+ npx screenpipe+ ```+ </Tab>+ <Tab title="macOS/Linux (curl)">```bashcurl -fsSL get.screenpi.pe/cli | shscreenpipe```</Tab>- <Tab title="windows">+ <Tab title="Windows (powershell)">```powershelliwr get.screenpi.pe/cli.ps1 | iexscreenpipe.exe@@ -33,107 +37,31 @@ icon: "rocket"</Tab></Tabs>-### verify installation--- run `screenpipe` or `screenpipe.exe` to verify successful installation.+## verify it's running-### query data with javascript sdk+once screenpipe starts, it serves an API on `localhost:3030`:-then query the data using our javascript sdk:+```bash+# check health+curl http://localhost:3030/health-```typescript-import { pipe } from "@screenpipe/js";--async function queryScreenpipe() {- // get content from last 5 minutes- const fiveMinutesAgo = new Date(Date.now() - 5 * 60 * 1000).toISOString();-- const results = await pipe.queryScreenpipe({- startTime: fiveMinutesAgo,- limit: 10,- contentType: "all", // can be "ocr", "audio", or "all"- });-- if (!results) {- console.log("no results found or error occurred");- return;- }-- console.log(`found ${results.pagination.total} items`);-- // process each result- for (const item of results.data) {- if (item.type === "OCR") {- console.log(`OCR: ${JSON.stringify(item.content)}`);- } else if (item.type === "Audio") {- console.log(`transcript: ${JSON.stringify(item.content)}`);- }- }-}--queryScreenpipe().catch(console.error);+# search your screen history+curl "http://localhost:3030/search?q=meeting&limit=5"```-now download the [desktop app](https://screenpi.pe) to start capturing your screen and audio!--### connect to ai providers+## connect to AI-screenpipe can connect to various ai providers to process your data. here's how to set up popular local ai providers:--<Tabs>- <Tab title="ollama">- 1. install ollama from [ollama.ai](https://ollama.ai) and run your preferred model-- ```bash- # start ollama with your preferred model- ollama run phi4:14b-q4_K_M- ```-- 1. then configure screenpipe to use ollama in your settings with model phi4:14b-q4_K_M-- that's it\! screenpipe will now use ollama for ai like search, rewind, and more. you can change the model in settings.- </Tab>- <Tab title="lmstudio">- to use lmstudio:-- 1. download and install [lmstudio](https://lmstudio.ai)- 2. select your preferred model- 3. start the local server-- <Frame>- <img- src="public/lmstudio2.png"- alt="select model in lmstudio"- width={800}- height={450}- className="rounded-lg"- />- </Frame>-- <Frame>- <img- src="public/lmstudio3.png"- alt="start server in lmstudio"- width={800}- height={450}- className="rounded-lg"- />- </Frame>-- <Frame>- <img- src="public/lmstudio1.png"- alt="lmstudio setup"- width={800}- height={450}- className="rounded-lg"- />- </Frame>- </Tab>-</Tabs>+screenpipe works with any AI that supports MCP or HTTP APIs:-verify your ai provider by using the search or chat features in the app!+| integration | how |+| --- | --- |+| **claude desktop** | add screenpipe as MCP server ([guide](/mcp-server)) |+| **cursor** | add screenpipe MCP to your project ([guide](/mcp-server)) |+| **claude code** | use screenpipe MCP or curl the API ([guide](/claude-code)) |+| **ollama** | configure in app settings, use any local model |-### for developers+## what's next?-if you're interested in building from source or contributing to screenpipe, please check our [contributing guide](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md).+- [search your screen history](/search-screen-history) — find anything you've seen+- [set up pipes](/pipes) — scheduled AI agents on your data+- [CLI reference](/cli-reference) — all commands and optionsdiff --git a/content/docs-mintlify-mig-tmp/home.mdx b/content/docs-mintlify-mig-tmp/home.mdxindex 5df82c506..b72c891db 100644--- a/content/docs-mintlify-mig-tmp/home.mdx+++ b/content/docs-mintlify-mig-tmp/home.mdx@@ -1,37 +1,43 @@----title: "screenpipe - open source AI screen recorder with OCR & search"+title: "screenpipe — your screen's memory layer"sidebarTitle: "home"-description: "screenpipe is an open source screen recorder that captures your screen 24/7, extracts text with OCR, transcribes audio, and lets you search everything with AI. Local-first, privacy-focused alternative to Rewind."+description: "screenpipe captures your screen 24/7, extracts text with OCR, and lets you search everything with AI. local-first, open source."icon: "house"----<iframe- src="https://lottie.host/embed/374da79b-a70e-4023-8a23-3dda0e17bb65/KpiWyXpo35.lottie"- width="100%"- height="200"- style={{border: "none", background: "transparent"}}-/>+screenpipe records your screen continuously and makes everything searchable. it runs locally, stores data on your machine, and provides APIs for AI integration.-screenpipe empowers developers to build context-aware ai tools by:-- capturing screen & audio 24/7-- processing everything locally for privacy-- providing clean apis for ai integration-- supporting all major platforms+## what it does-built in rust for reliability.+- **captures screen 24/7** — OCR extracts text from every frame+- **local storage** — sqlite database + media files on your machine+- **search API** — find anything you've seen via `localhost:3030/search`+- **pipes** — scheduled AI agents that act on your screen data ([learn more](/pipes))+- **MCP server** — connect to Claude, Cursor, and other AI assistants ([learn more](/mcp-server))-## key features+## quick start-- **24/7 media capture**: captures screen and audio data continuously, storing it locally.-- **personalized ai**: enables ai models to be powered by your captured data.-- **open source & secure**: your data stays private, 100% local, with complete control over storage and processing.-- **cross-platform**: works on windows, macos, and linux.-- **multi-device support**: supports multiple monitors & audio devices for comprehensive data capture.+```bash+# install and run+bunx screenpipe-## target audience--screenpipe is suitable for developers and anyone interested in automating data capture and creating desktop context-aware ai agents.+# or download the desktop app+# https://screenpi.pe/onboarding+```## what's next?-- [getting started](/getting-started)+<CardGroup cols={2}>+ <Card title="getting started" icon="rocket" href="/getting-started">+ install screenpipe on macOS, Windows, or Linux+ </Card>+ <Card title="search screen history" icon="magnifying-glass" href="/search-screen-history">+ find anything you've seen on your screen+ </Card>+ <Card title="pipes" icon="wand-magic-sparkles" href="/pipes">+ scheduled AI agents on your screen data+ </Card>+ <Card title="MCP server" icon="server" href="/mcp-server">+ connect screenpipe to AI assistants+ </Card>+</CardGroup>diff --git a/content/docs-mintlify-mig-tmp/meeting-transcription.mdx b/content/docs-mintlify-mig-tmp/meeting-transcription.mdxindex 4a3e861b9..4f3967cc6 100644--- a/content/docs-mintlify-mig-tmp/meeting-transcription.mdx+++ b/content/docs-mintlify-mig-tmp/meeting-transcription.mdx@@ -1,178 +1,84 @@----title: "automatic meeting transcription - local & private"+title: "meeting transcription"sidebarTitle: "meeting transcription"-description: "Automatically transcribe meetings with screenpipe. Local speech-to-text using Whisper, speaker identification, and AI-powered summaries. No cloud required."+description: "Automatically transcribe meetings with screenpipe. Local speech-to-text using Whisper, speaker identification. No cloud required."icon: "microphone"----<iframe- src="https://lottie.host/embed/7650e974-eaeb-4036-b2bc-5bd7a7c5356f/l76e9MBHBd.lottie"- width="100%"- height="150"- style={{border: "none", background: "transparent"}}-/>--screenpipe automatically transcribes all audio from your meetings, calls, and conversations. everything runs locally using Whisper for maximum privacy.--## how it works--1. **audio capture**: screenpipe records from your microphone and system audio-2. **speech-to-text**: audio is transcribed using Whisper (runs locally)-3. **speaker identification**: different speakers are automatically labeled-4. **searchable storage**: transcripts are indexed and searchable+screenpipe automatically transcribes all audio from your meetings, calls, and conversations. everything runs locally using Whisper.## setup-### basic setup-```bash-# start screenpipe with audio enabled (default)-screenpipe-```--### capture both mic and system audio+# start with audio enabled (default)+bunx screenpipe-```bash# list available audio devices-screenpipe --list-audio-devices+bunx screenpipe audio list# capture specific devices-screenpipe --audio-device "MacBook Pro Microphone" --audio-device "BlackHole 2ch"+bunx screenpipe --audio-device "MacBook Pro Microphone" --audio-device "BlackHole 2ch"```### choose transcription engine```bash-# local (default) - most private-screenpipe --audio-transcription-engine whisper-large-v3-turbo+# local (default) — most private+bunx screenpipe --audio-transcription-engine whisper-large-v3-turbo-# cloud - faster, requires API key-screenpipe --audio-transcription-engine deepgram+# cloud — faster, requires API key+bunx screenpipe --audio-transcription-engine deepgram```-## query transcriptions+## search transcriptions-```typescript-import { pipe } from "@screenpipe/js";+```bash+# find discussions about a topic+curl "http://localhost:3030/search?q=budget+review&content_type=audio&limit=10"-// find discussions about a topic-const results = await pipe.queryScreenpipe({- q: "budget review",- contentType: "audio",- limit: 10-});+# get today's meetings+curl "http://localhost:3030/search?content_type=audio&start_time=2026-02-11T00:00:00Z"-// get transcripts from today's meetings-const today = new Date().toISOString().split('T')[0];-const meetings = await pipe.queryScreenpipe({- startTime: today,- contentType: "audio"-});+# filter by speaker+curl "http://localhost:3030/search?content_type=audio&speaker_ids=1,2"+curl "http://localhost:3030/search?content_type=audio&speaker_name=John"```-## transcription quality tips--- use a good microphone-- reduce background noise-- `whisper-large-v3-turbo` gives best accuracy-- add `--language en` if you only speak English (faster)-## speaker identification-screenpipe automatically identifies different speakers:--```typescript-const results = await pipe.queryScreenpipe({- contentType: "audio"-});--for (const item of results.data) {- if (item.type === "Audio") {- console.log(`Speaker ID: ${item.content.speaker_id}`);- console.log(`Speaker Name: ${item.content.speaker?.name || "Unknown"}`);- console.log(`Text: ${item.content.transcription}`);- }-}-```--### filter by speaker--```typescript-// filter by specific speaker IDs-const results = await pipe.queryScreenpipe({- contentType: "audio",- speakerIds: [1, 2, 3]-});--// or use the REST API directly-// GET http://localhost:3030/search?content_type=audio&speaker_ids=1,2,3-// GET http://localhost:3030/search?content_type=audio&speaker_name=John-```--### speaker management API--screenpipe provides REST endpoints to manage speakers:--| endpoint | method | description |-|----------|--------|-------------|-| `/speakers/unnamed` | GET | get speakers without names assigned |-| `/speakers/search?name=query` | GET | search speakers by name |-| `/speakers/update` | POST | update speaker name or metadata |-| `/speakers/merge` | POST | merge two speaker profiles |-| `/speakers/reassign` | POST | reassign audio chunk to different speaker |-| `/speakers/similar?speaker_id=1` | GET | find similar speakers |-| `/speakers/delete` | POST | delete a speaker profile |-| `/speakers/hallucination` | POST | mark speaker as false detection |--### update speaker name+screenpipe automatically identifies different speakers. manage them via API:```bash+# get unnamed speakers for labeling+curl "http://localhost:3030/speakers/unnamed?limit=10"+# update a speaker's namecurl -X POST http://localhost:3030/speakers/update \-H "Content-Type: application/json" \-d '{"id": 1, "name": "John Smith"}'-```--### search speakers-```bash-# find speakers by name prefix+# search speakers by namecurl "http://localhost:3030/speakers/search?name=john"-# get unnamed speakers for labeling-curl "http://localhost:3030/speakers/unnamed?limit=10&offset=0"-```--### merge duplicate speakers--```bash-# merge speaker 2 into speaker 1+# merge duplicate speakerscurl -X POST http://localhost:3030/speakers/merge \-H "Content-Type: application/json" \-d '{"speaker_to_keep_id": 1, "speaker_to_merge_id": 2}'++# find similar speakers+curl "http://localhost:3030/speakers/similar?speaker_id=1"```-### reassign audio to different speaker+## tips-```bash-# reassign an audio chunk to a named speaker-curl -X POST http://localhost:3030/speakers/reassign \- -H "Content-Type: application/json" \- -d '{- "audio_chunk_id": 123,- "new_speaker_name": "Jane Doe",- "propagate_similar": true- }'-```+- use a good microphone+- reduce background noise+- `whisper-large-v3-turbo` gives best accuracy+- add `--language en` if you only speak English (faster)## privacy- all transcription runs locally on your device- audio files stored in `~/.screenpipe/data/`-- no audio is sent to the cloud (unless you choose deepgram)-- you can disable audio recording with `--disable-audio`--## next steps--- [install screenpipe](/getting-started)-- [CLI audio options](/cli-reference#audio-options)+- no audio sent to cloud unless you choose deepgram+- disable with `--disable-audio`diff --git a/content/docs-mintlify-mig-tmp/search-screen-history.mdx b/content/docs-mintlify-mig-tmp/search-screen-history.mdxindex 4757f496a..debe31316 100644--- a/content/docs-mintlify-mig-tmp/search-screen-history.mdx+++ b/content/docs-mintlify-mig-tmp/search-screen-history.mdx@@ -1,90 +1,84 @@----title: "how to search your screen history with AI"+title: "search your screen history"sidebarTitle: "search screen history"-description: "Learn how to search through your screen recordings using natural language. Find any text, conversation, or activity from your computer history with screenpipe."+description: "Find any text, conversation, or activity from your screen history with screenpipe."icon: "magnifying-glass"----<iframe- src="https://lottie.host/embed/5ab6289a-ff8d-4353-b795-6183b9df53b9/jUNMUNa37v.lottie"- width="100%"- height="150"- style={{border: "none", background: "transparent"}}-/>--screenpipe records your screen 24/7 and lets you search through everything using natural language. find that code snippet, conversation, or document you saw last week.+screenpipe records your screen 24/7 and lets you search through everything. find that code snippet, conversation, or document you saw last week.## how it works-1. **continuous capture**: screenpipe records your screen at configurable intervals (default: 1 frame/second)-2. **OCR extraction**: text is extracted from every frame using native OCR engines-3. **local storage**: everything is stored in a local SQLite database-4. **AI search**: query your data using natural language or filters+1. **continuous capture** — screenpipe records your screen at configurable intervals (default: 1 frame/second)+2. **OCR extraction** — text is extracted from every frame using native OCR engines+3. **local storage** — everything stored in a local SQLite database+4. **search API** — query via `localhost:3030/search` with filters## search examples-### find by text content--```typescript-import { pipe } from "@screenpipe/js";+### find by text-// find mentions of a project-const results = await pipe.queryScreenpipe({- q: "project apollo budget",- contentType: "ocr",- limit: 20-});+```bash+curl "http://localhost:3030/search?q=project+apollo+budget&content_type=ocr&limit=20"```-### find by application+### find by app-```typescript-// find all VS Code activity from today-const results = await pipe.queryScreenpipe({- appName: "Code",- startTime: new Date().toISOString().split('T')[0],- contentType: "ocr"-});+```bash+curl "http://localhost:3030/search?app_name=Code&content_type=ocr&limit=20"```### find by time range-```typescript-// find what you were doing yesterday afternoon-const yesterday = new Date(Date.now() - 24 * 60 * 60 * 1000);-yesterday.setHours(14, 0, 0, 0);-const yesterdayEnd = new Date(yesterday);-yesterdayEnd.setHours(18, 0, 0, 0);--const results = await pipe.queryScreenpipe({- startTime: yesterday.toISOString(),- endTime: yesterdayEnd.toISOString(),- contentType: "all"-});+```bash+curl "http://localhost:3030/search?q=standup&start_time=2026-02-10T14:00:00Z&end_time=2026-02-10T18:00:00Z"+```++### find by browser URL++```bash+curl "http://localhost:3030/search?browser_url=github.com&limit=10"+```++### combine filters++```bash+curl "http://localhost:3030/search?q=deployment&app_name=Slack&content_type=ocr&limit=10"```-## using the search interface+## search parameters++| param | type | description |+| --- | --- | --- |+| `q` | string | search query |+| `limit` | int | max results (default 20) |+| `offset` | int | pagination offset |+| `content_type` | string | `ocr`, `audio`, `ui`, `all` |+| `start_time` | ISO 8601 | filter by start time |+| `end_time` | ISO 8601 | filter by end time |+| `app_name` | string | filter by app name |+| `window_name` | string | filter by window title |+| `browser_url` | string | filter by browser URL |+| `min_length` | int | minimum text length |+| `max_length` | int | maximum text length |-the easiest way to search is using the built-in search in the screenpipe desktop app:+## using the desktop app-1. open screenpipe desktop app-2. click on the search icon or use the timeline view-3. use natural language to find anything from your screen history-4. scroll through your day visually with the timeline+the easiest way to search is the built-in search in the screenpipe desktop app:++1. open screenpipe+2. use the search bar or timeline view+3. scroll through your day visually+4. select content to chat with AI about it## search tips-- **be specific**: "slack message from john about deployment" works better than "deployment"-- **use time context**: "yesterday's standup meeting" or "last week's code review"-- **combine filters**: app name + time range + keywords for precise results+- **be specific**: "slack message from john about deployment" > "deployment"+- **use time context**: combine `start_time` and `end_time` for precision+- **combine filters**: app name + time range + keywords## privacy- all search happens locally on your device-- no data leaves your computer-- you control what apps are recorded with `--ignored-windows` and `--included-windows`--## next steps--- [install screenpipe](/getting-started)-- [SDK reference](/sdk-reference)+- no data leaves your machine+- control what's recorded with `--ignored-windows` and `--included-windows`diff --git a/content/docs-mintlify-mig-tmp/vs-limitless.mdx b/content/docs-mintlify-mig-tmp/vs-limitless.mdxindex 47f4759b8..666d08fb1 100644--- a/content/docs-mintlify-mig-tmp/vs-limitless.mdx+++ b/content/docs-mintlify-mig-tmp/vs-limitless.mdx@@ -45,19 +45,11 @@ screenpipe runs entirely on your device. no cloud account required.### extensible-build custom integrations:+build custom integrations with the REST API or [pipes](/pipes):-```typescript-import { pipe } from "@screenpipe/js";--// create your own AI workflows-const context = await pipe.queryScreenpipe({- contentType: "all",- limit: 50-});--// process with any AI provider-const summary = await generateSummary(context);+```bash+# query your screen data+curl "http://localhost:3030/search?content_type=all&limit=50"```## for meeting transcription@@ -66,13 +58,11 @@ screenpipe handles meetings just as well:```bash# capture system audio (meeting apps) + microphone-screenpipe \+bunx screenpipe \--audio-device "MacBook Pro Microphone" \--audio-device "BlackHole 2ch"```-install the **meeting** pipe for automatic summaries and action items.-## self-hosting benefits| limitless cloud | screenpipe local |@@ -85,13 +75,7 @@ install the **meeting** pipe for automatic summaries and action items.## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh-screenpipe--# windows-iwr get.screenpi.pe/cli.ps1 | iex-screenpipe.exe+bunx screenpipe```or [download the desktop app](https://screenpi.pe)diff --git a/content/docs-mintlify-mig-tmp/vs-recall.mdx b/content/docs-mintlify-mig-tmp/vs-recall.mdxindex e3ebc2ad2..f56455693 100644--- a/content/docs-mintlify-mig-tmp/vs-recall.mdx+++ b/content/docs-mintlify-mig-tmp/vs-recall.mdx@@ -42,16 +42,10 @@ Microsoft Recall is a Windows 11 feature that captures screenshots and makes the### extensible-build custom integrations with the pipes system:+build custom integrations with the REST API or [pipes](/pipes):-```typescript-import { pipe } from "@screenpipe/js";--// build anything on top of your screen data-const data = await pipe.queryScreenpipe({- q: "meeting notes",- contentType: "all"-});+```bash+curl "http://localhost:3030/search?q=meeting+notes&content_type=all"```## recall privacy concerns@@ -74,7 +68,7 @@ screenpipe addresses these:```bash# exclude password managers and banking apps-screenpipe \+bunx screenpipe \--ignored-windows "1Password" \--ignored-windows "Bitwarden" \--ignored-windows "Chase" \@@ -84,11 +78,7 @@ screenpipe \## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh--# windows-iwr get.screenpi.pe/cli.ps1 | iex+bunx screenpipe```or [download the desktop app](https://screenpi.pe)diff --git a/content/docs-mintlify-mig-tmp/vs-rewind.mdx b/content/docs-mintlify-mig-tmp/vs-rewind.mdxindex 2b47b5b46..2a8813178 100644--- a/content/docs-mintlify-mig-tmp/vs-rewind.mdx+++ b/content/docs-mintlify-mig-tmp/vs-rewind.mdx@@ -62,13 +62,7 @@ if you were a Rewind user:## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh-screenpipe--# windows-iwr get.screenpi.pe/cli.ps1 | iex-screenpipe.exe+bunx screenpipe```or [download the desktop app](https://screenpi.pe)diff --git a/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx b/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdxindex 7976c50dc..5025e8f1d 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/ai-memory.mdx@@ -1,41 +1,25 @@----title: "give AI memory of your screen - context for LLMs"+title: "give AI memory of your screen"sidebarTitle: "ai memory"-description: "Give your AI assistant memory of everything on your screen. Use screenpipe to provide context to ChatGPT, Claude, Ollama, and other LLMs."+description: "Give your AI assistant memory of everything on your screen. Use screenpipe with Claude, Cursor, Ollama, and other LLMs."icon: "brain"----screenpipe acts as a memory layer for AI, giving large language models context about what you've been doing on your computer.+screenpipe acts as a memory layer for AI — it gives LLMs context about what you've been doing on your computer.## why AI needs memory-LLMs are powerful but stateless - they don't know what you were working on 5 minutes ago. screenpipe bridges this gap by:+LLMs are stateless — they don't know what you were working on 5 minutes ago. screenpipe bridges this by:-- capturing everything on your screen+- capturing everything on your screen 24/7- extracting text via OCR-- transcribing audio-- making it all searchable and retrievable+- making it searchable via REST API on `localhost:3030`-## connect to AI providers+## connect to AI-### ollama (local)+### MCP (recommended)-```bash-# start ollama-ollama run phi4:14b-q4_K_M--# configure in screenpipe settings-# model: phi4:14b-q4_K_M-# url: http://localhost:11434-```--### openai--set your API key in screenpipe settings under AI configuration.--### claude via MCP--screenpipe can act as an MCP server, giving Claude direct access to your screen history:+screenpipe has a built-in MCP server that works with Claude Desktop, Cursor, and other MCP-compatible tools:```json{@@ -50,77 +34,41 @@ screenpipe can act as an MCP server, giving Claude direct access to your screensee [MCP server setup](/mcp-server) for details.-## build AI-powered apps--### context-aware chatbot--```typescript-import { pipe } from "@screenpipe/js";-import { generateText } from "ai";--async function chatWithContext(userMessage: string) {- // get recent screen context- const context = await pipe.queryScreenpipe({- limit: 20,- contentType: "all"- });-- // format context for LLM- const screenContext = context.data- .map(item => {- if (item.type === "OCR") {- return `[Screen - ${item.content.app_name}]: ${item.content.text}`;- } else {- return `[Audio]: ${item.content.transcription}`;- }- })- .join("\n");-- // generate response with context- const response = await generateText({- model: yourModel,- prompt: `Based on the user's recent activity:\n${screenContext}\n\nUser question: ${userMessage}`- });-- return response;-}-```+### pipes (scheduled agents)-### automatic note-taking+[pipes](/pipes) are AI agents that run on a schedule and act on your screen data automatically — like syncing to Obsidian, tracking time in Toggl, or sending daily summaries.-```typescript-// obsidian pipe example - syncs screen activity to notes-import { pipe } from "@screenpipe/js";+### direct API-async function logToObsidian() {- const recentActivity = await pipe.queryScreenpipe({- startTime: new Date(Date.now() - 60 * 60 * 1000).toISOString(), // last hour- contentType: "all"- });+any tool that can make HTTP requests can query screenpipe:- // summarize with AI and write to Obsidian- // ... see obsidian pipe for full implementation-}+```bash+# get recent screen activity+curl "http://localhost:3030/search?content_type=ocr&limit=20"++# search for specific content+curl "http://localhost:3030/search?q=meeting+notes&app_name=Slack&limit=10"```## use cases-| use case | how screenpipe helps |-|----------|---------------------|-| "what was I working on?" | search screen history by time |+| use case | how |+|----------|-----|+| "what was I working on?" | search by time range || "summarize today's meetings" | query audio transcriptions |-| "find that code snippet" | search OCR text by content |-| "what did john say about X?" | search transcriptions by keyword |+| "find that code snippet" | search OCR text |+| "auto-track my time" | toggl-sync pipe |+| "sync activity to notes" | obsidian-sync pipe |-## privacy-first AI+## privacy-first- all data stays on your device- use local LLMs (Ollama, LMStudio) for complete privacy+- filter what gets captured with `--ignored-windows` and `--included-windows`- no data sent to cloud unless you explicitly choose cloud providers-- filter what gets captured with window inclusion/exclusion## next steps-- [install screenpipe](/getting-started)-- [set up MCP server](/mcp-server)-- [build a plugin](/plugins)+- [set up MCP server](/mcp-server) — connect to Claude, Cursor+- [set up pipes](/pipes) — scheduled AI agents+- [CLI reference](/cli-reference) — search parameters and API endpointsdiff --git a/docs/mintlify/docs-mintlify-mig-tmp/architecture.mdx b/docs/mintlify/docs-mintlify-mig-tmp/architecture.mdxindex b4b4fa5a6..1d850cbae 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/architecture.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/architecture.mdx@@ -1,243 +1,99 @@----title: "screenpipe architecture - how screen capture & AI processing works"+title: "architecture"sidebarTitle: "architecture"-description: "Learn how screenpipe captures screens, processes OCR and audio transcription, stores data locally in SQLite, and provides APIs for AI integration."+description: "How screenpipe captures screens, processes OCR, stores data locally in SQLite, and provides APIs for AI."icon: "sitemap"----screenpipe's architecture handles continuous screen and audio capture, local data storage, and real-time processing. here's a breakdown of the key components:+## overview-## conceptual overview+screenpipe is a Rust application that continuously captures your screen and audio, processes them locally, and stores everything in a SQLite database. it serves a REST API on `localhost:3030` for querying your data.-at its core, screenpipe acts as a bridge between your digital activities and ai systems, creating a memory layer that provides context for intelligent applications. here's how to think about it:--### capturing layer--- **screen recording**: captures visual content at configurable frame rates-- **audio recording**: captures spoken content from multiple sources-- **ui events (accessibility)**: captures keyboard input, mouse clicks, app switches, clipboard events via accessibility APIs (macOS)--### processing layer--- **ocr engines**: extract text from screen recordings (apple native, windows native, tesseract, unstructured)-- **stt engines**: convert audio to text (whisper, deepgram)-- **speaker identification**: identifies and labels different speakers-- **pii removal**: optionally redacts sensitive information--### storage layer--- **sqlite database**: stores metadata, text, and references to media-- **media files**: stores the actual mp4/mp3 recordings-- **embeddings**: (coming soon) vector representations for semantic search--### retrieval layer+```+┌─────────────┐ ┌──────────────┐ ┌──────────┐ ┌───────────┐+│ capture │ ──▸ │ processing │ ──▸ │ storage │ ──▸ │ API │+│ screen/audio │ │ OCR / STT │ │ SQLite │ │ :3030 │+└─────────────┘ └──────────────┘ └──────────┘ └───────────┘+ │+ ┌─────┴─────┐+ │ pipes │+ │ AI agents │+ └───────────┘+```-- **search api**: filtered content retrieval for applications-- **streaming apis**: real-time access to new content-- **memory apis**: structured access to historical context+## layers-### extension layer (pipes)+### 1. capture-- **pipes ecosystem**: extensible plugins for building applications-- **pipe sdk**: typescript interface for building custom pipes-- **pipe runtime**: sandboxed execution environment for pipes+- **screen**: captures frames at configurable FPS (default 1.0, macOS 0.5)+- **audio**: captures from multiple input/output devices in configurable chunks (default 30s)+- **UI events**: keyboard, mouse, app switches, clipboard via accessibility APIs (macOS)-## diagram overview+### 2. processing-+- **OCR**: extracts text from frames — engines: `apple-native`, `windows-native`, `tesseract`, `unstructured`, `custom`+- **STT**: speech-to-text — engines: `whisper-large-v3-turbo`, `whisper-tiny`, `deepgram`+- **speaker ID**: identifies and labels different speakers+- **PII removal**: optional redaction of sensitive text-1. **input**: screen and audio data-2. **processing**: ocr, stt, transcription, multimodal integration-3. **storage**: sqlite database-4. **plugins**: custom pipes-5. **integrations**: ollama, deepgram, notion, whatsapp, etc.+### 3. storage-this modular architecture makes screenpipe adaptable to various use cases, from personal productivity tracking to advanced intelligence applications.+- **SQLite database** at `~/.screenpipe/db.sqlite` — metadata, OCR text, transcriptions, tags+- **media files** at `~/.screenpipe/data/` — MP4 screen recordings, audio chunks+- all data stays local on your machine-### data flow & lifecycle+### 4. API-here's the typical data flow through the screenpipe system:+REST API on `localhost:3030`:-1. **capture**- - screen is captured at the configured fps (default 1.0, or 0.5 on macos)- - audio is captured in chunks (default 30 seconds)- - ui events (keyboard, mouse, app switches, clipboard) are captured via accessibility APIs (macos, enable in settings)-2. **processing**- - captured frames are processed through ocr to extract text- - audio chunks are processed through stt to generate transcriptions- - speaker identification is applied to audio transcriptions-3. **storage**- - processed data is stored in the local sqlite database- - raw media files are stored in the configured data directory- - metadata is indexed for efficient retrieval-4. **retrieval**- - applications query the database through the rest api- - real-time data can be streamed through sse endpoints- - pipes can access data through the typescript sdk-5. **extension**- - pipes process the data to create higher-level abstractions- - pipes can integrate with external services (llms, etc.)- - pipes can control the system through the input api+- `/search` — filtered content retrieval+- `/frames/{id}` — access captured frames+- `/health` — system status+- `/raw_sql` — direct database queries+- see [CLI reference](/cli-reference) for full endpoint list-### data abstraction layers+### 5. pipes-+[pipes](/pipes) are scheduled AI agents (`.md` files) that run on your screen data. an AI agent (like [pi](https://github.com/mariozechner/pi-coding-agent)) reads the prompt, queries the screenpipe API, and takes action.-screenpipe organizes data in concentric layers of abstraction, from raw data to high-level intelligence:+pipes run in `~/.screenpipe/pipes/{name}/` and are scheduled via cron-like intervals.-1. **core (mp4 files)**: the innermost layer contains the raw screen recordings and audio captures in mp4 format-2. **processing layer**: contains the direct processing outputs- - ocr embeddings: vectorized text extracted from screen- - human id: anonymized user identification- - accessibility: metadata for improved data access- - transcripts: processed audio-to-text-3. **ai memories**: the outermost layer represents the highest level of abstraction where ai processes and synthesizes all lower-level data into meaningful insights-4. **pipes enrich**: custom processing modules that can interact with and enhance data at any layer+## data flow-this layered approach enables both granular access to raw data and sophisticated ai-powered insights while maintaining data privacy and efficiency.+1. **capture** → screen frames + audio chunks recorded to disk+2. **process** → OCR extracts text from frames, STT transcribes audio+3. **store** → processed data indexed in SQLite, media files on disk+4. **query** → apps/pipes search via REST API on localhost:3030+5. **act** → pipes use AI to analyze data and take actions (write notes, track time, send reminders)-### session and state management+## database schema-screenpipe maintains several types of state:+key tables:-1. **session state**- - managed by the core screenpipe server- - controls recording status, device selection, etc.- - accessible through the health api endpoint-2. **configuration state**- - stored in the settings database- - controls behavior of the core system- - accessible through the settings api-3. **pipe state**- - each pipe maintains its own state- - stored in the pipe's local storage or in screenpipe's settings- - isolated from other pipes for security+- `frames` — captured screen frame metadata+- `ocr_results` — text extracted from frames+- `audio_chunks` — audio recording metadata+- `transcriptions` — text from audio+- `speakers` — identified speakers+- `tags` — user-applied tags on content-understanding the different state models is important for building robust applications. the health api (`/health`) is particularly useful for checking the system's current state and ensuring services are running correctly.+inspect directly:-### database schema+```bash+sqlite3 ~/.screenpipe/db.sqlite .schema+```-screenpipe uses a sqlite database with the following main tables:+## resource usage-- **frames**: stores metadata about captured screen frames-- **ocr_results**: stores text extracted from frames-- **audio_chunks**: stores metadata about audio recordings-- **transcriptions**: stores text transcribed from audio-- **speakers**: stores identified speakers and their metadata-- **ui_elements**: stores ui elements captured from the screen-- **settings**: stores application configuration-- **pipes**: stores installed pipes and their configuration+runs 24/7 on a MacBook Pro M3 (32GB) or a $400 Windows laptop:-detailed schema information is available by querying the database directly:+- ~600 MB RAM+- ~10% CPU+- ~30 GB/month storage at 1 FPS-```bash-sqlite3 ~/.screenpipe/db.sqlite .schema-```+## source code-### integration patterns--developers typically interact with screenpipe in one of these patterns:--1. **retrieval pattern**: query for relevant context based on the current task-- ```typescript- const context = await pipe.queryScreenpipe({- q: "meeting notes",- contentType: "all",- limit: 10- })- ```-2. **streaming pattern**: process events as they occur-- ```typescript- for await (const event of pipe.streamVision()) {- // process each new screen event- }- ```-3. **augmentation pattern**: enhance user experience with context-- ```typescript- // when user asks about a recent meeting- const meetingContext = await pipe.queryScreenpipe({- q: "meeting",- contentType: "audio"- })-- // use context to generate response- const response = await generateResponse(userQuery, meetingContext)- ```-4. **automation pattern**: take actions based on context-- ```typescript- // monitor for specific content- for await (const event of pipe.streamVision()) {- if (event.data.text.includes("meeting starting")) {- // take action like sending notification- }- }- ```--understanding these patterns will help you design effective applications that leverage screenpipe's capabilities.--## status--alpha: runs on my computer `macbook pro m3 32 gb ram` and a $400 windows laptop, 24/7.--uses 600 mb, 10% cpu.--- integrations- - ollama- - openai- - friend wearable- - [fileorganizer2000](https://github.com/different-ai/file-organizer-2000)- - mem0- - brilliant frames- - vercel ai sdk- - supermemory- - deepgram- - unstructured- - excalidraw- - obsidian- - apple shortcut- - multion- - iphone- - android- - camera- - keyboard- - browser- - pipes (plugins you can build, share & install to extend screenpipe). runs in bun typescript engine within screenpipe on your computer-- screenshots + ocr with different engines to optimise privacy, quality, or energy consumption- - tesseract- - windows native ocr- - apple native ocr- - unstructured.io- - screenpipe screen/audio specialised llm-- audio + stt (works with multi input devices, like your iphone + mac mic, many stt engines)- - linux, macos, windows input & output devices- - iphone microphone-- [remote capture](https://github.com/screenpipe/screenpipe/discussions/68) (run screenpipe on your cloud and it capture your local machine, only tested on linux) for example when you have low compute laptop-- optimised screen & audio recording (mp4 encoding, estimating 30 gb/m with default settings)-- sqlite local db-- local api-- cross platform cli, [desktop app](https://screenpi.pe/) (macos, windows, linux)-- metal, cuda-- ts sdk-- multimodal embeddings-- cloud storage options (s3, pgsql, etc.)-- cloud computing options (deepgram for audio, unstructured for ocr)-- custom storage settings: customizable capture settings (fps, resolution)-- security- - window specific capture (e.g. can decide to only capture specific tab of cursor, chrome, obsidian, or only specific app)- - encryption- - pii removal-- fast, optimised, energy-efficient modes-- webhooks/events (for automations)-- abstractions for multiplayer usage (e.g. aggregate sales team data, company team data, partner, etc.)--### llm links--paste these links into your cursor chat for context:--- [server.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/server.rs)-- [core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/core.rs)-- [vision core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-vision/src/core.rs)+- [server.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/server.rs) — API server+- [core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/core.rs) — recording orchestration+- [vision core.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-vision/src/core.rs) — screen capture+- [pipes/mod.rs](https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-core/src/pipes/mod.rs) — pipe managerdiff --git a/docs/mintlify/docs-mintlify-mig-tmp/cli-reference.mdx b/docs/mintlify/docs-mintlify-mig-tmp/cli-reference.mdxindex 0074427be..b31a2ac3b 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/cli-reference.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/cli-reference.mdx@@ -1,344 +1,196 @@----title: "screenpipe CLI reference - all commands and options"+title: "CLI reference"sidebarTitle: "cli reference"-description: "Complete CLI reference for screenpipe: screen recording options, audio settings, OCR engines, pipe management, and advanced configuration."+description: "Complete CLI reference for screenpipe: recording, search, pipes, audio, and vision commands."icon: "terminal"----below is the detailed cli reference for screenpipe's core functionality.--### core options--- **fps** (`\-f, --fps <FLOAT>`): frames per second for continuous recording- - default: `1.0` (non-macos), `0.5` (macos)- - storage impact: `1 fps ≈ 30 gb/month`, `5 fps ≈ 150 gb/month`-- **port** (`\-p, --port <INT>`): port to run the server on- - default: `3030`-- **data-dir** (`--data-dir <PATH>`): data directory- - default: `$HOME/.screenpipe`-- **debug** (`--debug`): enable debug logging- - default: `false`--### audio options--- **audio-chunk-duration** (`\-d, --audio-chunk-duration <INT>`): audio chunk duration in seconds- - default: `30`-- **disable-audio** (`--disable-audio`): disable audio recording- - default: `false`-- **audio-device** (`\-i, --audio-device <STRING>`): audio devices to use (can specify multiple)-- **realtime-audio-device** (`\-r, --realtime-audio-device <STRING>`): devices for realtime transcription-- **list-audio-devices** (`--list-audio-devices`): list available audio devices-- **audio-transcription-engine** (`\-a, --audio-transcription-engine <ENGINE>`): transcription engine- - options:- - `deepgram`: cloud-based, high quality (free tier available)- - `whisper-tiny`: local, lightweight, privacy-focused- - `whisper-large`: local, higher quality than tiny- - `whisper-large-v3-turbo`: local, highest quality- - default: `whisper-large-v3-turbo`-- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription- - default: `false`--### vision options--- **disable-vision** (`--disable-vision`): disable vision recording- - default: `false`-- **list-monitors** (`--list-monitors`): list available monitors-- **monitor-id** (`\-m, --monitor-id <INT>`): monitor ids to record (can specify multiple)-- **ignored-windows** (`--ignored-windows <STRING>`): windows to ignore by title- - example: `--ignored-windows "Spotify" --ignored-windows "Chrome"`-- **included-windows** (`--included-windows <STRING>`): windows to include by title- - example: `--included-windows "Code" --included-windows "Terminal"`-- **video-chunk-duration** (`--video-chunk-duration <INT>`): video chunk duration in seconds- - default: `60`-- **ocr-engine** (`\-o, --ocr-engine <ENGINE>`): ocr engine selection- - options:- - `apple-native`: default for macos- - `windows-native`: default for windows- - `tesseract`: default for linux- - `unstructured`: cloud-based (free tier available)- - `custom`: configurable via `SCREENPIPE_CUSTOM_OCR_CONFIG`--#### custom ocr engine example+## install & run```bash-# 1. setup python environment & ocr server-python -m venv venv-source venv/bin/activate--pip install fastapi uvicorn easyocr pillow numpy--# create ocr server file-cat > app.py << EOF-from fastapi import FastAPI, HTTPException-import base64-import io-from PIL import Image-import numpy as np-import time-import easyocr--app = FastAPI()-reader = easyocr.Reader(['en', 'ch_sim'])-[email protected]("/ocr")-async def read_ocr(payload: dict):- image_b64 = payload.get("image")- if not image_b64:- raise HTTPException(status_code=400, detail="no image data provided")- try:- start = time.time()- image_data = base64.b64decode(image_b64)- image = Image.open(io.BytesIO(image_data))- image_np = np.array(image)- result = reader.readtext(image_np)- text = "\n".join([item[1] for item in result])- confidence = sum([item[2] for item in result]) / len(result) if result else 0.0- print(f"ocr took {time.time() - start:.2f} seconds")- return {- "text": text,- "structured_data": {},- "confidence": confidence- }- except Exception as e:- raise HTTPException(status_code=500, detail=f"ocr error: {str(e)}")-EOF--# start the ocr server-uvicorn app:app --host 0.0.0.0 --port 8000--# 2. configure screenpipe-export SCREENPIPE_CUSTOM_OCR_CONFIG='{- "api_url": "http://localhost:8000/ocr",- "api_key": "",- "timeout_ms": 5000-}'--# 3. run screenpipe with custom ocr-screenpipe add \- path/to/videos \- --ocr-engine custom \- --data-dir /tmp/sp--# 4. cleanup-# stop server with ctrl+c-deactivate-rm -rf venv app.py+# recommended: run via npm+bunx screenpipe++# or install globally+npm i -g screenpipe+screenpipe```-### language & privacy+## recording options-- **language** (`\-l, --language <LANG>`): languages to support (can specify multiple)-- **use-pii-removal** (`--use-pii-removal`): enable pii removal from ocr text- - default: `false`+### core-### voice activity detection+| flag | description | default |+| --- | --- | --- |+| `-f, --fps <FLOAT>` | frames per second for recording | `1.0` (macOS: `0.5`) |+| `-p, --port <INT>` | API server port | `3030` |+| `--data-dir <PATH>` | data directory | `~/.screenpipe` |+| `--debug` | enable debug logging | `false` |-- **vad-engine** (`--vad-engine <ENGINE>`): voice activity detection engine- - options: `silero`, `webrtc`- - default: `silero`-- **vad-sensitivity** (`--vad-sensitivity <LEVEL>`): vad sensitivity level- - options: `low`, `medium`, `high`- - default: `high`+### audio-### experimental features+| flag | description | default |+| --- | --- | --- |+| `-d, --audio-chunk-duration <INT>` | chunk duration (seconds) | `30` |+| `--disable-audio` | disable audio recording | `false` |+| `-i, --audio-device <STRING>` | audio device (repeatable) | — |+| `-a, --audio-transcription-engine <ENGINE>` | STT engine | `whisper-large-v3-turbo` |+| `--vad-engine <ENGINE>` | voice activity detection (`silero`/`webrtc`) | `silero` |+| `--vad-sensitivity <LEVEL>` | VAD sensitivity (`low`/`medium`/`high`) | `high` |-- **enable-llm** (`--enable-llm`): enable local llm api- - default: `false`-- **enable-ui-monitoring** (`--enable-ui-monitoring`): enable ui monitoring (macos only)- - default: `false`-- **enable-frame-cache** (`--enable-frame-cache`): enable experimental video frame cache- - default: `false`-- **capture-unfocused-windows** (`--capture-unfocused-windows`): capture unfocused windows- - default: `false`-- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription- - default: `false`- - requires: at least one `--realtime-audio-device`- - note: experimental feature, may impact system performance+transcription engines: `deepgram`, `whisper-tiny`, `whisper-large`, `whisper-large-v3-turbo`-### subcommands+### vision-#### pipe management+| flag | description | default |+| --- | --- | --- |+| `--disable-vision` | disable screen recording | `false` |+| `-m, --monitor-id <INT>` | monitor to record (repeatable) | all |+| `-o, --ocr-engine <ENGINE>` | OCR engine | platform native |+| `--ignored-windows <STRING>` | ignore windows by title (repeatable) | — |+| `--included-windows <STRING>` | only capture these windows (repeatable) | — |+| `--video-chunk-duration <INT>` | video chunk duration (seconds) | `60` |-```bash-# list all pipes-screenpipe pipe list [--output <FORMAT>] [--port <PORT>]+OCR engines: `apple-native`, `windows-native`, `tesseract`, `unstructured`, `custom`-# install a new pipe-screenpipe pipe install <URL> [--output <FORMAT>] [--port <PORT>]+### privacy-# get pipe info-screenpipe pipe info <ID> [--output <FORMAT>] [--port <PORT>]+| flag | description | default |+| --- | --- | --- |+| `-l, --language <LANG>` | languages to support (repeatable) | — |+| `--use-pii-removal` | redact PII from OCR text | `false` |-# enable/disable pipe-screenpipe pipe enable <ID> [--port <PORT>]-screenpipe pipe disable <ID> [--port <PORT>]+### experimental-# delete pipe-screenpipe pipe delete <ID> [-y] [--port <PORT>]--# purge all pipes-screenpipe pipe purge [-y] [--port <PORT>]-```+| flag | description | default |+| --- | --- | --- |+| `--enable-ui-monitoring` | capture UI events via accessibility (macOS) | `false` |+| `--enable-frame-cache` | video frame cache | `false` |+| `--capture-unfocused-windows` | capture unfocused windows | `false` |-#### add external data to screenpipe (ocr only)+## subcommands-allows you to add external screen recordings to screenpipe, for example it could be your iphone screen recordings, your physical journal photos, etc.+### pipe management-companies use this to index their product's screen recordings, for example.+pipes are scheduled AI agents that run on your screen data. see [pipes docs](/pipes) for details.```bash-# add video files-screenpipe add <PATH> [--data-dir <DIR>] [--output <FORMAT>] [--pattern <REGEX>] [--ocr-engine <ENGINE>] [--metadata-override <PATH>]-```+# list all pipes+bunx screenpipe pipe list-by default, screenpipe extracts metadata (fps, duration, creation time) directly from video files. however, you can override these with a metadata file:+# install a pipe+bunx screenpipe pipe install /path/to/pipe+bunx screenpipe pipe install https://example.com/pipe.md-#### metadata override example+# enable/disable+bunx screenpipe pipe enable my-pipe+bunx screenpipe pipe disable my-pipe-```bash-# 1. setup test videos-mkdir -p $HOME/Downloads/tmpvideos--# copy 3 videos with random names-find $HOME/.screenpipe/data -type f -name "*monitor*.mp4" | head -n 3 | while read -r file; do- case $RANDOM in- [0-9][0-9][0-9][0-9])- cp "$file" "$HOME/Downloads/tmpvideos/video1.mp4"- ;;- [0-9][0-9][0-9][0-9][0-9])- cp "$file" "$HOME/Downloads/tmpvideos/video2.mp4"- ;;- *)- cp "$file" "$HOME/Downloads/tmpvideos/video3.mp4"- ;;- esac-done--# 2. create metadata override file-cat > metadata.json << EOF-{- "overrides": [- {- "file_path": "$HOME/Downloads/tmpvideos/video1.mp4",- "metadata": {- "creation_time": "2024-03-20T10:00:00Z",- "fps": 30.0,- "duration": 300.0,- "device_name": "macbook pro"- }- },- {- "file_path": "$HOME/Downloads/tmpvideos/video2.mp4",- "metadata": {- "creation_time": "2024-03-21T15:30:00Z",- "fps": 24.0,- "duration": 400.0,- "device_name": "external monitor"- }- },- {- "file_path": "$HOME/Downloads/tmpvideos/video3.mp4",- "metadata": {- "creation_time": "2024-03-22T09:15:00Z",- "fps": 60.0,- "duration": 200.0,- "device_name": "ipad screen"- }- }- ]-}-EOF--# 3. run screenpipe with metadata override-screenpipe add \- $HOME/Downloads/tmpvideos \- --metadata-override metadata.json \- --data-dir /tmp/sp--# 4. cleanup-rm -rf $HOME/Downloads/tmpvideos-rm metadata.json-```+# run once manually+bunx screenpipe pipe run my-pipe-note: if you don't provide a metadata override file, screenpipe will automatically extract metadata from the video files. use overrides when you need to specify custom metadata or when the automatic extraction fails.+# view logs+bunx screenpipe pipe logs my-pipe+bunx screenpipe pipe logs my-pipe -f # follow-#### database--```bash-# run migrations-screenpipe migrate+# delete+bunx screenpipe pipe delete my-pipe```-### shell completions+### add external data-the `screenpipe` cli supports generating shell completions for popular shells. follow the steps below to enable autocompletion for your shell:+add screen recordings from external sources (iPhone recordings, journal photos, etc.):-#### bash+```bash+bunx screenpipe add /path/to/videos --ocr-engine apple-native+```-1. add the following to your `.bashrc` profile:+optional: override metadata with a JSON file:```bash-eval "$(screenpipe completions bash)"+bunx screenpipe add /path/to/videos --metadata-override metadata.json```-2. reload your profile:++### status```bash-source ~/.bashrc+bunx screenpipe status+bunx screenpipe status --json```-#### zsh--1. add the following to your `.zshrc` profile:+### audio devices```bash-eval "$(screenpipe completions zsh)"+bunx screenpipe audio list+bunx screenpipe audio start <device-id>+bunx screenpipe audio stop <device-id>```-2. reload your profile:++### vision devices```bash-source ~/.zshrc+bunx screenpipe vision list```-#### fish--1. create `\~/.config/fish/conf.d/screenpipe.fish` and add this line to it:+### database-```fish-screenpipe completions fish | source+```bash+bunx screenpipe migrate```-#### powershell+## API endpoints-1. add the following to the end of your profile file:+screenpipe serves a REST API on `localhost:3030`:-```powershell-screenpipe completions powershell | Out-String | Invoke-Expression-```+| method | endpoint | description |+| --- | --- | --- |+| GET | `/search` | search screen & audio content |+| GET | `/health` | server health check |+| GET | `/audio/list` | list audio devices |+| GET | `/vision/list` | list monitors |+| GET | `/frames/{id}` | get frame data |+| GET | `/frames/{id}/ocr` | get frame OCR text |+| POST | `/tags/{type}/{id}` | add tags |+| DELETE | `/tags/{type}/{id}` | remove tags |+| POST | `/raw_sql` | execute raw SQL |+| POST | `/add` | add content to database |+| GET | `/semantic-search` | semantic search |+| GET | `/search/keyword` | keyword search |-- for macos/linux, the profile is located at `\~/.config/powershell/Microsoft.PowerShell_profile.ps1`-- for windows location is either:- - `%userprofile%\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1` powershell 5- - `%userprofile%\\Documents\\PowerShell\\Microsoft.PowerShell_profile.ps1` powershell 6+-- to create the profile file you can run this in powershell:+### search example-```powershell-if (-not (Test-Path $profile)) { New-Item $profile -Force }+```bash+curl "http://localhost:3030/search?q=meeting&limit=10&content_type=ocr"```-- to edit your profile run this in powershell:-```powershell-Invoke-Item $profile-```+### search parameters-1. reload your profile:+| param | type | description |+| --- | --- | --- |+| `q` | string | search query |+| `limit` | int | max results |+| `offset` | int | pagination offset |+| `content_type` | string | `ocr`, `audio`, `ui`, `all` |+| `start_time` | ISO 8601 | filter start |+| `end_time` | ISO 8601 | filter end |+| `app_name` | string | filter by app |+| `window_name` | string | filter by window title |+| `browser_url` | string | filter by browser URL |+| `min_length` | int | minimum text length |+| `max_length` | int | maximum text length |-```powershell-. $PROFILE-```+## shell completions++```bash+# bash+eval "$(screenpipe completions bash)"-### llm links+# zsh+eval "$(screenpipe completions zsh)"-paste these links into your cursor chat for context:+# fish+screenpipe completions fish | source-- https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/bin/screenpipe-server.rs-- https://github.com/screenpipe/screenpipe/blob/main/crates/screenpipe-server/src/cli.rs+# powershell+screenpipe completions powershell | Out-String | Invoke-Expression+```diff --git a/docs/mintlify/docs-mintlify-mig-tmp/docs.json b/docs/mintlify/docs-mintlify-mig-tmp/docs.jsonindex 56ef6e6cf..9f4dde4ca 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/docs.json+++ b/docs/mintlify/docs-mintlify-mig-tmp/docs.json@@ -35,7 +35,7 @@},{"group": "reference",- "pages": ["cli-reference", "sdk-reference"]+ "pages": ["cli-reference"]},{"group": "compare",diff --git a/docs/mintlify/docs-mintlify-mig-tmp/faq.mdx b/docs/mintlify/docs-mintlify-mig-tmp/faq.mdxindex aba9ebec1..20e30e9d3 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/faq.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/faq.mdx@@ -1,74 +1,53 @@----title: "screenpipe FAQ - common questions about screen recording & AI"+title: "FAQ"sidebarTitle: "faq"-description: "Frequently asked questions about screenpipe: hardware requirements, data storage, plugins, monetization, backup, and more."+description: "Frequently asked questions about screenpipe."icon: "question"----<Expandable title="how can i create and share custom pipes (plugins)?">- - create pipes using: `bunx --bun @screenpipe/dev@latest pipe create`- - pipes run locally in the screenpipe app- - share your pipes by publishing to GitHub- - install pipes via URL in the screenpipe desktop app- - check our [plugins guide](/plugins) for more details+<Expandable title="what are pipes?">+ pipes are scheduled AI agents that run on your screen data. each pipe is a `.md` file with a prompt and a schedule. an AI agent reads the prompt, queries the screenpipe API, and takes action.++ examples: sync to Obsidian, track time in Toggl, send daily summaries.++ see the [pipes guide](/pipes) for details.</Expandable>-<Expandable title="what are some example pipes (plugins) available?">- - **search**: search through your screen history with AI- - **obsidian**: sync your screen activities to obsidian notes- - **meeting**: automatic meeting notes and summaries- - **timeline**: visual timeline of your screen activity- - **identify-speakers**: automatically identify and label speakers- - see available pipes on [GitHub](https://github.com/screenpipe/screenpipe/tree/main/pipes)+<Expandable title="what are the hardware requirements?">+ - **minimum**: dual-core CPU, 2GB RAM, 20GB disk+ - **recommended**: quad-core, 4GB+ RAM, 50GB+ SSD+ - runs 24/7 on a MacBook Pro M3 or a $400 Windows laptop+ - ~600 MB RAM, ~10% CPU, ~30 GB/month storage at 1 FPS</Expandable>-<Expandable title="how do i develop and test a pipe locally?">- - create a new pipe with: `bunx --bun @screenpipe/dev@latest pipe create`- - navigate to your pipe directory: `cd your-pipe-name`- - start development server: `bun run dev`- - test your pipe locally in the screenpipe app- - debug and iterate on your implementation- - when ready, build for production: `bun run build`- - see our [pipe development guide](/docs/plugins) for detailed instructions+<Expandable title="where is data stored?">+ all data is in `~/.screenpipe/`:+ - `db.sqlite` — metadata, OCR text, transcriptions+ - `data/` — MP4 screen recordings, audio chunks+ - `pipes/` — installed pipes++ to backup, copy `~/.screenpipe/` to another location.</Expandable>-<Expandable title="what are the hardware requirements for running screenpipe?">- - **minimum requirements**:- - dual-core processor (2ghz+)- - 2gb ram- - 20gb free disk space- - any modern graphics card for hardware acceleration- - **recommended specifications**:- - quad-core processor or better- - 4gb+ ram- - 50gb+ free ssd space- - dedicated graphics card with at least 2gb vram- - screenpipe is optimized to use hardware acceleration when available, significantly reducing cpu usage+<Expandable title="how do i contribute?">+ - check [github issues](https://github.com/screenpipe/screenpipe/issues)+ - join [discord](https://discord.gg/dU9EBuw7Uq)+ - follow [contribution guidelines](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md)</Expandable>-<Expandable title="how can i contribute to the screenpipe project?">- - screenpipe is open source and welcomes contributions- - check our [github issues](https://github.com/screenpipe/screenpipe/issues) for tasks to work on+<Expandable title="what OCR / STT engines are supported?">+ **OCR**: `apple-native` (macOS), `windows-native` (Windows), `tesseract` (Linux), `unstructured` (cloud), `custom`- - join our [discord community](https://discord.gg/dU9EBuw7Uq) to collaborate with other contributors- - follow our [contribution guidelines](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md) for code standards- - submit pull requests with features, bug fixes, or documentation improvements+ **STT**: `whisper-large-v3-turbo` (default, local), `whisper-tiny`, `whisper-large`, `deepgram` (cloud)</Expandable>-<Expandable title="what file formats does screenpipe use for recording?">- - screen recordings are stored as mp4 files- - audio recordings are stored as mp3 files- - all files are saved in $home/.screenpipe/ directory- - metadata and indexes are stored in sqlite database- - ocr and transcription data are also indexed in the database- - you can access all data programmatically via our api+<Expandable title="is my data private?">+ yes. everything runs locally. no data leaves your machine unless you explicitly choose a cloud provider (deepgram, unstructured). you control what's captured with `--ignored-windows` and `--included-windows`.</Expandable>-<Expandable title="how can i backup or transfer my screenpipe data?">- - all data is stored in $home/.screenpipe/ directory- - to backup, simply copy this directory to another location- - to transfer to another machine, copy the directory to the same location- - you can also use our export api to selectively export data- - database can be accessed directly with sqlite tools- - note: when transferring between different operating systems, some paths may need adjustment+<Expandable title="how do i connect screenpipe to AI?">+ three ways:+ 1. **MCP server** — works with Claude Desktop, Cursor ([guide](/mcp-server))+ 2. **pipes** — scheduled AI agents ([guide](/pipes))+ 3. **REST API** — `curl http://localhost:3030/search?q=your+query`</Expandable>diff --git a/docs/mintlify/docs-mintlify-mig-tmp/getting-started.mdx b/docs/mintlify/docs-mintlify-mig-tmp/getting-started.mdxindex 9050a58e6..ce4628b8c 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/getting-started.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/getting-started.mdx@@ -1,31 +1,35 @@----title: "install screenpipe - screen recording with AI search"+title: "install screenpipe"sidebarTitle: "getting started"-description: "Install screenpipe on macOS, Windows, or Linux. Start recording your screen and audio in minutes with our desktop app or CLI. Query your data with AI."+description: "Install screenpipe on macOS, Windows, or Linux. Start recording your screen in minutes."icon: "rocket"----### choose your installation method+## desktop app (recommended)-| method | best for | pros | cons |-| ----------- | --------------------------------- | ------------------------------ | ------------------------------------ |-| app | personal users, quick setup | easy gui, no terminal required | less customizable, automatic updates |-| cli | developers, automation, scripting | fast, scriptable | requires terminal familiarity |+download the [desktop app](https://screenpi.pe/onboarding) and follow the installation instructions. works on macOS, Windows, and Linux.-### install desktop app+the app manages recording, settings, and search — no terminal needed.-- download the [desktop app](https://screenpi.pe) and follow the installation instructions.--### install cli+## CLI<Tabs>- <Tab title="macos/linux">+ <Tab title="npm (all platforms)">+ ```bash+ bunx screenpipe+ ```+ or with npm:+ ```bash+ npx screenpipe+ ```+ </Tab>+ <Tab title="macOS/Linux (curl)">```bashcurl -fsSL get.screenpi.pe/cli | shscreenpipe```</Tab>- <Tab title="windows">+ <Tab title="Windows (powershell)">```powershelliwr get.screenpi.pe/cli.ps1 | iexscreenpipe.exe@@ -33,107 +37,31 @@ icon: "rocket"</Tab></Tabs>-### verify installation--- run `screenpipe` or `screenpipe.exe` to verify successful installation.+## verify it's running-### query data with javascript sdk+once screenpipe starts, it serves an API on `localhost:3030`:-then query the data using our javascript sdk:+```bash+# check health+curl http://localhost:3030/health-```typescript-import { pipe } from "@screenpipe/js";--async function queryScreenpipe() {- // get content from last 5 minutes- const fiveMinutesAgo = new Date(Date.now() - 5 * 60 * 1000).toISOString();-- const results = await pipe.queryScreenpipe({- startTime: fiveMinutesAgo,- limit: 10,- contentType: "all", // can be "ocr", "audio", or "all"- });-- if (!results) {- console.log("no results found or error occurred");- return;- }-- console.log(`found ${results.pagination.total} items`);-- // process each result- for (const item of results.data) {- if (item.type === "OCR") {- console.log(`OCR: ${JSON.stringify(item.content)}`);- } else if (item.type === "Audio") {- console.log(`transcript: ${JSON.stringify(item.content)}`);- }- }-}--queryScreenpipe().catch(console.error);+# search your screen history+curl "http://localhost:3030/search?q=meeting&limit=5"```-now download the [desktop app](https://screenpi.pe) to start capturing your screen and audio!--### connect to ai providers+## connect to AI-screenpipe can connect to various ai providers to process your data. here's how to set up popular local ai providers:--<Tabs>- <Tab title="ollama">- 1. install ollama from [ollama.ai](https://ollama.ai) and run your preferred model-- ```bash- # start ollama with your preferred model- ollama run phi4:14b-q4_K_M- ```-- 1. then configure screenpipe to use ollama in your settings with model phi4:14b-q4_K_M-- that's it\! screenpipe will now use ollama for ai like search, rewind, and more. you can change the model in settings.- </Tab>- <Tab title="lmstudio">- to use lmstudio:-- 1. download and install [lmstudio](https://lmstudio.ai)- 2. select your preferred model- 3. start the local server-- <Frame>- <img- src="public/lmstudio2.png"- alt="select model in lmstudio"- width={800}- height={450}- className="rounded-lg"- />- </Frame>-- <Frame>- <img- src="public/lmstudio3.png"- alt="start server in lmstudio"- width={800}- height={450}- className="rounded-lg"- />- </Frame>-- <Frame>- <img- src="public/lmstudio1.png"- alt="lmstudio setup"- width={800}- height={450}- className="rounded-lg"- />- </Frame>- </Tab>-</Tabs>+screenpipe works with any AI that supports MCP or HTTP APIs:-verify your ai provider by using the search or chat features in the app!+| integration | how |+| --- | --- |+| **claude desktop** | add screenpipe as MCP server ([guide](/mcp-server)) |+| **cursor** | add screenpipe MCP to your project ([guide](/mcp-server)) |+| **claude code** | use screenpipe MCP or curl the API ([guide](/claude-code)) |+| **ollama** | configure in app settings, use any local model |-### for developers+## what's next?-if you're interested in building from source or contributing to screenpipe, please check our [contributing guide](https://github.com/screenpipe/screenpipe/blob/main/CONTRIBUTING.md).+- [search your screen history](/search-screen-history) — find anything you've seen+- [set up pipes](/pipes) — scheduled AI agents on your data+- [CLI reference](/cli-reference) — all commands and optionsdiff --git a/docs/mintlify/docs-mintlify-mig-tmp/home.mdx b/docs/mintlify/docs-mintlify-mig-tmp/home.mdxindex 5df82c506..b72c891db 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/home.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/home.mdx@@ -1,37 +1,43 @@----title: "screenpipe - open source AI screen recorder with OCR & search"+title: "screenpipe — your screen's memory layer"sidebarTitle: "home"-description: "screenpipe is an open source screen recorder that captures your screen 24/7, extracts text with OCR, transcribes audio, and lets you search everything with AI. Local-first, privacy-focused alternative to Rewind."+description: "screenpipe captures your screen 24/7, extracts text with OCR, and lets you search everything with AI. local-first, open source."icon: "house"----<iframe- src="https://lottie.host/embed/374da79b-a70e-4023-8a23-3dda0e17bb65/KpiWyXpo35.lottie"- width="100%"- height="200"- style={{border: "none", background: "transparent"}}-/>+screenpipe records your screen continuously and makes everything searchable. it runs locally, stores data on your machine, and provides APIs for AI integration.-screenpipe empowers developers to build context-aware ai tools by:-- capturing screen & audio 24/7-- processing everything locally for privacy-- providing clean apis for ai integration-- supporting all major platforms+## what it does-built in rust for reliability.+- **captures screen 24/7** — OCR extracts text from every frame+- **local storage** — sqlite database + media files on your machine+- **search API** — find anything you've seen via `localhost:3030/search`+- **pipes** — scheduled AI agents that act on your screen data ([learn more](/pipes))+- **MCP server** — connect to Claude, Cursor, and other AI assistants ([learn more](/mcp-server))-## key features+## quick start-- **24/7 media capture**: captures screen and audio data continuously, storing it locally.-- **personalized ai**: enables ai models to be powered by your captured data.-- **open source & secure**: your data stays private, 100% local, with complete control over storage and processing.-- **cross-platform**: works on windows, macos, and linux.-- **multi-device support**: supports multiple monitors & audio devices for comprehensive data capture.+```bash+# install and run+bunx screenpipe-## target audience--screenpipe is suitable for developers and anyone interested in automating data capture and creating desktop context-aware ai agents.+# or download the desktop app+# https://screenpi.pe/onboarding+```## what's next?-- [getting started](/getting-started)+<CardGroup cols={2}>+ <Card title="getting started" icon="rocket" href="/getting-started">+ install screenpipe on macOS, Windows, or Linux+ </Card>+ <Card title="search screen history" icon="magnifying-glass" href="/search-screen-history">+ find anything you've seen on your screen+ </Card>+ <Card title="pipes" icon="wand-magic-sparkles" href="/pipes">+ scheduled AI agents on your screen data+ </Card>+ <Card title="MCP server" icon="server" href="/mcp-server">+ connect screenpipe to AI assistants+ </Card>+</CardGroup>diff --git a/docs/mintlify/docs-mintlify-mig-tmp/meeting-transcription.mdx b/docs/mintlify/docs-mintlify-mig-tmp/meeting-transcription.mdxindex 4a3e861b9..4f3967cc6 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/meeting-transcription.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/meeting-transcription.mdx@@ -1,178 +1,84 @@----title: "automatic meeting transcription - local & private"+title: "meeting transcription"sidebarTitle: "meeting transcription"-description: "Automatically transcribe meetings with screenpipe. Local speech-to-text using Whisper, speaker identification, and AI-powered summaries. No cloud required."+description: "Automatically transcribe meetings with screenpipe. Local speech-to-text using Whisper, speaker identification. No cloud required."icon: "microphone"----<iframe- src="https://lottie.host/embed/7650e974-eaeb-4036-b2bc-5bd7a7c5356f/l76e9MBHBd.lottie"- width="100%"- height="150"- style={{border: "none", background: "transparent"}}-/>--screenpipe automatically transcribes all audio from your meetings, calls, and conversations. everything runs locally using Whisper for maximum privacy.--## how it works--1. **audio capture**: screenpipe records from your microphone and system audio-2. **speech-to-text**: audio is transcribed using Whisper (runs locally)-3. **speaker identification**: different speakers are automatically labeled-4. **searchable storage**: transcripts are indexed and searchable+screenpipe automatically transcribes all audio from your meetings, calls, and conversations. everything runs locally using Whisper.## setup-### basic setup-```bash-# start screenpipe with audio enabled (default)-screenpipe-```--### capture both mic and system audio+# start with audio enabled (default)+bunx screenpipe-```bash# list available audio devices-screenpipe --list-audio-devices+bunx screenpipe audio list# capture specific devices-screenpipe --audio-device "MacBook Pro Microphone" --audio-device "BlackHole 2ch"+bunx screenpipe --audio-device "MacBook Pro Microphone" --audio-device "BlackHole 2ch"```### choose transcription engine```bash-# local (default) - most private-screenpipe --audio-transcription-engine whisper-large-v3-turbo+# local (default) — most private+bunx screenpipe --audio-transcription-engine whisper-large-v3-turbo-# cloud - faster, requires API key-screenpipe --audio-transcription-engine deepgram+# cloud — faster, requires API key+bunx screenpipe --audio-transcription-engine deepgram```-## query transcriptions+## search transcriptions-```typescript-import { pipe } from "@screenpipe/js";+```bash+# find discussions about a topic+curl "http://localhost:3030/search?q=budget+review&content_type=audio&limit=10"-// find discussions about a topic-const results = await pipe.queryScreenpipe({- q: "budget review",- contentType: "audio",- limit: 10-});+# get today's meetings+curl "http://localhost:3030/search?content_type=audio&start_time=2026-02-11T00:00:00Z"-// get transcripts from today's meetings-const today = new Date().toISOString().split('T')[0];-const meetings = await pipe.queryScreenpipe({- startTime: today,- contentType: "audio"-});+# filter by speaker+curl "http://localhost:3030/search?content_type=audio&speaker_ids=1,2"+curl "http://localhost:3030/search?content_type=audio&speaker_name=John"```-## transcription quality tips--- use a good microphone-- reduce background noise-- `whisper-large-v3-turbo` gives best accuracy-- add `--language en` if you only speak English (faster)-## speaker identification-screenpipe automatically identifies different speakers:--```typescript-const results = await pipe.queryScreenpipe({- contentType: "audio"-});--for (const item of results.data) {- if (item.type === "Audio") {- console.log(`Speaker ID: ${item.content.speaker_id}`);- console.log(`Speaker Name: ${item.content.speaker?.name || "Unknown"}`);- console.log(`Text: ${item.content.transcription}`);- }-}-```--### filter by speaker--```typescript-// filter by specific speaker IDs-const results = await pipe.queryScreenpipe({- contentType: "audio",- speakerIds: [1, 2, 3]-});--// or use the REST API directly-// GET http://localhost:3030/search?content_type=audio&speaker_ids=1,2,3-// GET http://localhost:3030/search?content_type=audio&speaker_name=John-```--### speaker management API--screenpipe provides REST endpoints to manage speakers:--| endpoint | method | description |-|----------|--------|-------------|-| `/speakers/unnamed` | GET | get speakers without names assigned |-| `/speakers/search?name=query` | GET | search speakers by name |-| `/speakers/update` | POST | update speaker name or metadata |-| `/speakers/merge` | POST | merge two speaker profiles |-| `/speakers/reassign` | POST | reassign audio chunk to different speaker |-| `/speakers/similar?speaker_id=1` | GET | find similar speakers |-| `/speakers/delete` | POST | delete a speaker profile |-| `/speakers/hallucination` | POST | mark speaker as false detection |--### update speaker name+screenpipe automatically identifies different speakers. manage them via API:```bash+# get unnamed speakers for labeling+curl "http://localhost:3030/speakers/unnamed?limit=10"+# update a speaker's namecurl -X POST http://localhost:3030/speakers/update \-H "Content-Type: application/json" \-d '{"id": 1, "name": "John Smith"}'-```--### search speakers-```bash-# find speakers by name prefix+# search speakers by namecurl "http://localhost:3030/speakers/search?name=john"-# get unnamed speakers for labeling-curl "http://localhost:3030/speakers/unnamed?limit=10&offset=0"-```--### merge duplicate speakers--```bash-# merge speaker 2 into speaker 1+# merge duplicate speakerscurl -X POST http://localhost:3030/speakers/merge \-H "Content-Type: application/json" \-d '{"speaker_to_keep_id": 1, "speaker_to_merge_id": 2}'++# find similar speakers+curl "http://localhost:3030/speakers/similar?speaker_id=1"```-### reassign audio to different speaker+## tips-```bash-# reassign an audio chunk to a named speaker-curl -X POST http://localhost:3030/speakers/reassign \- -H "Content-Type: application/json" \- -d '{- "audio_chunk_id": 123,- "new_speaker_name": "Jane Doe",- "propagate_similar": true- }'-```+- use a good microphone+- reduce background noise+- `whisper-large-v3-turbo` gives best accuracy+- add `--language en` if you only speak English (faster)## privacy- all transcription runs locally on your device- audio files stored in `~/.screenpipe/data/`-- no audio is sent to the cloud (unless you choose deepgram)-- you can disable audio recording with `--disable-audio`--## next steps--- [install screenpipe](/getting-started)-- [CLI audio options](/cli-reference#audio-options)+- no audio sent to cloud unless you choose deepgram+- disable with `--disable-audio`diff --git a/docs/mintlify/docs-mintlify-mig-tmp/search-screen-history.mdx b/docs/mintlify/docs-mintlify-mig-tmp/search-screen-history.mdxindex 4757f496a..debe31316 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/search-screen-history.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/search-screen-history.mdx@@ -1,90 +1,84 @@----title: "how to search your screen history with AI"+title: "search your screen history"sidebarTitle: "search screen history"-description: "Learn how to search through your screen recordings using natural language. Find any text, conversation, or activity from your computer history with screenpipe."+description: "Find any text, conversation, or activity from your screen history with screenpipe."icon: "magnifying-glass"----<iframe- src="https://lottie.host/embed/5ab6289a-ff8d-4353-b795-6183b9df53b9/jUNMUNa37v.lottie"- width="100%"- height="150"- style={{border: "none", background: "transparent"}}-/>--screenpipe records your screen 24/7 and lets you search through everything using natural language. find that code snippet, conversation, or document you saw last week.+screenpipe records your screen 24/7 and lets you search through everything. find that code snippet, conversation, or document you saw last week.## how it works-1. **continuous capture**: screenpipe records your screen at configurable intervals (default: 1 frame/second)-2. **OCR extraction**: text is extracted from every frame using native OCR engines-3. **local storage**: everything is stored in a local SQLite database-4. **AI search**: query your data using natural language or filters+1. **continuous capture** — screenpipe records your screen at configurable intervals (default: 1 frame/second)+2. **OCR extraction** — text is extracted from every frame using native OCR engines+3. **local storage** — everything stored in a local SQLite database+4. **search API** — query via `localhost:3030/search` with filters## search examples-### find by text content--```typescript-import { pipe } from "@screenpipe/js";+### find by text-// find mentions of a project-const results = await pipe.queryScreenpipe({- q: "project apollo budget",- contentType: "ocr",- limit: 20-});+```bash+curl "http://localhost:3030/search?q=project+apollo+budget&content_type=ocr&limit=20"```-### find by application+### find by app-```typescript-// find all VS Code activity from today-const results = await pipe.queryScreenpipe({- appName: "Code",- startTime: new Date().toISOString().split('T')[0],- contentType: "ocr"-});+```bash+curl "http://localhost:3030/search?app_name=Code&content_type=ocr&limit=20"```### find by time range-```typescript-// find what you were doing yesterday afternoon-const yesterday = new Date(Date.now() - 24 * 60 * 60 * 1000);-yesterday.setHours(14, 0, 0, 0);-const yesterdayEnd = new Date(yesterday);-yesterdayEnd.setHours(18, 0, 0, 0);--const results = await pipe.queryScreenpipe({- startTime: yesterday.toISOString(),- endTime: yesterdayEnd.toISOString(),- contentType: "all"-});+```bash+curl "http://localhost:3030/search?q=standup&start_time=2026-02-10T14:00:00Z&end_time=2026-02-10T18:00:00Z"+```++### find by browser URL++```bash+curl "http://localhost:3030/search?browser_url=github.com&limit=10"+```++### combine filters++```bash+curl "http://localhost:3030/search?q=deployment&app_name=Slack&content_type=ocr&limit=10"```-## using the search interface+## search parameters++| param | type | description |+| --- | --- | --- |+| `q` | string | search query |+| `limit` | int | max results (default 20) |+| `offset` | int | pagination offset |+| `content_type` | string | `ocr`, `audio`, `ui`, `all` |+| `start_time` | ISO 8601 | filter by start time |+| `end_time` | ISO 8601 | filter by end time |+| `app_name` | string | filter by app name |+| `window_name` | string | filter by window title |+| `browser_url` | string | filter by browser URL |+| `min_length` | int | minimum text length |+| `max_length` | int | maximum text length |-the easiest way to search is using the built-in search in the screenpipe desktop app:+## using the desktop app-1. open screenpipe desktop app-2. click on the search icon or use the timeline view-3. use natural language to find anything from your screen history-4. scroll through your day visually with the timeline+the easiest way to search is the built-in search in the screenpipe desktop app:++1. open screenpipe+2. use the search bar or timeline view+3. scroll through your day visually+4. select content to chat with AI about it## search tips-- **be specific**: "slack message from john about deployment" works better than "deployment"-- **use time context**: "yesterday's standup meeting" or "last week's code review"-- **combine filters**: app name + time range + keywords for precise results+- **be specific**: "slack message from john about deployment" > "deployment"+- **use time context**: combine `start_time` and `end_time` for precision+- **combine filters**: app name + time range + keywords## privacy- all search happens locally on your device-- no data leaves your computer-- you control what apps are recorded with `--ignored-windows` and `--included-windows`--## next steps--- [install screenpipe](/getting-started)-- [SDK reference](/sdk-reference)+- no data leaves your machine+- control what's recorded with `--ignored-windows` and `--included-windows`diff --git a/docs/mintlify/docs-mintlify-mig-tmp/vs-limitless.mdx b/docs/mintlify/docs-mintlify-mig-tmp/vs-limitless.mdxindex 47f4759b8..666d08fb1 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/vs-limitless.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/vs-limitless.mdx@@ -45,19 +45,11 @@ screenpipe runs entirely on your device. no cloud account required.### extensible-build custom integrations:+build custom integrations with the REST API or [pipes](/pipes):-```typescript-import { pipe } from "@screenpipe/js";--// create your own AI workflows-const context = await pipe.queryScreenpipe({- contentType: "all",- limit: 50-});--// process with any AI provider-const summary = await generateSummary(context);+```bash+# query your screen data+curl "http://localhost:3030/search?content_type=all&limit=50"```## for meeting transcription@@ -66,13 +58,11 @@ screenpipe handles meetings just as well:```bash# capture system audio (meeting apps) + microphone-screenpipe \+bunx screenpipe \--audio-device "MacBook Pro Microphone" \--audio-device "BlackHole 2ch"```-install the **meeting** pipe for automatic summaries and action items.-## self-hosting benefits| limitless cloud | screenpipe local |@@ -85,13 +75,7 @@ install the **meeting** pipe for automatic summaries and action items.## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh-screenpipe--# windows-iwr get.screenpi.pe/cli.ps1 | iex-screenpipe.exe+bunx screenpipe```or [download the desktop app](https://screenpi.pe)diff --git a/docs/mintlify/docs-mintlify-mig-tmp/vs-recall.mdx b/docs/mintlify/docs-mintlify-mig-tmp/vs-recall.mdxindex e3ebc2ad2..f56455693 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/vs-recall.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/vs-recall.mdx@@ -42,16 +42,10 @@ Microsoft Recall is a Windows 11 feature that captures screenshots and makes the### extensible-build custom integrations with the pipes system:+build custom integrations with the REST API or [pipes](/pipes):-```typescript-import { pipe } from "@screenpipe/js";--// build anything on top of your screen data-const data = await pipe.queryScreenpipe({- q: "meeting notes",- contentType: "all"-});+```bash+curl "http://localhost:3030/search?q=meeting+notes&content_type=all"```## recall privacy concerns@@ -74,7 +68,7 @@ screenpipe addresses these:```bash# exclude password managers and banking apps-screenpipe \+bunx screenpipe \--ignored-windows "1Password" \--ignored-windows "Bitwarden" \--ignored-windows "Chase" \@@ -84,11 +78,7 @@ screenpipe \## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh--# windows-iwr get.screenpi.pe/cli.ps1 | iex+bunx screenpipe```or [download the desktop app](https://screenpi.pe)diff --git a/docs/mintlify/docs-mintlify-mig-tmp/vs-rewind.mdx b/docs/mintlify/docs-mintlify-mig-tmp/vs-rewind.mdxindex 2b47b5b46..2a8813178 100644--- a/docs/mintlify/docs-mintlify-mig-tmp/vs-rewind.mdx+++ b/docs/mintlify/docs-mintlify-mig-tmp/vs-rewind.mdx@@ -62,13 +62,7 @@ if you were a Rewind user:## get started```bash-# macos/linux-curl -fsSL get.screenpi.pe/cli | sh-screenpipe--# windows-iwr get.screenpi.pe/cli.ps1 | iex-screenpipe.exe+bunx screenpipe```or [download the desktop app](https://screenpi.pe)