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 doc
Louis Beaumont0444439cd357
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex c9bf77350..1b0e37a5e 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -44,7 +44,7 @@ jobs:- name: Create deployment packagerun: |mkdir -p screenpipe-linux- cp target/release/pipe screenpipe-linux/screenpipe+ cp target/release/screenpipe screenpipe-linux/screenpipecp -r target/release/lib screenpipe-linux/chmod +x screenpipe-linux/screenpipetar -czvf screenpipe-linux.tar.gz screenpipe-linuxdiff --git a/README.md b/README.mdindex 4615cfd5b..d7ef75211 100644--- a/README.md+++ b/README.md@@ -61,6 +61,49 @@ Alpha: runs on my computer (`Macbook pro m3 32 GB ram`) 24/7.Keep in mind that it's still experimental.+```bash+screenpipe --list-audio-devices+# then pick one or multiple audio input+screenpipe --audio-device "Device Name (input)" [--audio-device "Another Device (input)"]+```++Audio output not supported yet, see #24.++<details>+ <summary>Examples to query the API</summary>++ ```bash+# 1. Basic search query+curl "http://localhost:3030/search?q=test&limit=5&offset=0"++# 2. Search with content type filter (OCR)+curl "http://localhost:3030/search?q=test&limit=5&offset=0&content_type=ocr"++# 3. Search with content type filter (Audio)+curl "http://localhost:3030/search?q=test&limit=5&offset=0&content_type=audio"++# 4. Search with pagination+curl "http://localhost:3030/search?q=test&limit=10&offset=20"++# 6. Search with no query (should return all results)+curl "http://localhost:3030/search?limit=5&offset=0"+ ```+</details>++Now pipe this into a LLM to build:+- memory extension apps+- automatic summaries+- automatic action triggers (say every time you see a dog, send a tweet)+- automatic CRM (fill salesforce while you do sales on linkedin)+- sync your local pkm with company's pkm (obsidian to notion for example)+- maintain cheatsheets of your customers relationships formatted as markdown table in notion+- dating app that make AI agents talk with millions of other potential mates acting like you and scheduling you weekly dates+++[Check example with vercel/ai-chatbot project (nextjs)](https://github.com/louis030195/screen-pipe/tree/main/examples/ts/vercel-ai-chatbot)++## Installation+### WindowsTBD. Own a Windows computer? [Please help us test it!](https://github.com/louis030195/screen-pipe/issues/6).@@ -99,61 +142,16 @@ cd screen-pipecargo build --release --features metal # remove "--features metal" if you do not have M series processor# sign the executable to avoid mac killing the process when it's running for too long-codesign --sign - --force --preserve-metadata=entitlements,requirements,flags,runtime ./target/release/pipe+codesign --sign - --force --preserve-metadata=entitlements,requirements,flags,runtime ./target/release/screenpipe# then run it-./target/release/pipe--# or only stream audio + speech to text to stdout-./target/release/pipe-audio--# or only stream screenshots + ocr to stdout-./target/release/pipe-vision--# or only record mp4 videos + json containing ocr-./target/release/pipe-video+./target/release/screenpipe```Struggle to get it running? [I'll install it with you in a 15 min call.](https://cal.com/louis030195/screenpipe)We are working toward [making it easier to try](https://github.com/louis030195/screen-pipe/issues/6), feel free to help!-### What's next?--<details>- <summary>Examples to query the API</summary>-- ```bash-# 1. Basic search query-curl "http://localhost:3030/search?q=test&limit=5&offset=0"--# 2. Search with content type filter (OCR)-curl "http://localhost:3030/search?q=test&limit=5&offset=0&content_type=ocr"--# 3. Search with content type filter (Audio)-curl "http://localhost:3030/search?q=test&limit=5&offset=0&content_type=audio"--# 4. Search with pagination-curl "http://localhost:3030/search?q=test&limit=10&offset=20"--# 6. Search with no query (should return all results)-curl "http://localhost:3030/search?limit=5&offset=0"- ```-</details>--Now pipe this into a LLM to build:-- memory extension apps-- automatic summaries-- automatic action triggers (say every time you see a dog, send a tweet)-- automatic CRM (fill salesforce while you do sales on linkedin)-- sync your local pkm with company's pkm (obsidian to notion for example)-- maintain cheatsheets of your customers relationships formatted as markdown table in notion-- dating app that make AI agents talk with millions of other potential mates acting like you and scheduling you weekly dates---[Check example with vercel/ai-chatbot project (nextjs)](https://github.com/louis030195/screen-pipe/tree/main/examples/ts/vercel-ai-chatbot)--## 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.diff --git a/screenpipe-server/Cargo.toml b/screenpipe-server/Cargo.tomlindex 285e74b9e..5621c128d 100644--- a/screenpipe-server/Cargo.toml+++ b/screenpipe-server/Cargo.toml@@ -72,9 +72,9 @@ tempfile = "3.3.0"static-ffmpeg = ["ffmpeg-next/static"][[bin]]-name = "pipe"+name = "screenpipe"path = "src/bin/screenpipe-server.rs"[[bin]]-name = "pipe-video"+name = "screenpipe-video"path = "src/bin/screenpipe-video.rs"diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rsindex 29f55af29..79bd568d4 100644--- a/screenpipe-server/src/bin/screenpipe-server.rs+++ b/screenpipe-server/src/bin/screenpipe-server.rs@@ -79,6 +79,7 @@ async fn main() -> anyhow::Result<()> {" {} --audio-device \"Device Name (input)\" [--audio-device \"Another Device (output)\"]",std::env::args().next().unwrap());+ eprintln!("ATM only input devices are supported");return Err(anyhow::anyhow!("No audio devices specified"));} else {// if audio device contains (output) throw error say not implemented yet and link to https://github.com/louis030195/screen-pipe/issues/24diff --git a/screenpipe-server/src/resource_monitor.rs b/screenpipe-server/src/resource_monitor.rsindex 39d24b216..13700e65c 100644--- a/screenpipe-server/src/resource_monitor.rs+++ b/screenpipe-server/src/resource_monitor.rs@@ -35,14 +35,14 @@ impl ResourceMonitor {let runtime = self.start_time.elapsed();info!(- "Runtime: {:?}, Memory: {:.2}% ({:.2} KB / {:.2} KB), CPU: {:.2}%, Open files: {}, Active threads: {}",+ "Runtime: {:?}, Memory: {:.2}% ({:.2} KB / {:.2} KB), CPU: {:.2}%",runtime,memory_usage_percent,memory_usage,total_memory,cpu_usage,- self.open_files.load(Ordering::SeqCst),- self.active_threads.load(Ordering::SeqCst)+ // self.open_files.load(Ordering::SeqCst),+ // self.active_threads.load(Ordering::SeqCst));// Check for restart conditions