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
Update README.md
Louis Beaumont09af4828ca4e
diff --git a/README.md b/README.mdindex 86ab8c129..254070dac 100644--- a/README.md+++ b/README.md@@ -345,256 +345,14 @@ npm run dev</details>-## Usage+## usage-You can use terminal commands to query and view your data as shown below. Also, we recommend Tableplus.com to view the database, it has a free tier.+screenpipe has a plugin system called "pipe" which lets you run code in a sandboxed environment within the Rust code, [get started](https://docs.screenpi.pe/docs/plugins)-Here's a pseudo code to illustrate how to use screenpipe, to summarize meetings:-```js-// 1h ago-const startDate = "<some time 1h ago..>"-// 10m ago-const endDate = "<some time 10m ago..>"+## examples-// get all the screen & mic data from roughly last hour-const results = fetchScreenpipe(startDate, endDate)--// send it to an LLM and ask for a summary-const summary = fetchOllama("{results} create a summary from these transcriptions")-// or const summary = fetchOpenai(results)--// add the meeting summary to your notes-addToNotion(summary)-// or your favourite note taking app-```--Or thousands of other usages of all your screen & mic data! [Check examples](https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript), screenpipes makes it easy to write plugins in JS for example that runs directly in the Rust code through Deno engine.---<details>-<summary>-Check which tables you have in the local database</summary>--```bash-sqlite3 ~/.screenpipe/db.sqlite ".tables"-```-</details>-<details>-<summary>-Print a sample audio_transcriptions from the database</summary>--```bash-sqlite3 ~/.screenpipe/db.sqlite ".mode json" ".once /dev/stdout" "SELECT * FROM audio_transcriptions ORDER BY id DESC LIMIT 1;" | jq .-```--</details>-<details>-<summary>-Print a sample frame_OCR_text from the database</summary>--```bash-sqlite3 ~/.screenpipe/db.sqlite ".mode json" ".once /dev/stdout" "SELECT * FROM ocr_text ORDER BY frame_id DESC LIMIT 1;" | jq -r '.[0].text'-```--</details>-<details>-<summary>-Play a sample frame_recording from the database</summary>--```bash-ffplay "data/2024-07-12_01-14-14.mp4"-```-</details>-<details>-<summary>-Play a sample audio_recording from the database</summary>--```bash-ffplay "data/Display 1 (output)_2024-07-12_01-14-11.mp4"-```-</details>--<details>- <summary>Example to query the API</summary>--1. Basic search query-```bash-curl "http://localhost:3030/search?q=Neuralink&limit=5&offset=0&content_type=ocr" | jq-```-"Elon Musk" prompt--</details>-<details>- <summary>Other Example to query the API</summary>-- ```bash-# 2. Search with content type filter (OCR)-curl "http://localhost:3030/search?q=QUERY_HERE&limit=5&offset=0&content_type=ocr"--# 3. Search with content type filter (Audio)-curl "http://localhost:3030/search?q=QUERY_HERE&limit=5&offset=0&content_type=audio"--# 4. Search with pagination-curl "http://localhost:3030/search?q=QUERY_HERE&limit=10&offset=20"--# 6. Search with no query (should return all results)-curl "http://localhost:3030/search?limit=5&offset=0"--# Display first frame from 30m to 25m ago (macos, translate to your OS with AI)-curl "http://localhost:3030/search?limit=1&offset=0&content_type=ocr&include_frames=true&start_time=$(date -u -v-220M +%Y-%m-%dT%H:%M:%SZ)&end_time=$(date -u -v-120M +%Y-%m-%dT%H:%M:%SZ)" | jq -r '.data[0].content.frame' | base64 --decode > /tmp/frame.png && open /tmp/frame.png--# filter by app (wll only return OCR results)-curl "http://localhost:3030/search?app_name=cursor"- ```-</details>-<br><br>------## Use cases:--- Search- - Semantic and keyword search. Find information you've forgotten or misplaced- - Playback history of your desktop when searching for a specific info-- https://github.com/user-attachments/assets/895d60aa-0f8e-4807-b962-efe6de2413b1-- --- Automation:- - Automatically generate documentation- - Populate CRM systems with relevant data- - Synchronize company knowledge across platforms- - Automate repetitive tasks based on screen content- --- Analytics:- - Track personal productivity metrics- - Organize and analyze educational materials- - Gain insights into areas for personal improvement- - Analyze work patterns and optimize workflows- --- Personal assistant:- - Summarize lengthy documents or videos- - Provide context-aware reminders and suggestions- - Assist with research by aggregating relevant information- - Live captions, translation support------ Collaboration:- - Share and annotate screen captures with team members- - Create searchable archives of meetings and presentations- --- Compliance and security:- - Track what your employees are really up to- - Monitor and log system activities for audit purposes- - Detect potential security threats based on screen content--[**Check other examples**](https://docs.screenpi.pe/docs/examples)--## 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- - [x] ollama- - [x] openai- - [x] Friend wearable- - [x] [Fileorganizer2000](https://github.com/different-ai/file-organizer-2000)- - [x] mem0- - [x] Brilliant Frames- - [x] Vercel AI SDK- - [ ] supermemory- - [x] deepgram- - [x] unstructured- - [x] excalidraw- - [x] Obsidian- - [x] Apple shortcut- - [x] multion- - [x] iPhone- - [ ] Android- - [ ] Camera- - [ ] Keyboard- - [x] Browser- - [x] Pipe Store (a list of "pipes" you can build, share & easily install to get more value out of your screen & mic data without effort). It runs in Deno Typescript engine within screenpipe on your computer-- [x] screenshots + OCR with different engines to optimise privacy, quality, or energy consumption- - [x] tesseract- - [x] Windows native OCR- - [x] Apple native OCR- - [x] unstructured.io- - [ ] screenpipe screen/audio specialised LLM-- [x] audio + STT (works with multi input devices, like your iPhone + mac mic, many STT engines)- - [x] Linux, MacOS, Windows input & output devices- - [x] iPhone microphone-- [x] [remote capture](https://github.com/mediar-ai/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-- [x] optimised screen & audio recording (mp4 encoding, estimating 30 gb/m with default settings)-- [x] sqlite local db-- [x] local api-- [x] Cross platform CLI, [desktop app](https://screenpi.pe/) (MacOS, Windows, Linux)-- [x] Metal, CUDA-- [ ] TS SDK-- [ ] multimodal embeddings-- [ ] cloud storage options (s3, pgsql, etc.)-- [x] cloud computing options (deepgram for audio, unstructured for OCR)-- [x] custom storage settings: customizable capture settings (fps, resolution)-- [ ] security- - [x] window specific capture (e.g. can decide to only capture specific tab of cursor, chrome, obsidian, or only specific app)- - [ ] encryption- - [x] 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.)--## Why open source?--Recent breakthroughs in AI have shown that context is the final frontier. AI will soon be able to incorporate the context of an entire human life into its 'prompt', and the technologies that enable this kind of personalisation should be available to all developers to accelerate access to the next stage of our evolution.+[check examples](https://docs.screenpi.pe/docs/examples)## ContributingContributions are welcome! If you'd like to contribute, please read [CONTRIBUTING.md](CONTRIBUTING.md).--## FAQ--<details>- <summary>What's the difference with adept.ai and rewind.ai?</summary>-- - adept.ai is a closed product, focused on automation while we are open and focused on enabling tooling & infra for a wide range of applications like adept- - rewind.ai is a closed product, focused on a single use case (they only focus on meetings now), not customisable, your data is owned by them, and not extendable by developers--</details>--<details>- <summary>Where is the data stored?</summary>-- - 100% of the data stay local in a SQLite database and mp4/mp3 files. You own your data-</details>--<details>- <summary>Do you encrypt the data?</summary>-- - Not yet but we're working on it. We want to provide you the highest level of security.-</details>--<details>- <summary>How can I customize capture settings to reduce storage and energy usage?</summary>-- - You can adjust frame rates and resolution in the configuration. Lower values will reduce storage and energy consumption. We're working on making this more user-friendly in future updates.-</details>--<details>- <summary>What are some practical use cases for screenpipe?</summary>-- - RAG & question answering- - Automation (write code somewhere else while watching you coding, write docs, fill your CRM, sync company's knowledge, etc.)- - Analytics (track human performance, education, become aware of how you can improve, etc.)- - etc.- - We're constantly exploring new use cases and welcome community input!-</details>