Skip to content

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

feat: add encrypted pipe sync to Pro features + locked toggle for non-Pro users

Louis Beaumont989f4153283a
diff --git a/apps/screenpipe-app-tauri/components/settings/account-section.tsx b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
index 1cc93a354..9a2d0e517 100644
--- a/apps/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -13,6 +13,7 @@ import {
Zap,
Shield,
RefreshCw,
+ Lock,
} from "lucide-react";
import { toast } from "@/components/ui/use-toast";
import { open as openUrl } from "@tauri-apps/plugin-shell";
@@ -250,6 +251,9 @@ export function AccountSection() {
<div className="flex items-center gap-2">
<span>✓</span> priority support
</div>
+ <div className="flex items-center gap-2">
+ <span>✓</span> encrypted pipe sync across devices
+ </div>
</div>
{/* Pipe sync */}
@@ -372,6 +376,10 @@ export function AccountSection() {
<Sparkles className="h-3.5 w-3.5 shrink-0" />
priority support
</div>
+ <div className="flex items-center gap-2 text-foreground">
+ <RefreshCw className="h-3.5 w-3.5 shrink-0" />
+ encrypted pipe sync across devices
+ </div>
</div>
<Button
@@ -384,6 +392,28 @@ export function AccountSection() {
</Button>
</Card>
</details>
+
+ {/* Locked pipe sync toggle — not logged in */}
+ <Card className="p-4 opacity-75">
+ <div className="flex items-center justify-between">
+ <div>
+ <p className="text-sm font-medium">pipe sync across devices</p>
+ <p className="text-xs text-muted-foreground">
+ sync your pipes & configs to all devices linked to your account
+ </p>
+ </div>
+ <div className="flex items-center gap-2">
+ <Switch disabled checked={false} />
+ <button
+ onClick={() => commands.openLoginWindow()}
+ className="text-xs bg-primary/10 text-primary px-2 py-0.5 rounded-full font-medium flex items-center gap-1 hover:bg-primary/20 transition-colors cursor-pointer"
+ >
+ <Lock className="h-3 w-3" />
+ Pro
+ </button>
+ </div>
+ </div>
+ </Card>
</>
) : (
/* Logged in, free tier: show upsell */
@@ -438,6 +468,10 @@ export function AccountSection() {
<Sparkles className="h-3.5 w-3.5 shrink-0" />
priority support
</div>
+ <div className="flex items-center gap-2 text-foreground">
+ <RefreshCw className="h-3.5 w-3.5 shrink-0" />
+ encrypted pipe sync across devices
+ </div>
</div>
<Button
@@ -452,6 +486,28 @@ export function AccountSection() {
</Card>
</div>
+ {/* Locked pipe sync toggle — free tier */}
+ <Card className="p-4 opacity-75">
+ <div className="flex items-center justify-between">
+ <div>
+ <p className="text-sm font-medium">pipe sync across devices</p>
+ <p className="text-xs text-muted-foreground">
+ sync your pipes & configs to all devices linked to your account
+ </p>
+ </div>
+ <div className="flex items-center gap-2">
+ <Switch disabled checked={false} />
+ <button
+ onClick={handleCheckout}
+ className="text-xs bg-primary/10 text-primary px-2 py-0.5 rounded-full font-medium flex items-center gap-1 hover:bg-primary/20 transition-colors cursor-pointer"
+ >
+ <Lock className="h-3 w-3" />
+ Pro
+ </button>
+ </div>
+ </div>
+ </Card>
+
{/* Current free tier - compact */}
<div className="px-3 py-2 rounded-lg border border-border/50">
<p className="text-xs text-muted-foreground">
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
index 7b2ba53c6..71c42ba20 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -8223,7 +8223,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "2.2.8"
+version = "2.1.7"
dependencies = [
"anyhow",
"arboard",
@@ -8271,7 +8271,6 @@ dependencies = [
"sentry 0.42.0",
"serde",
"serde_json",
- "sha2",
"specta",
"specta-typescript",
"sysinfo",
@@ -8302,7 +8301,6 @@ dependencies = [
"tracing-appender",
"tracing-oslog",
"tracing-subscriber",
- "urlencoding",
"uuid",
"windows 0.58.0",
"windows-icons",
@@ -8322,7 +8320,7 @@ dependencies = [
[[package]]
name = "screenpipe-audio"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"anyhow",
"audiopipe",
@@ -8374,7 +8372,7 @@ dependencies = [
[[package]]
name = "screenpipe-core"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"accessibility",
"accessibility-sys",
@@ -8415,7 +8413,7 @@ dependencies = [
[[package]]
name = "screenpipe-db"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"anyhow",
"chrono",
@@ -8440,7 +8438,7 @@ dependencies = [
[[package]]
name = "screenpipe-events"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"anyhow",
"chrono",
@@ -8456,7 +8454,7 @@ dependencies = [
[[package]]
name = "screenpipe-integrations"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"anyhow",
"chrono",
@@ -8476,7 +8474,7 @@ dependencies = [
[[package]]
name = "screenpipe-server"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"anyhow",
"async-trait",
@@ -8532,7 +8530,7 @@ dependencies = [
[[package]]
name = "screenpipe-vision"
-version = "0.3.160"
+version = "0.3.159"
dependencies = [
"accessibility-sys",
"anyhow",
@@ -11682,12 +11680,6 @@ dependencies = [
"serde_derive",
]
-[[package]]
-name = "urlencoding"
-version = "2.1.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
-
[[package]]
name = "urlpattern"
version = "0.3.0"