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
docs: document how to install screenpipe as cli better
Louis Beaumont36ab68805380
diff --git a/content/docs/pages/docs/getting-started.mdx b/content/docs/pages/docs/getting-started.mdxindex 2e36239e6..99dcfbbf3 100644--- a/content/docs/pages/docs/getting-started.mdx+++ b/content/docs/pages/docs/getting-started.mdx@@ -1,4 +1,5 @@import MotionDiv from '../../components/motion-div'+import { Tabs, Tab } from 'nextra/components'# getting started@@ -8,14 +9,44 @@ screenpipe offers multiple installation methods depending on user needs and techfor non technical users or those who want to get started quickly, we recommend getting the [desktop app here](https://screenpi.pe/onboarding).-quickly start the CLI on MacOS with:-```bash copy-brew tap mediar-ai/screenpipe https://github.com/mediar-ai/screenpipe.git-brew install screenpipe-screenpipe-```--then+<Tabs items={['macos', 'linux', 'windows']}>+ <Tab>+ ```bash copy+ brew tap mediar-ai/screenpipe https://github.com/mediar-ai/screenpipe.git+ brew install screenpipe+ screenpipe+ ```+ </Tab>+ <Tab>+ ```bash+ brew install screenpipe+ screenpipe+ ```++ or++ ```bash copy+ # using nix+ nix-shell -p screen-pipe++ # or build from source+ sudo apt-get install -y g++ ffmpeg tesseract-ocr cmake libavformat-dev libavfilter-dev libavdevice-dev libssl-dev libtesseract-dev libxdo-dev libsdl2-dev libclang-dev libxtst-dev+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh+ git clone https://github.com/mediar-ai/screenpipe+ cd screenpipe+ cargo build --release+ ./target/release/screenpipe+ ```+ </Tab>+ <Tab>+ ```powershell copy+ # run as administrator+ irm https://raw.githubusercontent.com/mediar-ai/screenpipe/main/install.ps1 | iex+ ```+ </Tab>+</Tabs>++then open the simple timeline UI:```bash copygit clone https://github.com/mediar-ai/screenpipe@@ -24,7 +55,6 @@ open screenpipe-server/examples/timeline_ui_simple/index.html # or open manuallythis will open a rewind.ai alike timeline powered by a single html file :) that you can tweak around!-</MotionDiv><MotionDiv delay={0.3}>diff --git a/install.ps1 b/install.ps1new file mode 100644index 000000000..96901b802--- /dev/null+++ b/install.ps1@@ -0,0 +1,42 @@+# Check if running as administrator+if (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {+ Write-Warning "please run as administrator!"+ exit+}++Write-Host "installing screenpipe..."++try {+ # Get latest version+ $version = (Invoke-RestMethod "https://api.github.com/repos/mediar-ai/screenpipe/releases/latest").tag_name+ $url = "https://github.com/mediar-ai/screenpipe/releases/download/$version/screenpipe-$version-x86_64-pc-windows-msvc.zip"+ $installDir = "$env:USERPROFILE\screenpipe"+ $tempZip = "$env:TEMP\screenpipe.zip"++ # Download and extract+ Write-Host "downloading latest version ($version)..."+ Invoke-WebRequest -Uri $url -OutFile $tempZip++ # Create install directory if it doesn't exist+ if (!(Test-Path $installDir)) {+ New-Item -ItemType Directory -Path $installDir | Out-Null+ }++ Write-Host "extracting..."+ Expand-Archive -Path $tempZip -DestinationPath $installDir -Force++ # Add to PATH if not already there+ $currentPath = [Environment]::GetEnvironmentVariable("Path", "User")+ if ($currentPath -notlike "*$installDir*") {+ [Environment]::SetEnvironmentVariable("Path", "$currentPath;$installDir", "User")+ $env:Path = [Environment]::GetEnvironmentVariable("Path", "User")+ }++ # Cleanup+ Remove-Item $tempZip -Force++ Write-Host "screenpipe installed successfully! restart your terminal and run 'screenpipe'"+} catch {+ Write-Error "installation failed: $_"+ exit 1+}\ No newline at end of file