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
release-app: whole new pipe system
Louis Beaumontd24fadd531b6
diff --git a/.cursorrules b/.cursorrulesindex 9129c320b..d08327bff 100644--- a/.cursorrules+++ b/.cursorrules@@ -1,11 +1,12 @@Rules:-- Coding: screenpipe is an open source positive sum endeavour that is a bridge between dull context-free AI and context aware super intelligence, this bridge is a lib, and CLI, that record screens & mics 24/7, extract OCR & STT, save to local db, connect to AI, do magic, it's written in Rust + Tauri and we write plugins (pipes) in TS + Bun. the Rust CLI is embedded as a sidecar in Tauri. it works on macos, windows, linux-- Coding: always keep my style black and white, with some nerdy style and fonts pixelated / scientific style-- Coding: do not remove @ts-ignore except if i explicitly ask you-- Coding: always use lower case for logging stuff or UI-- Coding: Rust: always use anyhow error, tokio instead of std stuff, avoid mutex if you can, prefer channels, write code easy to read for humans, fast for machines-- Coding: when i ask to give me the full code it means FULL, no fucking // rest of the code comments GIVE ME THE FULL CODE-- Coding: if it seems like you lack some context about a niche lib just ask me to provide the source code and i will (instead of providing a bad answer)-- Coding: NextJS: make sure to use tailwind, typescript, shadcn, lucide, magicui, and framer-motion to make UIs amazing-- Coding: Make sure to escape html thing like quotes etc properly. Only when necessary-- Coding: When writing react or html code make sure to use thing like ' instead of ". Only when necessary (e.g inside quote themselves)+- screenpipe is the context layer for AGI. that is a bridge between dull context-free AI and context aware super intelligence, this bridge is a lib, and CLI, that record screens & mics 24/7, extract OCR & STT, save to local db, connect to AI, do magic, it's written in Rust + Tauri and we write plugins (pipes) in TS + Bun. the Rust CLI is embedded as a sidecar in Tauri. it works on macos, windows, linux+- always keep my style black and white, with some nerdy style and fonts pixelated / scientific style+- do not remove @ts-ignore except if i explicitly ask you+- always use lower case for logging stuff or UI+- loading and error UX: avoid using toast error things - its ugly af bro, instead use empty states, spinner in buttons and correct disabled states, use skeletons when no data is available yet, use error messages in the UI, etc.+- Rust: always use anyhow error, tokio instead of std stuff, avoid mutex if you can, prefer channels, write code easy to read for humans, fast for machines+- when i ask to give me the full code it means FULL, no fucking // rest of the code comments GIVE ME THE FULL CODE+- if it seems like you lack some context about a niche lib just ask me to provide the source code and i will (instead of providing a bad answer)+- NextJS: make sure to use tailwind, typescript, shadcn, lucide, magicui, and framer-motion to make UIs amazing+- Make sure to escape html thing like quotes etc properly. Only when necessary+- When writing react or html code make sure to use thing like ' instead of ". Only when necessary (e.g inside quote themselves)diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 7cf3d21ca..acc826d53 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -182,12 +182,17 @@ this section guides you through submitting an enhancement suggestion for screen## styleguides+### use cursor rules++check [.cursorrules](.cursorrules) for more details, see any instructions we could add / remove? send a PR to update this file.+### git commit messages- use the present tense ("add feature" not "added feature")- use the imperative mood ("move cursor to..." not "moves cursor to...")- limit the first line to 72 characters or less- reference issues and pull requests liberally after the first line+- we use git commit history to generate changelog with AI, so make sure to write relevant commit messages### rust styleguide@@ -201,6 +206,8 @@ we follow [this](https://doc.rust-lang.org/cargo/guide/project-layout.html) foldAI is quite bad when files are big, we should try to keep small so we move faster (also it's nice for humans too 🤓)+**expand & distill**: iterate fast on long files, then split them up+### principles- **user fanatic: focus on building what people want and bring maximum value.**diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsxindex 1ac8852d8..eb9696f0d 100644--- a/screenpipe-app-tauri/components/pipe-store.tsx+++ b/screenpipe-app-tauri/components/pipe-store.tsx@@ -109,7 +109,6 @@ export const PipeStore: React.FC = () => {if (!settings.user?.token) return;const pipeApi = await PipeApi.create(settings.user!.token!);const purchaseHistory = await pipeApi.getUserPurchaseHistory();- console.log("purchase history", purchaseHistory);setPurchaseHistory(purchaseHistory);};@@ -232,7 +231,6 @@ export const PipeStore: React.FC = () => {onComplete?: () => void) => {try {- console.log("user", settings.user);if (!checkLogin(settings.user)) return;@@ -423,12 +421,10 @@ export const PipeStore: React.FC = () => {throw new Error(data.error);}- console.log("data", data);toast({title: `pipe ${endpoint}d`,});const installedPipes = await fetchInstalledPipes();- console.log("installedPipes", installedPipes);const pp = installedPipes?.find((p) => p.config.id === pipe.id);const port = pp?.config.port;@@ -729,8 +725,6 @@ export const PipeStore: React.FC = () => {await new Promise((resolve) => setTimeout(resolve, 1000));fetchPurchaseHistory();-- console.log("pipes", pipes);}}});diff --git a/screenpipe-app-tauri/lib/api/store/index.ts b/screenpipe-app-tauri/lib/api/store/index.tsindex f9803980e..525dd9e8a 100644--- a/screenpipe-app-tauri/lib/api/store/index.ts+++ b/screenpipe-app-tauri/lib/api/store/index.ts@@ -174,7 +174,7 @@ export class PipeApi {const data = (await response.json()) as PipeDownloadResponse;return data;} catch (error) {- console.error("error downloading pipe:", error);+ console.warn("error downloading pipe:", error);throw error;}}diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex cf1448e02..2fd156f16 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.27.1"+version = "0.27.2"description = ""authors = ["you"]license = ""