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
small sunday stuff
Louis Beaumontd0d0ba3ebb99
diff --git a/content/docs/pages/docs/plugins.mdx b/content/docs/pages/docs/plugins.mdxindex 57b616982..c2a2b8c87 100644--- a/content/docs/pages/docs/plugins.mdx+++ b/content/docs/pages/docs/plugins.mdx@@ -5,12 +5,14 @@ import MotionDiv from '@/components/motion-div';<MotionDiv>an essential part of screenpipe is that it is extensible, providing powerful extensibility through custom workflows that interact with captured screen and audio data. whether you need to tag activities, generate summaries, or send data to third-party services, plugins allow you to tailor screenpipe to your specific needs.-plugins in screenpipe are categorized into 2 types:+ plugins in screenpipe are categorized into 2 types:-- **pipes**: these are plugins with native integration with screenpipe. they can run within the cli/lib/app without the need for manual execution. they run in a sandboxed environment, and can be written in Typescript or Javascript.-- **standalone scripts**: these are independent scripts that need to be run separately and may require additional setup.+ - **pipes**: these are plugins with native integration with screenpipe. they can run within the cli/lib/app without the need for manual execution. they run in a sandboxed environment, and can be written in Typescript or Javascript.+ - **standalone scripts**: these are independent scripts that need to be run separately and may require additional setup.</MotionDiv>+---+# 1. pipes## overview of pipes@@ -46,7 +48,7 @@ plugins in screenpipe are categorized into 2 types:screenpipe```-this simple pipe will stream text to local markdown files in current directory.+ this simple pipe will stream text to local markdown files in current directory.</MotionDiv>@@ -78,13 +80,142 @@ this simple pipe will stream text to local markdown files in current directory.screenpipe's plugin system, referred to as **pipes**, allows you to create customized pipes that automate workflows. these pipes can process, annotate, analyze, summarize, or integrate your screen and audio data with other tools.-users can begin by cloning an existing pipe, such as [pipe-email-daily-log](https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-email-daily-log). you can use any javascript/typescript to build your use case, from simple to highly advanced. the primary requirement is that the pipe folder must contain a file named `pipe.js` or `pipe.ts`.+users can begin by cloning an existing pipe, such as [pipe-post-questions-on-reddit](https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-post-questions-on-reddit). you can use any javascript/typescript to build your use case, from simple to highly advanced. the primary requirement is that the pipe folder must contain a file named `pipe.js` or `pipe.ts`.```bashgit clone https://github.com/mediar-ai/screenpipe.git-cp -r screenpipe/examples/typescript/pipe-email-daily-log screenpipe/examples/typescript/my-pipe+cp -r screenpipe/examples/typescript/pipe-post-questions-on-reddit screenpipe/examples/typescript/my-pipe+```++we use Deno to run the pipe within the Rust codebase.++check official [deno docs](https://deno.com/manual/basics) for more details on installing and running Deno.++### configuring pipes++we use `pipe.json` to let others pass configuration options to your pipe through the UI or CLI.++we parse your `pipe.json` file to render in the UI the input fields for your pipe so you need to follow the format.++here's my `pipe.json` for the pipe-post-questions-on-reddit:++```json+{+ "fields": [+ {+ "default": 60,+ "description": "Interval in seconds to read your screen data and extract structured logs (will be used to summarize and send an email). Increase this value if using audio.",+ "name": "interval",+ "type": "number"+ },+ {+ "default": "daily",+ "description": "Frequency of summary emails: 'daily' for once a day at emailTime, or 'hourly:X' for every X hours (e.g., 'hourly:4' for every 4 hours)",+ "name": "summaryFrequency",+ "type": "string",+ "value": "hourly:1"+ },+ {+ "default": "11:00",+ "description": "Time to send daily summary email (used only if summaryFrequency is 'daily')",+ "name": "emailTime",+ "type": "time"+ },+ {+ "default": "",+ "description": "Email address to send the daily summary to",+ "name": "emailAddress",+ "type": "string",+ "value": "[email protected]"+ },+ {+ "default": "",+ "description": "App specific password for your gmail account, https://support.google.com/accounts/answer/185833?hl=en",+ "name": "emailPassword",+ "type": "string",+ "value": "abcd"+ },+ {+ "default": "https://api.openai.com/v1/chat/completions",+ "description": "openai-compatible API URL",+ "name": "gptApiUrl",+ "type": "string"+ },+ {+ "default": "gpt-4o",+ "description": "AI Model name",+ "name": "gptModel",+ "type": "string"+ },+ {+ "default": "",+ "description": "Your OpenAI API key",+ "name": "openaiApiKey",+ "type": "string",+ "value": "sk-proj-1234567890"+ },+ {+ "default": 100,+ "description": "Number of records to retrieve from screenpipe per page for structured extraction, keep in mind LLMs have a context window limit. Increase this value if using audio.",+ "name": "pageSize",+ "type": "number"+ },+ {+ "default": "",+ "description": "additional prompt for the AI assistant that will be used to extract information from the screen data every specified amount of minutes",+ "name": "dailylogPrompt",+ "type": "string",+ "value": "make sure to extract tags, topics, and short summary of what i do at that time"+ },+ {+ "default": "",+ "description": "additional prompt for the AI assistant that will be used to generate a list of questions to post on reddit based on the logs previously extracted",+ "name": "customPrompt",+ "type": "string",+ "value": "make sure to generate posts of reasonable length, optimised for attention, providing value, triggering conversations"+ },+ {+ "default": "",+ "description": "Specific window name to filter the screen data, for example 'gmail', 'john', 'slack', 'myCodeFile.tsx', etc. this will filter out audio",+ "name": "windowName",+ "type": "window"+ },+ {+ "default": "all",+ "description": "Type of content to analyze: 'ocr', 'audio', or 'all'. OCR usually contains more content, so it's recommended to choose either OCR or audio rather than 'all' for better performance.",+ "name": "contentType",+ "type": "contentType"+ }+ ],+}+```+++### running pipes++for quick dev, run your pipe locally using deno:++```bash+cd path/to/your/pipe+deno run --allow-read --allow-write --allow-net --allow-env pipe.ts```+**environment variables**: ensure the following environment variables are set for your pipe:++- `SCREENPIPE_DIR`: the directory where screenpipe is installed.+- `PIPE_ID`: the unique identifier for your pipe.+- `PIPE_FILE`: the main file of your pipe (e.g., `pipe.ts`).+- `PIPE_DIR`: the directory of your pipe.++**example**:++````bash+export SCREENPIPE_DIR="/path/to/screenpipe"+export PIPE_ID="my-pipe"+export PIPE_FILE="pipe.ts"+export PIPE_DIR="/path/to/screenpipe/pipes/my-pipe"+````+once the pipe is ready, follow these steps to make it work with `screenpipe`:- **download the pipe** (from local or github url):@@ -97,23 +228,46 @@ once the pipe is ready, follow these steps to make it work with `screenpipe`:screenpipe pipe enable pipe-name```-this setup enables the creation of countless workflows tailored to specific needs, automating tedious or complex tasks.+- **run the pipe** (restart screenpipe):+ ```bash+ screenpipe+ ```++you can also use the UI to download and enable your pipe (add the path or URL, click the button, enable, config, restart screenpipe).++### screenpipe-js SDK++cool stuff:+- `pipe.inbox.send` to send AI messages to the user and ask for confirmation before any dangerous actions.+- `pipe.sendDesktopNotification` to send a desktop notification to the user.+- `pipe.queryScreenpipe` to query the screenpipe data.-you can also load & enable pipes from the app UI, go to pipe store, and click relevant buttons.+etc.++[checkout the special api for interacting with screenpipe.](https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/main.ts)+++### closing thoughts++think of pipes like a local Zapier which costs 10x less, 10x less friction because you don't need to authenticate etc.+and with the full context of your screen and audio data.please send a PR with your pipe to the repo, we will review and merge it!we also do bounties for new pipes, or if you talk about screenpipe on social media, we give $100+!-also we would love to build integration with Stripe, etc. so you can create a paid pipe for example and-we would be happy to help you make money!+we're working on integration with Stripe, to allow you to monetize your pipes, feel free to reach out for early access.++[[email protected]](mailto:[email protected])-### tips & hacks+### outro+- we use deno to run the pipe within the Rust codebase.- you can use `pipe.json` to let others pass configuration options to your pipe through the UI or CLI.- pipes have access to a special API that allows you to interact with your computer or special features like sending notifications, sending emails, etc.-- check this [file](https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-core/src/deno/runtime.js) for more details.-- in general we recommend using local LLMs like ollama as the data can be large and sensitive.+- check this [file](https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-core/src/pipes.rs) for more details on impl.+- in general we recommend using local LLMs like ollama as the data can be large and sensitive and JSON outputs.+- we recommend using [vercel ai sdk](https://github.com/vercel/ai) for faster dev.- deno caches dependencies and sometimes need to clear/reload cache### known limitationsdiff --git a/screenpipe-app-tauri/app/globals.css b/screenpipe-app-tauri/app/globals.cssindex 0b46ea13c..73dad61b1 100644--- a/screenpipe-app-tauri/app/globals.css+++ b/screenpipe-app-tauri/app/globals.css@@ -33,6 +33,16 @@--ring: 240 10% 3.9%;--radius: 0.5rem;++ --color-1: 0 100% 63%;++ --color-2: 270 100% 63%;++ --color-3: 210 100% 63%;++ --color-4: 195 100% 63%;++ --color-5: 90 100% 63%;}.dark {@@ -63,6 +73,11 @@--border: 240 3.7% 15.9%;--input: 240 3.7% 15.9%;--ring: 240 4.9% 83.9%;+ --color-1: 0 100% 63%;+ --color-2: 270 100% 63%;+ --color-3: 210 100% 63%;+ --color-4: 195 100% 63%;+ --color-5: 90 100% 63%;}}diff --git a/screenpipe-app-tauri/components/onboarding.tsx b/screenpipe-app-tauri/components/onboarding.tsxindex 246a1accd..2b5147676 100644--- a/screenpipe-app-tauri/components/onboarding.tsx+++ b/screenpipe-app-tauri/components/onboarding.tsx@@ -11,7 +11,6 @@ import OnboardingDevOrNonDev from "@/components/onboarding/dev-or-non-dev";import OnboardingDevConfig from "@/components/onboarding/dev-configuration";import OnboardingSelection from "@/components/onboarding/usecases-selection";import OnboardingInstructions from "@/components/onboarding/explain-instructions";-import OnboardingExperimentalFeatures from "@/components/onboarding/features-experimental";import { useOnboarding } from "@/lib/hooks/use-onboarding";const setFirstTimeUserFlag = async () => {@@ -27,8 +26,7 @@ type SlideKey =| "devOrNonDev"| "devConfig"| "pipes"- | "instructions"- | "experimentalFeatures";+ | "instructions";const slideFlow: Record<SlideKey,@@ -116,7 +114,7 @@ const slideFlow: Record<},instructions: {// instructions for every type of user- next: () => "experimentalFeatures",+ next: () => null,prev: (selectedOptions, selectedPreference, selectedPersonalization) => {if (selectedPreference === "devMode") return "pipes";if (selectedOptions?.includes("personalUse")) return "personalize";@@ -126,11 +124,6 @@ const slideFlow: Record<return "devOrNonDev";},},- experimentalFeatures: {- // experimental features- next: () => null,- prev: () => "instructions",- },};const Onboarding: React.FC = () => {@@ -253,7 +246,7 @@ const Onboarding: React.FC = () => {return (<Dialog open={showOnboarding} onOpenChange={handleDialogClose}><DialogContent className="max-w-4xl h-[640px] max-h-[100vh]">- <div className="relative w-full h-full overflow-hidden">+ <div className="flex flex-col w-full h-full overflow-hidden">{currentSlide === "intro" && (<OnboardingIntroclassName={`transition-opacity duration-300diff --git a/screenpipe-app-tauri/components/onboarding/api-setup.tsx b/screenpipe-app-tauri/components/onboarding/api-setup.tsxindex 4386e5da1..12295b88f 100644--- a/screenpipe-app-tauri/components/onboarding/api-setup.tsx+++ b/screenpipe-app-tauri/components/onboarding/api-setup.tsx@@ -22,12 +22,11 @@ interface OnboardingAPISetupProps {handlePrevSlide: () => void;}-const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({+const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({className,handleNextSlide,handlePrevSlide,}) => {-const { toast } = useToast();const { settings, updateSettings } = useSettings();const [localSettings, setLocalSettings] = React.useState(settings);@@ -59,33 +58,38 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({setAreAllInputsFilled(aiUrl.trim() !== "" && openaiApiKey.trim() !== "" && aiModel.trim() !== "");- }, [localSettings])-+ }, [localSettings]);+const validateInputs = async () => {const { aiUrl, openaiApiKey, aiModel } = localSettings;- const newErrors: {[key: string]: string } = {};+ const newErrors: { [key: string]: string } = {};try {new URL(aiUrl);const apiKeyValidationResponse = await fetch(`${aiUrl}/models`, {- method: 'GET',+ method: "GET",headers: {- 'Authorization': `Bearer ${openaiApiKey}`,+ Authorization: `Bearer ${openaiApiKey}`,},});if (apiKeyValidationResponse.ok) {try {- const modelValidationResponse = await fetch(`${aiUrl}/models/${aiModel}`, {- method: 'GET',- headers: {- 'Authorization': `Bearer ${openaiApiKey}`,- },- });+ const modelValidationResponse = await fetch(+ `${aiUrl}/models/${aiModel}`,+ {+ method: "GET",+ headers: {+ Authorization: `Bearer ${openaiApiKey}`,+ },+ }+ );if (!modelValidationResponse.ok) {- const contentType = modelValidationResponse.headers.get('content-type');- let errorMessage = 'unknown error';- if (contentType && contentType.includes('application/json')) {+ const contentType =+ modelValidationResponse.headers.get("content-type");+ let errorMessage = "unknown error";+ if (contentType && contentType.includes("application/json")) {const errorJson = await modelValidationResponse.json();- errorMessage = errorJson.error?.message || JSON.stringify(errorJson);+ errorMessage =+ errorJson.error?.message || JSON.stringify(errorJson);} else {errorMessage = await modelValidationResponse.text();}@@ -95,9 +99,10 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({errors.aiModel = `failed to validate ai model, please make sure ai url & api key is correct: ${error.message.toLowerCase()}`;}} else {- const contentType = apiKeyValidationResponse.headers.get('content-type');- let errorMessage = 'unknown error';- if (contentType && contentType.includes('application/json')) {+ const contentType =+ apiKeyValidationResponse.headers.get("content-type");+ let errorMessage = "unknown error";+ if (contentType && contentType.includes("application/json")) {const errorJson = await apiKeyValidationResponse.json();errorMessage = errorJson.error?.message || JSON.stringify(errorJson);} else {@@ -115,21 +120,21 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({title: "api key validation error",description: newErrors[key],variant: "destructive",- })+ });});return Object.keys(newErrors).length === 0;};-+const handleValidationMoveNextSlide = async () => {- setIsValidating(true)+ setIsValidating(true);const isValid = await validateInputs();- setIsValidating(false)+ setIsValidating(false);if (isValid) {toast({title: "success",description: "ai setup completed successfully",variant: "default",- })+ });handleNextSlide();}};@@ -140,22 +145,17 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({return (<div className={`flex h-[80%] flex-col ${className}`}>- <DialogHeader- className={`flex justify-center items-center`}- >- <div className="w-full !mt-[-10px] inline-flex justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="font-bold text-[28px] text-balance">- add api key to use ai-enhanced summarization+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ setup your ai settings</DialogTitle></DialogHeader>- <Card className="mt-2">+ <Card className="mt-4"><CardHeader><CardTitle className="text-center">setup api key</CardTitle></CardHeader>@@ -257,9 +257,7 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({</Card><aonClick={() =>- open(- "https://github.com/ollama/ollama?tab=readme-ov-file#ollama",- )+ open("https://github.com/ollama/ollama?tab=readme-ov-file#ollama")}href="#"className="mt-4 text-muted-foreground text-sm mr-auto ml-auto !text-center hover:underline"@@ -267,24 +265,18 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({don't have api key ? set up ollama locally<ArrowUpRight className="inline w-4 h-4 ml-1 " /></a>- <OnboardingNavigation+ <OnboardingNavigationclassName="mt-8"isLoading={isValidating}handlePrevSlide={handlePrevSlide}handleNextSlide={- areAllInputsFilled- ? handleValidationMoveNextSlide- : handleNextSlide+ areAllInputsFilled ? handleValidationMoveNextSlide : handleNextSlide}prevBtnText="previous"- nextBtnText={areAllInputsFilled- ? "setup"- : "i'll setup later"- }+ nextBtnText={areAllInputsFilled ? "setup" : "i'll setup later"}/></div>);};export default OnboardingAPISetup;-diff --git a/screenpipe-app-tauri/components/onboarding/dev-configuration.tsx b/screenpipe-app-tauri/components/onboarding/dev-configuration.tsxindex 4214a987b..d20530e93 100644--- a/screenpipe-app-tauri/components/onboarding/dev-configuration.tsx+++ b/screenpipe-app-tauri/components/onboarding/dev-configuration.tsx@@ -89,23 +89,17 @@ const OnboardingDevConfig: React.FC<OnboardingDevConfigProps> = ({return (<div className={`${className} w-full flex justify-center flex-col`}>- <DialogHeader className="px-2">- <div className="w-full inline-flex !mt-[-10px] justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-4px] font-bold text-[30px] text-balance flex justify-center">- screenpipe with dev config+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ screenpipe in dev mode</DialogTitle>- <h1 className="font-medium text-center !mt-[-1px] text-md">- customize the screenpipe setting using dev configuration- </h1></DialogHeader>- <div className="mt-2 w-full flex justify-around flex-col">+ <div className="mt-8 w-full flex justify-around flex-col"><div className="mx-3"><p className="text-muted-foreground text-[14px]"><span className="font-medium prose text-[14px] mr-1">diff --git a/screenpipe-app-tauri/components/onboarding/dev-or-non-dev.tsx b/screenpipe-app-tauri/components/onboarding/dev-or-non-dev.tsxindex c0735a773..a38c3756b 100644--- a/screenpipe-app-tauri/components/onboarding/dev-or-non-dev.tsx+++ b/screenpipe-app-tauri/components/onboarding/dev-or-non-dev.tsx@@ -22,14 +22,14 @@ const DEV_OPTIONS = [icon: UserRound,title: "standard mode",description:- "let screenpipe handle the backend automatically, ensuring a hands-free experience where complex operations are managed with precision and efficiency.",+ "screenpipe takes care of everything for you, making it easy and stress-free.",},{key: "devMode",icon: Wrench,title: "dev mode",description:- "in development mode, gain full control over screenpipe, configure backend processes via cli, enabling you an advanced customization and independent testing.",+ "run the CLI on top of the UI, and customize screenpipe to fit your needs.",},];@@ -41,29 +41,19 @@ const CardItem: React.FC<{const { icon: Icon, title, description } = option;return (- <div className="relative group h-[270px]">+ <div className="relative group h-64"><div- className={`absolute h-full !mt-[-5px] inset-0 rounded-lg transition-all duration-300 ease-out group-hover:before:opacity-100 group-hover:before:scale-100- before:absolute before:inset-0 before:rounded-lg before:border-2 before:border-black dark:before:border-white before:opacity-0 before:scale-95 before:transition-all- before:duration-300 before:ease-out ${- isSelected ? "before:!border-none" : ""- }`}+ className={`absolute inset-0 rounded-lg transition-transform duration-300 ease-out group-hover:scale-105`}/><Card- className={`p-4 h-[270px] !mt-[-5px] hover:bg-accent cursor-pointer bg-white dark:bg-gray-800 transition-all relative z-[1] duration-300 ease-out group-hover:scale-[0.98]- ${- isSelected- ? "bg-accent transition-transform relative border-2 border-black dark:border-white"- : ""- }`}+ className={`p-4 h-64 mt-[-5px] cursor-pointer bg-white dark:bg-gray-800 transition-transform duration-300 ease-out group-hover:scale-105+ ${isSelected ? "bg-accent" : ""}`}onClick={onClick}>- <CardContent className="flex flex-col w-[250px] justify-start">+ <CardContent className="flex flex-col w-60 justify-start"><Icon className="w-12 h-12 mx-auto" /><h2 className="font-semibold text-xl text-center mt-1">{title}</h2>- <span className="prose-sm prose mt-0 text-balance">- {description}- </span>+ <span className="text-sm mt-0">{description}</span></CardContent></Card></div>@@ -113,25 +103,19 @@ const OnboardingDevOrNonDev: React.FC<OnboardingDevOrNonDevProps> = ({return (<div- className={`${className} w-full flex justify-center flex-col relative`}+ className={`${className} w-full flex justify-around flex-col relative`}>- <DialogHeader className="mt-1 px-2">- <div className="w-full !mt-[-10px] inline-flex justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-2px] font-bold text-[32px] text-balance flex justify-center">- select your preference- </DialogTitle>- <p className="text-center text-lg">+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">how do you prefer to use screenpipe?- </p>+ </DialogTitle></DialogHeader>- <div className="flex w-full justify-around mt-4">+ <div className="flex w-full justify-around mt-12">{DEV_OPTIONS.map((option) => (<CardItemkey={option.key}@@ -141,9 +125,7 @@ const OnboardingDevOrNonDev: React.FC<OnboardingDevOrNonDevProps> = ({/>))}</div>- <span className="absolute bottom-12 text-muted-foreground prose-sm text-center block w-full z-[-1]">- <Info className="inline w-4 h-4 mb-[1px]" /> dev mode is for experts!- </span>+<OnboardingNavigationclassName="mt-9"nextBtnText="next"diff --git a/screenpipe-app-tauri/components/onboarding/explain-instructions.tsx b/screenpipe-app-tauri/components/onboarding/explain-instructions.tsxindex d9131558c..827bb7f34 100644--- a/screenpipe-app-tauri/components/onboarding/explain-instructions.tsx+++ b/screenpipe-app-tauri/components/onboarding/explain-instructions.tsx@@ -22,37 +22,39 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({handleNextSlide,}) => {return (- <div className={`${className} w-full flex justify-center flex-col`}>- <DialogHeader className="px-2">- <div className="w-full inline-flex !mt-[-10px] justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-3px] font-bold text-[30px] text-balance flex justify-center">- screenpipe usage instructions+ <div className={`${className} w-full flex justify-center flex-col overflow-y-auto`}>+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ screenpipe tips</DialogTitle>- <h1 className="text-center !mt-[-1px] text-lg">- before we begin, learn how to use screenpipe effectively!- </h1></DialogHeader><div className="flex justify-center"><div className="h-[1px] w-40 rounded-full bg-gradient-to-l from-slate-500/30 to-transparent"></div><div className="h-[1px] w-40 rounded-full bg-gradient-to-r from-slate-500/30 to-transparent"></div></div>- <div className="mt-2 w-full flex justify-around flex-col">+ <div className="mt-2 w-full flex justify-around flex-col "><div className="mx-4 mb-2"><h2 className="font-semibold text-md">search functionality:</h2><p className="text-muted-foreground text-[14px]"><span className="font-medium text-nowrap text-[14px] prose mr-1">on screenpipe's main menu,</span>- you'll find a search bar to query the 24/7 captured data. it+ you'll find an advanced search interface to query your 24/7 screen & mic recordings. itlets you select specific results for ai summarization and chatting,providing valuable insights.+ <br />+ use cases:+ <ul>+ <li>- meeting or general conversation summaries</li>+ <li>- activity summaries (youtube, browsing, etc.)</li>+ <li>- education (lecture, tutorial, etc.)</li>+ <li>- etc.</li>+ </ul></p></div><div className="flex justify-center">@@ -66,7 +68,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({screenpipe status menu serves</span>as a health and process monitor and allows you to adjust advanced- preferences for backend processes+ preferences for the recording processes</p></div><div className="flex justify-center">@@ -79,9 +81,8 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({<span className="font-medium text-nowrap text-[14px] prose mr-1">the settings menu,</span>- is where you can configure various options like monitor recorder- settings and ai preferences. this section lets you customize how- screenpipe interacts with llms+ is where you can configure various options like recording+ settings and ai preferences</p></div><div className="flex justify-center">@@ -96,8 +97,8 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({<span className="font-medium text-nowrap text-[14px] prose mr-1">this features of screenpipe</span>- tracks your meetings by analyzing specific keywords and generates- summaries for you using ai & llms .+ tracks your meetings and generates+ summaries for you using ai</p></div><div className="mx-4">@@ -107,11 +108,13 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({this features of screenpipe</span>extend your 24/7 data through plugins you can install in seconds,- create, share and sell your own.+ create, share and sell your own</p></div></div>+ <div className="h-[100px] my-16" />+<OnboardingNavigationclassName="mt-8"handlePrevSlide={handlePrevSlide}diff --git a/screenpipe-app-tauri/components/onboarding/features-experimental.tsx b/screenpipe-app-tauri/components/onboarding/features-experimental.tsxdeleted file mode 100644index a9ef8a7ae..000000000--- a/screenpipe-app-tauri/components/onboarding/features-experimental.tsx+++ /dev/null@@ -1,98 +0,0 @@-import React from 'react';-import { Card, CardContent } from "@/components/ui/card";-import { DialogHeader, DialogTitle } from "@/components/ui/dialog";-import OnboardingNavigation from '@/components/onboarding/navigation';-import { Info } from "lucide-react";--interface OnboardingExperimentalFeaturesProps {- className?: string,- handlePrevSlide: () => void;- handleNextSlide: () => void;-}--const OnboardingExperimentalFeatures: React.FC<OnboardingExperimentalFeaturesProps> = ({- className = "",- handlePrevSlide,- handleNextSlide,-}) => {- return (- <div className={`${className} w-full flex justify-center flex-col`}>- <DialogHeader className="px-2">- <div className="w-full inline-flex !mt-[-10px] justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-2px] font-bold text-[32px] text-balance flex justify-center">- features of screenpipe- </DialogTitle>- <h1 className="font-medium text-center !mt-[-1px] text-md prose">- screenpipe hasn't been extensively tested. we'd love your feedback!- </h1>- </DialogHeader>- <div className="mt-3 w-full flex justify-around flex-row">- <Card className="w-[45%]">- <CardContent className="mt-4">- <h1 className="font-semibold text-lg">essential features:</h1>- <ul className="list-disc ml-5">- <li className="text-muted-foreground text-sm">- <span className="font-medium text-nowrap text-[14px] prose mr-1">- continuous media capture:- </span>- seamlessly records screen and audio data 24/7, storing everything locally- </li>- <li className="text-muted-foreground text-sm">- <span className="font-medium text-nowrap text-[14px] prose mr-1">- personalized ai integration:- </span>- empowers ai models with insights derived from your captured data.- </li>- <li className="text-muted-foreground text-sm">- <span className="font-medium text-[14px] prose mr-1">- open source & secure:- </span>- ensures your data remains private, giving you full control over storage and processing.- </li>- </ul>- </CardContent>- </Card>- <Card className="w-[45%]">- <CardContent className="mt-4">- <h1 className="font-semibold text-lg">experimental features:</h1>- <ul className="list-disc ml-5">- <li className="text-muted-foreground text-sm">- <span className="font-medium text-nowrap text-[14px] prose mr-1">- remove personal information (pii):- </span>- for automatically detecting and removing your personally identifiable information (pii) from captured data to ensure your privacy with data- protection.- </li>- <li className="text-muted-foreground text-sm mt-2">- <span className="font-medium text-nowrap text-[14px] prose mr-1">- restart interval:- </span>- it's an experimental setting that lets you set an automatic restart interval to refresh processes or clear cached data, ensuring optimized performance.- </li>- </ul>- </CardContent>- </Card>- </div>- <span className="absolute bottom-12 text-muted-foreground prose-sm text-center block w-full z-[-1]">- <Info className="inline w-4 h-4 mb-[1px]" /> be careful with experimental features!- </span>- <OnboardingNavigation- className="mt-8"- handlePrevSlide={handlePrevSlide}- handleNextSlide={handleNextSlide}- prevBtnText="previous"- nextBtnText="let's get started"- />- </div>- );-}--export default OnboardingExperimentalFeatures;-diff --git a/screenpipe-app-tauri/components/onboarding/introduction.tsx b/screenpipe-app-tauri/components/onboarding/introduction.tsxindex ad2360110..94c04c920 100644--- a/screenpipe-app-tauri/components/onboarding/introduction.tsx+++ b/screenpipe-app-tauri/components/onboarding/introduction.tsx@@ -1,6 +1,8 @@import React from "react";import { DialogHeader, DialogTitle } from "@/components/ui/dialog";import { Button } from "@/components/ui/button";+import { RainbowButton } from "../ui/rainbow-button";+import { ArrowRight } from "lucide-react";interface OnboardingIntroProps {className?: string;@@ -12,22 +14,18 @@ const OnboardingIntro: React.FC<OnboardingIntroProps> = ({handleNextSlide,}) => (<div className={` flex justify-center items-center flex-col ${className}`}>- <DialogHeader className="px-2">- <div className="w-full !mt-[-10px] inline-flex justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="!mt-[-2px] font-bold text-nowrap text-center text-[24px] flex justify-center">- hey! we're excited to have you in the screenpipe community!+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ where pixels become magic</DialogTitle>- <p className="text-center !mt-[0px] text-base">- get ready to discover all the amazing things our product has- to offer!!- </p>+ <h2 className="text-center text-sm">+ welcome to screenpipe, excited to have you here+ </h2></DialogHeader><videowidth="600px"@@ -39,14 +37,11 @@ const OnboardingIntro: React.FC<OnboardingIntroProps> = ({<source src="/onboarding-screenpipe.mp4" type="video/mp4" />your browser does not support the video tag.</video>- <Button- className="mt-5 w-28 ml-auto float-right mr-20"- onClick={handleNextSlide}- >+ <RainbowButton className="mt-4" onClick={handleNextSlide}>get started- </Button>+ <ArrowRight className="w-4 h-4 ml-2" />+ </RainbowButton></div>);export default OnboardingIntro;-diff --git a/screenpipe-app-tauri/components/onboarding/navigation.tsx b/screenpipe-app-tauri/components/onboarding/navigation.tsxindex ac52a57c5..87cb94cfa 100644--- a/screenpipe-app-tauri/components/onboarding/navigation.tsx+++ b/screenpipe-app-tauri/components/onboarding/navigation.tsx@@ -1,5 +1,6 @@import React from 'react';import { Button } from '@/components/ui/button';+import { ArrowLeft, ArrowRight } from 'lucide-react'; // Importing iconsinterface OnboardingNavigationProps {prevBtnText?: string,@@ -19,24 +20,25 @@ const OnboardingNavigation: React.FC<OnboardingNavigationProps> = ({handleNextSlide,}) => {return (- <div className={` flex justify-between mx-8 ${className}`}>+ <div className={`flex justify-between items-center mx-auto ${className} fixed bottom-0 left-20 right-20 p-4 bg-transparent max-w-screen-lg`}><Button- className="w-fit min-w-32 disabled:!cursor-not-allowed disabled:!pointer-events-auto"+ className="flex items-center w-fit min-w-32 disabled:!cursor-not-allowed disabled:!pointer-events-auto"variant={"outline"}onClick={handlePrevSlide}disabled={isLoading}>+ <ArrowLeft className="mr-2" /> {/* Icon with margin */}{prevBtnText}</Button><Button- className="w-fit min-w-32 disabled:!cursor-not-allowed disabled:!pointer-events-auto"+ className="flex items-center w-fit min-w-32 disabled:!cursor-not-allowed disabled:!pointer-events-auto"onClick={handleNextSlide}disabled={isLoading}>{nextBtnText}+ <ArrowRight className="ml-2" /> {/* Icon with margin */}</Button></div>);}export default OnboardingNavigation;-diff --git a/screenpipe-app-tauri/components/onboarding/personalize.tsx b/screenpipe-app-tauri/components/onboarding/personalize.tsxindex 15a5e5628..38604d8c6 100644--- a/screenpipe-app-tauri/components/onboarding/personalize.tsx+++ b/screenpipe-app-tauri/components/onboarding/personalize.tsx@@ -17,20 +17,22 @@ const PERSONALIZATION_OPTIONS = [key: "withoutAI",icon: TextSearch,title: "conventional search",- description: "seamless functionality, easily monitor screen and audio with built-in ocr for precise scanning.",+ description:+ "use advanced search capabilities on top of your 24/7 recordings or the pipe store",note: "no api key needed.",},{key: "withAI",icon: BotMessageSquare,title: "ai-enhanced Search",- description: "leverage ai capabilities and seamlessly monitor your screen, using advanced AI to summarize collected data.",+ description:+ "use ai capabilities to summarize your recordings, extract insights, or use meeting summaries.",note: "api key required.",},];const CardItem: React.FC<{- option: typeof PERSONALIZATION_OPTIONS[number];+ option: (typeof PERSONALIZATION_OPTIONS)[number];isSelected: boolean;onClick: () => void;}> = ({ option, isSelected, onClick }) => {@@ -38,20 +40,29 @@ const CardItem: React.FC<{return (<div className="relative group h-[270px]">- <div className={`absolute h-full !mt-[-5px] inset-0 rounded-lg transition-all duration-300 ease-out group-hover:before:opacity-100 group-hover:before:scale-100+ <div+ className={`absolute h-full !mt-[-5px] inset-0 rounded-lg transition-all duration-300 ease-out group-hover:before:opacity-100 group-hover:before:scale-100before:absolute before:inset-0 before:rounded-lg before:border-2 before:border-black dark:before:border-white before:opacity-0 before:scale-95 before:transition-all- before:duration-300 before:ease-out ${isSelected ? "before:!border-none" : "" }`}+ before:duration-300 before:ease-out ${+ isSelected ? "before:!border-none" : ""+ }`}/><CardclassName={`p-4 h-full !mt-[-5px] cursor-pointer bg-white dark:bg-gray-800 hover:bg-accent transition-all relative z-[1] duration-300 ease-out group-hover:scale-[0.98]- ${isSelected ? "bg-accent transition-transform relative border-2 border-black dark:border-white" : "" }`}+ ${+ isSelected+ ? "bg-accent transition-transform relative border-2 border-black dark:border-white"+ : ""+ }`}onClick={onClick}><CardContent className="flex flex-col w-[250px] justify-center"><Icon className="w-16 h-16 mx-auto" /><h2 className="font-semibold text-xl text-center mt-1">{title}</h2><span className="prose prose-sm mt-1">{description}</span>- <span className="text-muted-foreground text-center prose-sm mt-4">{note}</span>+ <span className="text-muted-foreground text-center prose-sm mt-4">+ {note}+ </span></CardContent></Card></div>@@ -66,17 +77,18 @@ const OnboardingPersonalize: React.FC<OnboardingPersonalizeProps> = ({handlePrevSlide,}) => {return (- <div className={`${className} w-full flex justify-center flex-col relative`}>- <DialogHeader className="mt-1 px-2">- <div className="w-full !mt-[-10px] inline-flex justify-center">- <img src="/128x128.png" alt="screenpipe-logo" width="72" height="72" />- </div>- <DialogTitle className="text-center !mt-[-2px] font-bold text-[32px] text-balance flex justify-center">- personalize your screenpipe+ <div+ className={`${className} w-full flex justify-center flex-col relative`}+ >+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ do you want to use AI or just plain search?</DialogTitle>- <p className="text-center text-lg">- how would you like to use screenpipe?- </p></DialogHeader><div className="flex w-full justify-around mt-6">{PERSONALIZATION_OPTIONS.map((option) => (@@ -100,4 +112,3 @@ const OnboardingPersonalize: React.FC<OnboardingPersonalizeProps> = ({};export default OnboardingPersonalize;-diff --git a/screenpipe-app-tauri/components/onboarding/pipes.tsx b/screenpipe-app-tauri/components/onboarding/pipes.tsxindex 0bf799ac9..eacc07c37 100644--- a/screenpipe-app-tauri/components/onboarding/pipes.tsx+++ b/screenpipe-app-tauri/components/onboarding/pipes.tsx@@ -1,5 +1,5 @@import React from "react";-import { CodeBlock } from "@/components/onboarding/single-codeblock"+import { CodeBlock } from "@/components/onboarding/single-codeblock";import { ArrowUpRight } from "lucide-react";import { DialogHeader, DialogTitle } from "@/components/ui/dialog";import OnboardingNavigation from "@/components/onboarding/navigation";@@ -18,71 +18,36 @@ const OnboardingPipes: React.FC<OnboardingPipesProps> = ({}) => {return (<div className={`${className} w-full flex justify-center flex-col`}>- <DialogHeader className="px-2">- <div className="w-full inline-flex !mt-[-10px] justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-3px] font-bold text-[30px] text-balance flex justify-center">- screenpipe with custom pipes (plugins)+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">+ screenpipe tips</DialogTitle>- <h1 className="font-medium text-center !mt-[-1px] text-md prose">- unlock screenpipe’s power with customizable pipes (experimental)- </h1></DialogHeader>- <div className="mt-2 w-full flex justify-around flex-col">+ <div className="mt-32 w-full flex justify-around flex-col text-center"><div className="mx-3"><p className="text-muted-foreground text-[14px]"><span className="font-medium text-nowrap text-[14px] prose mr-1">screenpipe is built to be fully extensible,- </span>- allowing you to enhance its capabilities with custom- pipes, versatile plugins that streamline workflow automation- for analyzing, managing your captured data.+ </span>+ allowing you to enhance its capabilities with custom pipes,+ versatile plugins that streamline workflow automation for analyzing,+ managing your captured data.+ </p>+ <p className="mt-4 text-muted-foreground text-[14px]">+ we offer bounties for pipes or make it easy for you to monetize it+ through Stripe & our pipe store!</p></div>- <div className="mx-3 mt-1">- <h1 className="font-semibold text-md">- get started with pipes:- </h1>- <ul className="mt-1">- <li className="list-disc">- <p className="text-muted-foreground text-sm ml-4">- <span className="font-medium text-nowrap text-[14px] mr-1 prose">- download a pipe:- </span>- you can download a pipe from our github repository directly via cli- </p>- <CodeBlock- className="rounded-md mt-2"- language="bash"- value="screenpipe pipe download https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-stream-ocr-text"- />- </li>- <li className="mt-2 list-disc">- <p className="text-muted-foreground text-sm ml-4">- <span className=" font-medium text-nowrap text-[14px] mr-1 prose">- enable the pipe:- </span>- once downloaded, enable the pipe to activate it & restart the application,- this pipe will stream text to local markdown files in your current directory.- </p>- <CodeBlock- className="rounded-md mt-2"- language="bash"- value="screenpipe pipe enable pipe-stream-ocr-text"- />- </li>- </ul>- </div>+<aonClick={() =>open(- "https://docs.screenpi.pe/docs/plugins#quick-tour---developing-pipes-in-screenpipe",+ "https://docs.screenpi.pe/docs/plugins#quick-tour---developing-pipes-in-screenpipe")}href="#"@@ -104,4 +69,3 @@ const OnboardingPipes: React.FC<OnboardingPipesProps> = ({};export default OnboardingPipes;-diff --git a/screenpipe-app-tauri/components/onboarding/status.tsx b/screenpipe-app-tauri/components/onboarding/status.tsxindex 118d3f537..416023eff 100644--- a/screenpipe-app-tauri/components/onboarding/status.tsx+++ b/screenpipe-app-tauri/components/onboarding/status.tsx@@ -8,6 +8,7 @@ import { DialogHeader, DialogTitle } from "@/components/ui/dialog";import OnboardingNavigation from "@/components/onboarding/navigation";import { spinner } from "@/components/spinner";import { Command } from "@tauri-apps/plugin-shell";+import { Separator } from "../ui/separator";interface OnboardingStatusProps {className?: string;@@ -97,41 +98,40 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({return (<div- className={`${className} w-full flex justify-center flex-col items-center`}+ className={`${className} w-full flex justify-between flex-col items-center`}>- <DialogHeader className="px-2 w-full max-w-md">- <div className="w-full inline-flex !mt-[-10px] justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="text-center !mt-[-3px] font-bold text-[30px] text-balance flex justify-center">+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">setting up screenpipe</DialogTitle>- <h1 className="font-medium text-center !mt-[-1px] text-md prose">+ <h2 className="text-center text-sm">+ we need to download some ai models for you.+ <br />this may take a few minutes depending on your internet connection- </h1>-- <div className="mt-4 text-sm text-zinc-600 mx-auto">- <p className="mb-2 text-center">how screenpipe works:</p>- <ul className="list-disc list-inside text-left">- <li>core recording process runs in the background</li>- <li>gui interface for easy interaction</li>- <li>can also be used as a standalone cli tool</li>- <li>captures screens & mics 24/7</li>- <li>extracts text (ocr) & speech-to-text</li>- <li>saves data locally for privacy</li>- </ul>- </div>-- <p className="text-xs text-center text-zinc-500 mt-2">- if encountering any issues, you can proceed to the next step and it- will setup screenpipe when starting the recording process- </p>+ </h2></DialogHeader>+ <div className="my-8" />+ <div className="mt-4 text-sm text-zinc-600 mx-auto">+ <p className="mb-2 text-center">how screenpipe works:</p>+ <ul className="list-disc list-inside text-left">+ <li>core recording process runs in the background</li>+ <li>gui interface for easy interaction</li>+ <li>can also be used as a standalone cli tool</li>+ <li>captures screens & mics 24/7</li>+ <li>extracts text (ocr) & speech-to-text</li>+ <li>saves data locally for privacy</li>+ </ul>+ </div>++ <p className="text-xs text-center text-zinc-500 mt-2">+ if encountering any issues, you can proceed to the next step and it will+ setup screenpipe when starting the recording process+ </p>{status === null ? (<svgfill="none"@@ -148,13 +148,14 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({) : status === "ok" ? (<div className="flex flex-col items-center mt-4"><Check className="size-5 stroke-zinc-400" />- <p className="text-sm text-zinc-600 mt-2">screenpipe setup complete. ai models downloaded.</p>+ <p className="text-sm text-zinc-600 mt-2">+ screenpipe setup complete. ai models downloaded.+ </p></div>) : (<p className="text-center mt-4">{status}</p>)}<OnboardingNavigation- className="mt-8 w-full max-w-md"handlePrevSlide={handlePrev}handleNextSlide={handleNext}prevBtnText="previous"diff --git a/screenpipe-app-tauri/components/onboarding/usecases-selection.tsx b/screenpipe-app-tauri/components/onboarding/usecases-selection.tsxindex ac765b06d..fd9c611d8 100644--- a/screenpipe-app-tauri/components/onboarding/usecases-selection.tsx+++ b/screenpipe-app-tauri/components/onboarding/usecases-selection.tsx@@ -93,16 +93,13 @@ const OnboardingSelection: React.FC<OnboardingSelectionProps> = ({return (<div className={`${className} flex flex-col h-full`}>- <DialogHeader className="flex justify-center items-center">- <div className="w-full !mt-[-10px] inline-flex justify-center">- <img- src="/128x128.png"- alt="screenpipe-logo"- width="72"- height="72"- />- </div>- <DialogTitle className="font-bold text-[30px] text-balance">+ <DialogHeader className="flex flex-col px-2 justify-center items-center">+ <img+ className="w-24 h-24 justify-center"+ src="/128x128.png"+ alt="screenpipe-logo"+ />+ <DialogTitle className="text-center text-2xl">what are you planning to use the screenpipe for?</DialogTitle></DialogHeader>@@ -121,7 +118,6 @@ const OnboardingSelection: React.FC<OnboardingSelectionProps> = ({))}</div><OnboardingNavigation- className="mt-auto"handlePrevSlide={handlePrevSlide}handleNextSlide={handleNext}prevBtnText="previous"diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsxindex 5032db7c7..9b3b9543c 100644--- a/screenpipe-app-tauri/components/pipe-store.tsx+++ b/screenpipe-app-tauri/components/pipe-store.tsx@@ -65,6 +65,12 @@ interface CorePipe {}const corePipes: CorePipe[] = [+ {+ id: "pipe-post-questions-on-reddit",+ description:+ "get more followers, promote your content/product while being useful, without doing any work",+ url: "https://github.com/mediar-ai/screenpipe/tree/main/examples/typescript/pipe-post-questions-on-reddit",+ },{id: "pipe-meeting-summary-by-email",description:@@ -403,7 +409,7 @@ const PipeDialog: React.FC = () => {{selectedPipe.source?.startsWith("http") && (<Button- onClick={() => openUrl(selectedPipe.source, "_blank")}+ onClick={() => openUrl(selectedPipe.source)}variant="outline"><ExternalLink className="mr-2 h-4 w-4" />diff --git a/screenpipe-app-tauri/components/ui/rainbow-button.tsx b/screenpipe-app-tauri/components/ui/rainbow-button.tsxnew file mode 100644index 000000000..299fb03de--- /dev/null+++ b/screenpipe-app-tauri/components/ui/rainbow-button.tsx@@ -0,0 +1,33 @@+import React from "react";++import { cn } from "@/lib/utils";+interface RainbowButtonProps+ extends React.ButtonHTMLAttributes<HTMLButtonElement> {}++export function RainbowButton({+ children,+ className,+ ...props+}: RainbowButtonProps) {+ return (+ <button+ className={cn(+ "group relative inline-flex h-11 animate-rainbow cursor-pointer items-center justify-center rounded-xl border-0 bg-[length:200%] px-8 py-2 font-medium text-primary-foreground transition-colors [background-clip:padding-box,border-box,border-box] [background-origin:border-box] [border:calc(0.08*1rem)_solid_transparent] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",++ // before styles+ "before:absolute before:bottom-[-20%] before:left-1/2 before:z-0 before:h-1/5 before:w-3/5 before:-translate-x-1/2 before:animate-rainbow before:bg-[linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))] before:bg-[length:200%] before:[filter:blur(calc(0.8*1rem))]",++ // light mode colors+ "bg-[linear-gradient(#121213,#121213),linear-gradient(#121213_50%,rgba(18,18,19,0.6)_80%,rgba(18,18,19,0)),linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))]",++ // dark mode colors+ "dark:bg-[linear-gradient(#fff,#fff),linear-gradient(#fff_50%,rgba(255,255,255,0.6)_80%,rgba(0,0,0,0)),linear-gradient(90deg,hsl(var(--color-1)),hsl(var(--color-5)),hsl(var(--color-3)),hsl(var(--color-4)),hsl(var(--color-2)))]",++ className,+ )}+ {...props}+ >+ {children}+ </button>+ );+}diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 77eea0e30..bf46126cf 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.3.8"+version = "0.3.9"description = ""authors = ["you"]license = ""diff --git a/screenpipe-app-tauri/tailwind.config.ts b/screenpipe-app-tauri/tailwind.config.tsindex a7b2f0a07..708bb8607 100644--- a/screenpipe-app-tauri/tailwind.config.ts+++ b/screenpipe-app-tauri/tailwind.config.ts@@ -9,78 +9,104 @@ module.exports = {],prefix: "",theme: {- container: {- center: true,- padding: "2rem",- screens: {- "2xl": "1400px",- },- },- extend: {- fontFamily: {- sans: ["var(--font-geist-sans)"],- mono: ["var(--font-geist-mono)"],- },- colors: {- border: "hsl(var(--border))",- input: "hsl(var(--input))",- ring: "hsl(var(--ring))",- background: "hsl(var(--background))",- foreground: "hsl(var(--foreground))",- primary: {- DEFAULT: "hsl(var(--primary))",- foreground: "hsl(var(--primary-foreground))",- },- secondary: {- DEFAULT: "hsl(var(--secondary))",- foreground: "hsl(var(--secondary-foreground))",- },- destructive: {- DEFAULT: "hsl(var(--destructive))",- foreground: "hsl(var(--destructive-foreground))",- },- muted: {- DEFAULT: "hsl(var(--muted))",- foreground: "hsl(var(--muted-foreground))",- },- accent: {- DEFAULT: "hsl(var(--accent))",- foreground: "hsl(var(--accent-foreground))",- },- popover: {- DEFAULT: "hsl(var(--popover))",- foreground: "hsl(var(--popover-foreground))",- },- card: {- DEFAULT: "hsl(var(--card))",- foreground: "hsl(var(--card-foreground))",- },- },- borderRadius: {- lg: "var(--radius)",- md: "calc(var(--radius) - 2px)",- sm: "calc(var(--radius) - 4px)",- },- keyframes: {- "accordion-down": {- from: { height: "0" },- to: { height: "var(--radix-accordion-content-height)" },- },- "accordion-up": {- from: { height: "var(--radix-accordion-content-height)" },- to: { height: "0" },- },- "pulse": {- '0%, 100%': { opacity: 1 },- '50%': { opacity: .5 },- }- },- animation: {- "accordion-down": "accordion-down 0.2s ease-out",- "accordion-up": "accordion-up 0.2s ease-out",- "pulse": "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",- },- },+ container: {+ center: 'true',+ padding: '2rem',+ screens: {+ '2xl': '1400px'+ }+ },+ extend: {+ fontFamily: {+ sans: ["var(--font-geist-sans)"],+ mono: ["var(--font-geist-mono)"]+ },+ colors: {+ border: 'hsl(var(--border))',+ input: 'hsl(var(--input))',+ ring: 'hsl(var(--ring))',+ background: 'hsl(var(--background))',+ foreground: 'hsl(var(--foreground))',+ primary: {+ DEFAULT: 'hsl(var(--primary))',+ foreground: 'hsl(var(--primary-foreground))'+ },+ secondary: {+ DEFAULT: 'hsl(var(--secondary))',+ foreground: 'hsl(var(--secondary-foreground))'+ },+ destructive: {+ DEFAULT: 'hsl(var(--destructive))',+ foreground: 'hsl(var(--destructive-foreground))'+ },+ muted: {+ DEFAULT: 'hsl(var(--muted))',+ foreground: 'hsl(var(--muted-foreground))'+ },+ accent: {+ DEFAULT: 'hsl(var(--accent))',+ foreground: 'hsl(var(--accent-foreground))'+ },+ popover: {+ DEFAULT: 'hsl(var(--popover))',+ foreground: 'hsl(var(--popover-foreground))'+ },+ card: {+ DEFAULT: 'hsl(var(--card))',+ foreground: 'hsl(var(--card-foreground))'+ },+ 'color-1': 'hsl(var(--color-1))',+ 'color-2': 'hsl(var(--color-2))',+ 'color-3': 'hsl(var(--color-3))',+ 'color-4': 'hsl(var(--color-4))',+ 'color-5': 'hsl(var(--color-5))'+ },+ borderRadius: {+ lg: 'var(--radius)',+ md: 'calc(var(--radius) - 2px)',+ sm: 'calc(var(--radius) - 4px)'+ },+ keyframes: {+ 'accordion-down': {+ from: {+ height: '0'+ },+ to: {+ height: 'var(--radix-accordion-content-height)'+ }+ },+ 'accordion-up': {+ from: {+ height: 'var(--radix-accordion-content-height)'+ },+ to: {+ height: '0'+ }+ },+ 'pulse': {+ '0%, 100%': {+ opacity: '1'+ },+ '50%': {+ opacity: '.5'+ }+ },+ rainbow: {+ '0%': {+ 'background-position': '0%'+ },+ '100%': {+ 'background-position': '200%'+ }+ }+ },+ animation: {+ 'accordion-down': 'accordion-down 0.2s ease-out',+ 'accordion-up': 'accordion-up 0.2s ease-out',+ 'pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',+ rainbow: 'rainbow var(--speed, 2s) infinite linear'+ }+ }},plugins: [require("tailwindcss-animate"), require("@tailwindcss/typography")],};