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
fix(build): add move keyword to setup closure for sidecar_state_for_init
Louis Beaumont7bdb08128af2
diff --git a/Cargo.lock b/Cargo.lockindex 5f4a2c904..1fa63b9d8 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -6332,7 +6332,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"[[package]]name = "screenpipe-audio"-version = "0.2.76"+version = "0.2.77"dependencies = ["anyhow","bytemuck",@@ -6385,7 +6385,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.2.76"+version = "0.2.77"dependencies = ["accessibility","accessibility-sys 0.2.0",@@ -6428,7 +6428,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.2.76"+version = "0.2.77"dependencies = ["anyhow","chrono",@@ -6450,7 +6450,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.2.76"+version = "0.2.77"dependencies = ["anyhow","chrono",@@ -6468,7 +6468,7 @@ dependencies = [[[package]]name = "screenpipe-integrations"-version = "0.2.76"+version = "0.2.77"dependencies = ["anyhow","image 0.25.5",@@ -6483,7 +6483,7 @@ dependencies = [[[package]]name = "screenpipe-server"-version = "0.2.76"+version = "0.2.77"dependencies = ["anyhow","axum",@@ -6546,7 +6546,7 @@ dependencies = [[[package]]name = "screenpipe-vision"-version = "0.2.76"+version = "0.2.77"dependencies = ["accessibility-sys 0.1.3","anyhow",diff --git a/README-ja.md b/README-ja.mdindex 7a8471126..441feacae 100644--- a/README-ja.md+++ b/README-ja.md@@ -1,130 +1,99 @@-<p align="center">- <a href="README.md">English</a> | <a href="README-zh_CN.md">简体中文</a> | 日本語-</p>+<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=c3628864-a0cb-47a1-a822-2f936cff50b2" /><p align="center">- <a href="https://screenpi.pe">- <img src="https://github.com/user-attachments/assets/d3b1de26-c3c0-4c84-b9c4-b03213b97a30" alt="ロゴ" width="200">+ <a href ="https://screenpi.pe">+ <img src="https://github.com/user-attachments/assets/d3b1de26-c3c0-4c84-b9c4-b03213b97a30" alt="logo" width="200"></a></p>-<p align="center" style="font-family: 'Press Start 2P', monospace;">- <h1 align="center">[ screenpipe ]</h1>- <p align="center">AIアプリを構築、配布、収益化するためのライブラリ&プラットフォーム(Rewind、Granolaなどと同様)</p>- <p align="center">オープンソース | 100% ローカル | 開発者フレンドリー | 24/7画面、マイク、キーボードの記録と制御</p>+<p align="center">+ <a href="README.md">English</a> | <a href="README-zh_CN.md">简体中文</a> | <a href="README-ja.md">日本語</a></p>-<p align="center" style="font-family: monospace;">- <code>[ ピクセル単位で現実を記録する ]</code>-</p>+<h1 align="center">[ screenpipe ]</h1>+++<p align="center">デスクトップの24時間メモリー</p>+<p align="center">オープンソース版 rewind。100% ローカル。データはあなたのもの。</p>++<p align="center">- <a href="https://screenpi.pe" target="_blank">- <img src="https://img.shields.io/badge/Download%20The-Desktop%20App-blue?style=for-the-badge" alt="デスクトップアプリをダウンロード">- </a>+ <a href ="https://screenpi.pe">+ <img src="https://github.com/user-attachments/assets/c88d218e-40a7-405d-b419-eec1553ea287" alt="logo" width="800">+ </a></p><p align="center">- <a href="https://www.youtube.com/@mediar_ai" target="_blank">- <img alt="YouTubeチャンネル登録者数" src="https://img.shields.io/youtube/channel/subscribers/UCwjkpAsb70_mENKvy7hT5bw">+ <a href="https://screenpi.pe" target="_blank">+ <img src="https://img.shields.io/badge/ダウンロード-デスクトップアプリ-black?style=for-the-badge" alt="ダウンロード">+ </a>+ <a href="https://github.com/mediar-ai/screenpipe/raw/main/screenpipe-integrations/screenpipe-mcp/screenpipe-mcp.mcpb" target="_blank">+ <img src="https://img.shields.io/badge/インストール-Claude%20拡張機能-D97706?style=for-the-badge&logo=anthropic&logoColor=white" alt="claude拡張機能をインストール"></a></p><p align="center"><a href="https://discord.gg/dU9EBuw7Uq">- <img src="https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white&style=flat-square" alt="Discordに参加">+ <img src="https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white&style=flat-square" alt="discord">+ </a>+ <a href="https://twitter.com/screen_pipe">+ <img alt="x" src="https://img.shields.io/twitter/url/https/twitter.com/diffuserslib.svg?style=social&label=フォロー%20%40screen_pipe"></a>- <a href="https://twitter.com/screen_pipe"><img alt="Xアカウント" src="https://img.shields.io/twitter/url/https/twitter.com/diffuserslib.svg?style=social&label=Follow%20%40screen_pipe"></a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=completed">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dcompleted" alt="報酬付きバウンティ">- </a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=open">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dopen" alt="オープンバウンティ">- </a></p>-<p align="center">- <img width="1312" alt="スクリーンショット1" src="https://github.com/user-attachments/assets/26b2986d-01aa-43de-acf0-375a72752894" />- <img width="1312" alt="スクリーンショット2" src="https://github.com/user-attachments/assets/0da6e948-4fa2-48ab-b18c-d8fbd1246261" />- <img width="1142" alt="スクリーンショット3" src="https://github.com/user-attachments/assets/5b6f7015-b522-4894-a0d7-d91d648895f5" />- <img width="1312" alt="スクリーンショット4" src="https://github.com/user-attachments/assets/08f1d8bd-803e-4cc5-8b8f-ad33bfebfd7e" />-</p>+<br>-----*ニュース* 🔥-- [2025/01] Different AIと提携し、[画面に基づく金融自動化](https://github.com/different-ai/hypr-v0)と[Obsidian内のGranola代替](https://github.com/different-ai/file-organizer-2000)を提供-- [2024/12] パイプストアにStripe連携: 開発者は数行のJSで収益化(Reddit、LinkedIn、タイムラインエージェントなど)-- [2024/11] [GitHubトレンド1位に再び選出](https://x.com/louis030195/status/1859628763425931479)-- [2024/10] [Founders, Inc.](https://f.inc/)から支援を受ける-- [2024/09] [GitHubトレンド1位、Hacker Newsに掲載!](https://x.com/louis030195/status/1840859691754344483)-- [2024/08] アプリインターフェースからGitHubリポジトリ/ディレクトリに基づいて[パイプの作成、共有、インストール](https://docs.screenpi.pe/docs/plugins)が可能に-- [2024/08] バウンティプログラム開始!ScreenPipeに貢献して収益を得られます。[課題を確認](https://github.com/mediar-ai/screenpipe/issues)-- [2024/08] Apple & Windows ネイティブOCRをリリース-- [2024/07] 🎁 AGI Houseのハッカソンでスクリーンパイプが受賞(近日統合予定)-- [2024/07] **デスクトップアプリをリリース! [今すぐダウンロード!](https://screenpi.pe)**+-----# どうやって動くの?--- 24時間365日、100%ローカルで記録(CPU使用率10%、メモリ4GB、月15GB)-- APIで索引化-- 開発者はユーザーの完全なコンテキストを持つAIアプリをデスクトップネイティブ、Next.js環境で構築、公開、収益化--<img src="./content/diagram2.png" width="800" />--<img src="https://github.com/user-attachments/assets/da5b8583-550f-4a1f-b211-058e7869bc91" width="400" />--# なぜ必要なの?--1. コンテキストは知能の暗黒物質-2. 記録していない1秒1秒がAGIにとって欠落したコンテキスト+----## 始め方+## これは何?-macOS、Linux:+screenpipeは画面と音声を24時間365日録画し、すべてをローカルに保存し、デジタル履歴をAIに接続できます。-```bash-curl -fsSL raw.githubusercontent.com/mediar-ai/screenpipe/main/install.sh | sh+```+┌─────────────────────────────────────────┐+│ 画面 + 音声 → ローカル保存 → AI │+└─────────────────────────────────────────┘```-Windowsの場合+- **すべてを記憶** - 見たこと、聞いたこと、やったことを忘れない+- **AIで検索** - 自然言語で何でも検索+- **100% ローカル** - データはあなたのマシンから出ない+- **オープンソース** - 検査、変更、所有が可能-```bash-irm https://raw.githubusercontent.com/mediar-ai/screenpipe/main/install.ps1 | iex-```+## インストール-その後+macOS、Linux:```bash+curl -fsSL get.screenpi.pe/cli | shscreenpipe```-macOSでは画面とマイクの許可を必ず設定してください--- [デスクトップアプリをダウンロード](https://screenpi.pe/)-- [ドキュメント & ソースからビルド](https://docs.screenpi.pe/getting-started)--## プラグインの作成+Windows:```bash-bunx --bun @screenpipe/dev@latest pipe create+iwr get.screenpi.pe/cli.ps1 | iex+screenpipe```-ScreenPipeには「パイプ」と呼ばれるプラグインシステムがあり、Rustコード内のサンドボックス環境でNext.jsデスクトップアプリを作成できます。[詳細はこちら](https://docs.screenpi.pe/plugins)+または[デスクトップアプリをダウンロード](https://screenpi.pe)-## スター履歴+## スペック-+- CPU使用率 10%+- RAM 4GB+- ストレージ 約15GB/月+- オフライン動作可能-## コントリビューション--貢献を歓迎します!貢献したい方は [CONTRIBUTING.md](CONTRIBUTING.md) をお読みください。+---- <a href="https://console.algora.io/org/mediar-ai/bounties?status=completed">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dcompleted" alt="報酬付きバウンティ">- </a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=open">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dopen" alt="オープンバウンティ">- </a>+<p align="center">+ <a href="https://docs.screenpi.pe">ドキュメント</a> ·+ <a href="https://discord.gg/dU9EBuw7Uq">discord</a> ·+ <a href="https://twitter.com/screen_pipe">x</a>+</p>diff --git a/README-zh_CN.md b/README-zh_CN.mdindex 284587ba5..6a9b9c3fe 100644--- a/README-zh_CN.md+++ b/README-zh_CN.md@@ -1,3 +1,5 @@+<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=c3628864-a0cb-47a1-a822-2f936cff50b2" />+<p align="center"><a href ="https://screenpi.pe"><img src="https://github.com/user-attachments/assets/d3b1de26-c3c0-4c84-b9c4-b03213b97a30" alt="logo" width="200">@@ -8,113 +10,90 @@<a href="README.md">English</a> | <a href="README-zh_CN.md">简体中文</a> | <a href="README-ja.md">日本語</a></p>-<!-- ScreenPipe 标题和副标题 -->-<p align="center" style="font-family: 'Press Start 2P', monospace;">- <h1 align="center">[ screenpipe ]</h1>- <p align="center">一个获取所有用户桌面数据的API(本地、跨平台、全天候、屏幕、语音、键盘、鼠标、摄像头录制)</p>- <p align="center">沙盒化的JS插件系统,键盘和鼠标控制</p>-</p>+<h1 align="center">[ screenpipe ]</h1>+++<p align="center">桌面的 24/7 记忆</p>+<p align="center">开源版 rewind。100% 本地运行。数据完全属于你。</p>+-<!-- 标语 -->-<p align="center" style="font-family: monospace;">- <code>[ 一次记录一个像素的现实 ]</code>-</p><p align="center">- <a href="https://screenpi.pe" target="_blank">- <img src="https://img.shields.io/badge/下载-桌面应用-blue?style=for-the-badge" alt="下载桌面应用">- </a>+ <a href ="https://screenpi.pe">+ <img src="https://github.com/user-attachments/assets/c88d218e-40a7-405d-b419-eec1553ea287" alt="logo" width="800">+ </a></p><p align="center">- <a href="https://www.youtube.com/@mediar_ai" target="_blank">- <img alt="YouTube频道订阅者" src="https://img.shields.io/youtube/channel/subscribers/UCwjkpAsb70_mENKvy7hT5bw">+ <a href="https://screenpi.pe" target="_blank">+ <img src="https://img.shields.io/badge/下载-桌面应用-black?style=for-the-badge" alt="下载">+ </a>+ <a href="https://github.com/mediar-ai/screenpipe/raw/main/screenpipe-integrations/screenpipe-mcp/screenpipe-mcp.mcpb" target="_blank">+ <img src="https://img.shields.io/badge/安装-Claude%20扩展-D97706?style=for-the-badge&logo=anthropic&logoColor=white" alt="安装 claude 扩展"></a></p><p align="center"><a href="https://discord.gg/dU9EBuw7Uq">- <img src="https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white&style=flat-square" alt="加入Discord">+ <img src="https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white&style=flat-square" alt="discord">+ </a>+ <a href="https://twitter.com/screen_pipe">+ <img alt="x" src="https://img.shields.io/twitter/url/https/twitter.com/diffuserslib.svg?style=social&label=关注%20%40screen_pipe"></a>- <a href="https://twitter.com/screen_pipe"><img alt="X账号" src="https://img.shields.io/twitter/url/https/twitter.com/diffuserslib.svg?style=social&label=关注%20%40screen_pipe"></a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=completed">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dcompleted" alt="已完成的赏金">- </a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=open">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dopen" alt="开放的赏金">- </a></p>------*新闻* 🔥-- [2024/12] pipe商店stripe集成:开发者用几行JS代码构建酷炫功能并获得被动收入(已有Loom pipe)-- [2024/11] [screenpipe再次成为GitHub趋势榜第一](https://x.com/louis030195/status/1859628763425931479)-- [2024/10] screenpipe获得[Founders, Inc](https://f.inc/)支持-- [2024/09] [screenpipe登上GitHub趋势榜第一并登上Hacker News!](https://x.com/louis030195/status/1840859691754344483)-- [2024/08] 现在任何人都可以通过应用界面基于GitHub仓库/目录[创建、分享、安装pipes](https://docs.screenpi.pe/plugins)(插件)-- [2024/08] 我们正在进行赏金计划!为screenpipe做贡献并赚钱,[查看issues](https://github.com/mediar-ai/screenpipe/issues)-- [2024/08] 我们发布了Apple和Windows原生OCR-- [2024/07] 🎁 screenpipe在AGI House赢得Friends(AI项链)黑客马拉松(即将推出集成)-- [2024/07] **我们刚刚发布了桌面应用**+<br>------# 工作原理--我们每天都在更新,欢迎提出建议、报告bug、[提供反馈](mailto:[email protected]?subject=Screenpipe%20反馈&body=我想使用Screenpipe来...%0D%0A%0D%0A我遇到的问题是...%0D%0A%0D%0A我们也可以通过视频通话交流,预约时间:https://cal.com/louis030195/screenpipe)。-+--# 为什么要用?--每一秒不记录都是AGI缺失的上下文+----## 开始使用+## 这是什么?-macOS, Linux:+screenpipe 全天候录制你的屏幕和音频,所有数据存储在本地,让你将数字历史与 AI 连接起来。-```bash-brew install screenpipe+```+┌─────────────────────────────────────────┐+│ 屏幕 + 音频 → 本地存储 → AI │+└─────────────────────────────────────────┘```-Windows:+- **记住一切** - 永远不会忘记你看到、听到或做过的事情+- **AI 搜索** - 用自然语言查找任何内容+- **100% 本地** - 你的数据永远不会离开你的设备+- **开源** - 可检查、可修改、完全拥有-```bash-irm https://raw.githubusercontent.com/mediar-ai/screenpipe/main/install.ps1 | iex-```+## 安装-然后运行:+macOS、Linux:```bash+curl -fsSL get.screenpi.pe/cli | shscreenpipe```-- [获取桌面应用](https://screenpi.pe/)-- [文档和源码构建](https://docs.screenpi.pe/docs/getting-started)--## 创建插件+Windows:```bash-bunx --bun @screenpipe/dev@latest pipe create+iwr get.screenpi.pe/cli.ps1 | iex+screenpipe```-screenpipe有一个名为"pipe"的插件系统,允许你在Rust代码的沙盒环境中运行代码,[了解更多](https://docs.screenpi.pe/plugins)+或者[下载桌面应用](https://screenpi.pe)-## Star历史+## 配置要求-+- 10% CPU 使用率+- 4GB 内存+- 约 15GB 存储/月+- 支持离线运行-## 贡献--欢迎贡献!如果你想贡献,请阅读[CONTRIBUTING.md](CONTRIBUTING.md)。+---- <a href="https://console.algora.io/org/mediar-ai/bounties?status=completed">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dcompleted" alt="已完成的赏金">- </a>- <a href="https://console.algora.io/org/mediar-ai/bounties?status=open">- <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2Fmediar-ai%2Fbounties%3Fstatus%3Dopen" alt="开放的赏金">- </a>-</p>+<p align="center">+ <a href="https://docs.screenpi.pe">文档</a> ·+ <a href="https://discord.gg/dU9EBuw7Uq">discord</a> ·+ <a href="https://twitter.com/screen_pipe">x</a>+</p>diff --git a/screenpipe-server/src/video_utils.rs b/screenpipe-server/src/video_utils.rsindex 8bd9006e7..d43e57f01 100644--- a/screenpipe-server/src/video_utils.rs+++ b/screenpipe-server/src/video_utils.rs@@ -569,7 +569,8 @@ pub async fn extract_frame_from_video(file_path: &str, offset_index: i64) -> Res}};- let offset_seconds = offset_index as f64 * source_fps;+ // Convert frame index to seconds: frame_time = frame_index / fps+ let offset_seconds = offset_index as f64 / source_fps;let offset_str = format!("{:.3}", offset_seconds);// Create a temporary directory for frames if it doesn't exist@@ -673,7 +674,8 @@ pub async fn extract_high_quality_frame(}};- let frame_time = offset_index as f64 * source_fps;+ // Convert frame index to seconds: frame_time = frame_index / fps+ let frame_time = offset_index as f64 / source_fps;let frame_filename = format!("frame_{}_{}.png",