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
Documentation edits made through Mintlify web editor
Louis Beaumontc1a0c5ea66cc
diff --git a/content/docs-mintlify-mig-tmp/pages/docs/getting-started.mdx b/content/docs-mintlify-mig-tmp/pages/docs/getting-started.mdxindex cf64c5ab5..c1e0ad49e 100644--- a/content/docs-mintlify-mig-tmp/pages/docs/getting-started.mdx+++ b/content/docs-mintlify-mig-tmp/pages/docs/getting-started.mdx@@ -13,7 +13,20 @@### install cli-+<Tabs>+ <Tab title="Tab">+ ```bash copy+ curl -fsSL get.screenpi.pe/cli | sh+ screenpipe+ ```+ </Tab>+ <Tab title="Tab">+ ```powershell copy+ iwr get.screenpi.pe/cli.ps1 | iex+ screenpipe.exe+ ```+ </Tab>+</Tabs>### verify installation@@ -56,12 +69,57 @@ async function queryScreenpipe() {queryScreenpipe().catch(console.error);```-now download the [desktop app](https://screenpi.pe) and use pipes (plugins) to add more features+now download the [desktop app](https://screenpi.pe) and use pipes (plugins) to add more features\!### connect to AI providersscreenpipe can connect to various AI providers to process your data. here's how to set up popular local AI providers:+<Tabs>+ <Tab title="Tab">+ 1. install ollama from [ollama.ai](https://ollama.ai) and run your preferred model++ ```bash copy+ # start ollama with your preferred model+ ollama run phi4:14b-q4_K_M+ ```++ 1. then configure screenpipe to use ollama in your settings with model phi4:14b-q4_K_M++ that's it\! screenpipe will now use ollama for AI like search, rewind, and more. you can change the model in settings.+ </Tab>+ <Tab title="Tab">+ to use LMStudio:++ 1. download and install [LMStudio](https://lmstudio.ai)+ 2. select your preferred model+ 3. start the local server++ <img+ src="/lmstudio2.png"+ alt="Select model in LMStudio"+ width={800}+ height={450}+ className="rounded-lg"+ />++ <img+ src="/lmstudio3.png"+ alt="Start server in LMStudio"+ width={800}+ height={450}+ className="rounded-lg"+ />++ <img+ src="/lmstudio1.png"+ alt="LMStudio setup"+ width={800}+ height={450}+ className="rounded-lg"+ />+ </Tab>+</Tabs>verify your ai provider using any pipe in the store\!diff --git a/content/docs-mintlify-mig-tmp/pages/docs/sdk-reference.mdx b/content/docs-mintlify-mig-tmp/pages/docs/sdk-reference.mdxindex 275688353..f80481869 100644--- a/content/docs-mintlify-mig-tmp/pages/docs/sdk-reference.mdx+++ b/content/docs-mintlify-mig-tmp/pages/docs/sdk-reference.mdx@@ -1,36 +1,35 @@-import { Tabs, Tab } from 'nextra/components'-# javascript sdk reference+# javascript sdk referencescreenpipe provides two sdk packages:+- `@screenpipe/js` - for node.js environments (nextjs api routes, etc)- `@screenpipe/browser` - for browser environmentsboth sdks provide type-safe interfaces to interact with screenpipe's core functionality.-### installation#### node.js sdk-<Tabs items={['npm', 'pnpm', 'bun', 'yarn']}>- <Tab>+<Tabs>+ <Tab title="Tab">```bash copynpm install @screenpipe/js```</Tab>- <Tab>+ <Tab title="Tab">```bash copypnpm add @screenpipe/js```</Tab>- <Tab>+ <Tab title="Tab">```bash copybun add @screenpipe/js```</Tab>- <Tab>+ <Tab title="Tab">```bash copyyarn add @screenpipe/js```@@ -39,23 +38,23 @@ both sdks provide type-safe interfaces to interact with screenpipe's core functi#### browser sdk-<Tabs items={['npm', 'pnpm', 'bun', 'yarn']}>- <Tab>+<Tabs>+ <Tab title="Tab">```bash copynpm install @screenpipe/browser```</Tab>- <Tab>+ <Tab title="Tab">```bash copypnpm add @screenpipe/browser```</Tab>- <Tab>+ <Tab title="Tab">```bash copybun add @screenpipe/browser```</Tab>- <Tab>+ <Tab title="Tab">```bash copyyarn add @screenpipe/browser```@@ -248,9 +247,7 @@ const pullRequests = githubActivity.filter(item =>console.log(`Found ${pullRequests.length} pull request interactions`);```---### vercel-like crons+### vercel-like cronsyou need to add a `pipe.json` file to your pipe folder with this config for example:@@ -278,7 +275,6 @@ bunx @screenpipe/dev@latest components addplease adjust its code to your needs as some things are hardcoded in it.-### realtime streams```typescript@@ -298,7 +294,6 @@ for await (const event of pipe.streamVision(true)) { // true to include images### react hooks sdk support ⚛️-screenpipe provides first-class support for React applications through custom hooks, enabling seamless integration with your React components. while you can manually create hooks using libraries like [React Query](https://tanstack.com/query/v5/docs/framework/react/overview), we recommend leveraging our built-in CLI to quickly add pre-built, optimized hooks to your pipes.#### using the cli to add hooks@@ -318,7 +313,6 @@ select from the interactive menu to add hooks such as:these hooks follow best practices, ensuring type safety, efficient state management, and easy integration with your existing React components.-#### real-time meeting summarizer⚠️ make sure to enable real time transcription in the screenpipe app settings or CLI args.@@ -402,7 +396,6 @@ monitorScreenActivity().catch(console.error)### settings management-pipes can access and modify screenpipe app settings through the SDK. this is useful for storing pipe-specific configuration and accessing global app settings.#### quick start with CLI@@ -415,6 +408,7 @@ bunx --bun @screenpipe/dev@latest components add```this will add the following components to your pipe:+- `use-pipe-settings` hook for react components- `get-screenpipe-app-settings` server action- required typescript types@@ -437,7 +431,7 @@ export interface Settings {}```-2. create server action to access settings:+1. create server action to access settings:```typescript// src/lib/actions/get-screenpipe-app-settings.ts@@ -455,7 +449,7 @@ export async function updateScreenpipeAppSettings(}```-3. create react hook for settings management:+1. create react hook for settings management:```typescript// src/lib/hooks/use-pipe-settings.tsx@@ -540,7 +534,7 @@ export function usePipeSettings() {}```-4. use in your components:+1. use in your components:```typescriptimport { usePipeSettings } from '@/lib/hooks/use-pipe-settings'@@ -574,7 +568,6 @@ export function SettingsComponent() {}```-#### best practices- store pipe-specific settings under `customSettings.yourPipeName` in screenpipe app settings@@ -587,8 +580,6 @@ export function SettingsComponent() {see the [obsidian pipe](https://github.com/mediar-ai/screenpipe/tree/main/pipes/obsidian) for a complete example of settings management.--### integrating with llmsscreenpipe's sdk can be easily integrated with various ai providers to analyze and generate insights from screen activity. here are common patterns for connecting context data with llms.@@ -817,8 +808,6 @@ const messages = await pipe.inbox.getMessages()await pipe.inbox.clearMessages()```--### input control apirequires building the backend with the `experimental` feature flag.@@ -872,11 +861,9 @@ async function fillForm() {await fillForm()```-### LLM links+### LLM linkspaste these links into your Cursor chat for context:-- https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/browser-sdk/src/index.ts-- https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/node-sdk/src/index.ts--+- <https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/browser-sdk/src/index.ts>+- <https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/node-sdk/src/index.ts>\ No newline at end of file