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 add source url on main page, and cleaner UX, easier to open pipes etc.
Louis Beaumont31b8ccf16bda
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsxindex f9f4b4862..97c8240b3 100644--- a/screenpipe-app-tauri/components/pipe-store.tsx+++ b/screenpipe-app-tauri/components/pipe-store.tsx@@ -82,6 +82,9 @@ export const PipeStore: React.FC = () => {?.config,has_purchased: purchaseHistory.some((p) => p.plugin_id === plugin.id),is_core_pipe: corePipes.includes(plugin.name),+ is_enabled: installedPipes.some(+ (p) => p.config?.id === plugin.id && p.config?.enabled+ ),}));const customPipes = installedPipes@@ -834,6 +837,7 @@ export const PipeStore: React.FC = () => {onPurchase={handlePurchasePipe}isLoadingPurchase={loadingPurchases.has(pipe.id)}isLoadingInstall={loadingInstalls.has(pipe.id)}+ onToggle={handleTogglePipe}/>))}</div>diff --git a/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx b/screenpipe-app-tauri/components/pipe-store/pipe-card.tsxindex f61e4ca7b..dffb11451 100644--- a/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx+++ b/screenpipe-app-tauri/components/pipe-store/pipe-card.tsx@@ -1,10 +1,18 @@import React, { useState } from "react";import { Button } from "@/components/ui/button";-import { CheckCircle, Download, Puzzle, UserIcon, Loader2 } from "lucide-react";+import {+ CheckCircle,+ Download,+ Puzzle,+ UserIcon,+ Loader2,+ Power,+} from "lucide-react";import { PipeStoreMarkdown } from "@/components/pipe-store-markdown";import { PipeWithStatus } from "./types";import { invoke } from "@tauri-apps/api/core";import { toast } from "@/components/ui/use-toast";+import { motion } from "framer-motion";interface PipeCardProps {pipe: PipeWithStatus;@@ -13,6 +21,7 @@ interface PipeCardProps {onClick: (pipe: PipeWithStatus) => void;isLoadingPurchase?: boolean;isLoadingInstall?: boolean;+ onToggle: (pipe: PipeWithStatus, onComplete: () => void) => Promise<any>;}export const PipeCard: React.FC<PipeCardProps> = ({@@ -22,6 +31,7 @@ export const PipeCard: React.FC<PipeCardProps> = ({onPurchase,isLoadingPurchase,isLoadingInstall,+ onToggle,}) => {const [isLoading, setIsLoading] = useState(false);const handleOpenWindow = async (e: React.MouseEvent) => {@@ -44,9 +54,16 @@ export const PipeCard: React.FC<PipeCardProps> = ({};return (- <div- className="group border rounded-xl p-5 hover:bg-muted/40 transition-all duration-200 cursor-pointer backdrop-blur-sm"+ <motion.div+ className="group border rounded-xl p-5 hover:bg-muted/40 has-[.no-card-hover:hover]:hover:bg-transparent transition-all duration-200 cursor-pointer backdrop-blur-sm"onClick={() => onClick(pipe)}+ initial={{ opacity: 0, scale: 0.95 }}+ animate={{ opacity: 1, scale: 1 }}+ whileHover={{+ boxShadow: "0 0 10px rgba(255,255,255,0.1)",+ transition: { duration: 0.2 },+ }}+ layout><div className="flex flex-col h-full justify-between space-y-4"><div className="flex items-start justify-between gap-4">@@ -63,17 +80,36 @@ export const PipeCard: React.FC<PipeCardProps> = ({</p></div></div>- <div className="flex items-center gap-2">+ <div className="flex items-center gap-2 isolate">{pipe.is_installed ? (- <Button- size="sm"- variant="outline"- onClick={handleOpenWindow}- className="hover:bg-muted font-medium"- >- <CheckCircle className="h-3.5 w-3.5 mr-2" />- installed- </Button>+ <>+ {!pipe.is_enabled ? (+ <Button+ size="sm"+ variant="outline"+ onClick={(e) => {+ e.stopPropagation();+ setIsLoading(true);+ onToggle(pipe, () => setIsLoading(false));+ }}+ className="hover:bg-muted font-medium relative hover:!bg-muted no-card-hover"+ disabled={isLoading}+ >+ <Power className="h-3.5 w-3.5 mr-2" />+ enable+ </Button>+ ) : (+ <Button+ size="sm"+ variant="outline"+ onClick={handleOpenWindow}+ className="hover:bg-muted font-medium no-card-hover"+ >+ <Puzzle className="h-3.5 w-3.5 mr-2" />+ open+ </Button>+ )}+ </>) : (<Buttonsize="sm"@@ -88,7 +124,7 @@ export const PipeCard: React.FC<PipeCardProps> = ({onInstall(pipe, () => setIsLoading(false));}}}- className="font-medium"+ className="font-medium no-card-hover"disabled={isLoadingPurchase}>{isLoadingPurchase ? (@@ -121,9 +157,41 @@ export const PipeCard: React.FC<PipeCardProps> = ({{pipe.plugin_analytics.downloads_count}</span>)}+ {pipe.source_code && (+ <motion.a+ href={pipe.source_code}+ target="_blank"+ rel="noopener noreferrer"+ onClick={(e) => e.stopPropagation()}+ className="inline-flex items-center gap-1 px-2 py-0.5 rounded-full bg-muted hover:bg-accent hover:text-accent-foreground transition-all duration-200 no-card-hover relative overflow-hidden"+ whileHover={{+ scale: 1.05,+ transition: {+ type: "spring",+ stiffness: 400,+ damping: 10,+ },+ }}+ whileTap={{ scale: 0.95 }}+ >+ <motion.div+ className="absolute inset-0 bg-gradient-to-r from-transparent via-white/10 to-transparent"+ initial={{ x: "-100%" }}+ whileHover={{+ x: "100%",+ transition: {+ duration: 0.6,+ ease: "easeInOut",+ },+ }}+ />+ <Download className="h-3 w-3" />+ <span className="relative z-10 font-mono">source</span>+ </motion.a>+ )}</div>)}</div>- </div>+ </motion.div>);};diff --git a/screenpipe-app-tauri/components/pipe-store/types.ts b/screenpipe-app-tauri/components/pipe-store/types.tsindex 8d449e835..14d84a57a 100644--- a/screenpipe-app-tauri/components/pipe-store/types.ts+++ b/screenpipe-app-tauri/components/pipe-store/types.ts@@ -18,6 +18,7 @@ export interface InstalledPipe {export interface PipeWithStatus extends PipeStorePlugin {is_installed: boolean;+ is_enabled: boolean;installed_config?: InstalledPipe['config'];has_purchased: boolean;is_core_pipe: boolean;diff --git a/screenpipe-app-tauri/lib/api/store/index.ts b/screenpipe-app-tauri/lib/api/store/index.tsindex 525dd9e8a..2c5be7135 100644--- a/screenpipe-app-tauri/lib/api/store/index.ts+++ b/screenpipe-app-tauri/lib/api/store/index.ts@@ -8,6 +8,7 @@ export interface PipeStorePlugin {price: number | null;status: string | null;created_at: string | null;+ source_code: string | null;developer_accounts: {developer_name: string;};diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex e2dd3327a..f3c0a4de8 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -5273,7 +5273,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "0.28.0"+version = "0.28.1"dependencies = ["anyhow","async-stream",diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f61a33a9a..8aed5bf8d 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.28.1"+version = "0.28.2"description = ""authors = ["you"]license = ""