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 docs
Louis Beaumont1c8eff54ca10
diff --git a/content/docs/pages/docs/api-reference.mdx b/content/docs/pages/docs/api-reference.mdxindex 0542b0feb..4e13d1e81 100644--- a/content/docs/pages/docs/api-reference.mdx+++ b/content/docs/pages/docs/api-reference.mdx@@ -29,6 +29,7 @@ below is the detailed api reference for screenpipe's core functionality.- `end_time` (timestamp, optional): filter by end timestamp- `app_name` (string, optional): filter by application name- `window_name` (string, optional): filter by window name+- `browser_url` (string, optional): filter by browser URL for web content- `include_frames` (bool, optional): include base64 encoded frames- `min_length` (int, optional): minimum content length- `max_length` (int, optional): maximum content length@@ -45,6 +46,9 @@ curl "http://localhost:3030/search?content_type=audio&speaker_ids=1,2"# UI elements searchcurl "http://localhost:3030/search?content_type=ui&app_name=chrome"++# Filter by browser URL+curl "http://localhost:3030/search?content_type=ocr&browser_url=github.com"```#### sample response:@@ -118,10 +122,13 @@ curl "http://localhost:3030/search?content_type=ui+audio&q=meeting"curl "http://localhost:3030/search?content_type=ocr&window_name=meeting%20notes"```-- **url filtering**: to filter by URL (for browser content), use the window_name parameter with the URL pattern+- **url filtering**: use the browser_url parameter to filter content from specific websites```bash# Filter content from a specific website- curl "http://localhost:3030/search?content_type=ocr&window_name=github.com"+ curl "http://localhost:3030/search?content_type=ocr&browser_url=github.com"++ # Filter content from a specific page+ curl "http://localhost:3030/search?content_type=ocr&browser_url=github.com/mediar-ai/screenpipe"```- **timestamp formats**: use ISO 8601 format for timestamps@@ -141,8 +148,8 @@ curl "http://localhost:3030/search?content_type=ui+audio&q=meeting"you can combine multiple filters to narrow your search:```bash-# Find "meeting" mentions in Chrome from a specific date range-curl "http://localhost:3030/search?q=meeting&content_type=ocr&app_name=chrome&start_time=2024-05-01T00:00:00Z&end_time=2024-05-02T23:59:59Z"+# Find "meeting" mentions in Chrome from a specific website and date range+curl "http://localhost:3030/search?q=meeting&content_type=ocr&app_name=chrome&browser_url=zoom.us&start_time=2024-05-01T00:00:00Z&end_time=2024-05-02T23:59:59Z"```#### pagination best practicesdiff --git a/content/docs/pages/docs/sdk-reference.mdx b/content/docs/pages/docs/sdk-reference.mdxindex 64900aa7a..8cfdd7cef 100644--- a/content/docs/pages/docs/sdk-reference.mdx+++ b/content/docs/pages/docs/sdk-reference.mdx@@ -88,7 +88,8 @@ const results = await pipe.queryScreenpipe({minLength: 10,maxLength: 1000,speakerIds: [1, 2],- frameName: "screenshot.png"+ frameName: "screenshot.png",+ browserUrl: "github.com/mediar-ai/screenpipe" // Filter by browser URL})```@@ -195,6 +196,59 @@ for (const item of results.data) {console.log(timelineByHour)```+#### fetching website-specific content++```typescript+/**+ * Retrieves all content captured from a specific website+ * This is useful for aggregating research materials or tracking+ * activity on particular web applications+ */+async function getWebsiteCaptures(domain: string, days = 7) {+ const startTime = new Date(Date.now() - days * 24 * 60 * 60 * 1000).toISOString();+ const endTime = new Date().toISOString();++ const results = await pipe.queryScreenpipe({+ browserUrl: domain, // Target specific website+ contentType: "ocr", // Get both visual content and UI elements+ startTime,+ endTime,+ limit: 100,+ includeFrames: true // Include screenshots+ });++ // Process and analyze the results+ const captures = results.data.map(item => {+ const timestamp = new Date(+ item.type === "OCR" ? item.content.timestamp : item.content.timestamp+ );++ return {+ timestamp,+ date: timestamp.toLocaleDateString(),+ time: timestamp.toLocaleTimeString(),+ type: item.type,+ content: item.type === "OCR" ? item.content.text : item.content.text,+ screenshot: item.type === "OCR" && item.content.frame ? item.content.frame : null,+ url: item.type === "OCR" ? item.content.browserUrl : item.content.browserUrl+ };+ });++ return captures;+}++// Example: Get all GitHub activity from the past week+const githubActivity = await getWebsiteCaptures("github.com");+console.log(`Found ${githubActivity.length} interactions with GitHub`);++// Example: Search for specific text within a website+const searchTerm = "pull request";+const pullRequests = githubActivity.filter(item =>+ item.content.toLowerCase().includes(searchTerm.toLowerCase())+);+console.log(`Found ${pullRequests.length} pull request interactions`);+```+### input control apirequires building the backend with the `experimental` feature flag.diff --git a/pipes/obsidian/obsidian-0.1.28.zip b/pipes/obsidian/obsidian-0.1.28.zipnew file mode 100644index 000000000..73cc5ff66Binary files /dev/null and b/pipes/obsidian/obsidian-0.1.28.zip differ