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(ui): update pricing to $50/mo and $400/year for Screenpipe Pro

Louis Beaumont6db876ec77db
diff --git a/screenpipe-app-tauri/components/settings/account-section.tsx b/screenpipe-app-tauri/components/settings/account-section.tsx
index a22f04124..5806d1794 100644
--- a/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -133,16 +133,18 @@ export function AccountSection() {
const plans = [
{
title: settings.user?.cloud_subscribed
- ? "your subscription"
- : "subscription",
+ ? "screenpipe pro"
+ : "screenpipe pro",
price: settings.user?.cloud_subscribed
? "active"
: isAnnual
- ? "$200/year"
- : "$20/mo",
+ ? "$400/year"
+ : "$50/mo",
features: settings.user?.cloud_subscribed
? [
- "unlimited screenpipe cloud",
+ "cloud sync - 50GB storage, 3 devices",
+ "unlimited ai queries, all models",
+ "cloud transcription (save RAM & CPU)",
"priority support",
<a
key="portal"
@@ -163,15 +165,12 @@ export function AccountSection() {
</a>,
]
: [
- "unlimited screenpipe cloud",
+ "cloud sync - 50GB storage, 3 devices",
+ "unlimited ai queries, all models",
+ "cloud transcription (save RAM & CPU)",
"priority support",
- isAnnual ? "17% discount applied" : "switch to annual for 17% off",
+ isAnnual ? "2 months free" : "switch to annual for 2 months free",
],
- url: isAnnual
- ? "https://buy.stripe.com/eVadRzfOCgAi5W0fZu" +
- `?client_reference_id=${clientRefId}`
- : "https://buy.stripe.com/7sIdRzbym4RA98c7sX" +
- `?client_reference_id=${clientRefId}`,
},
];
@@ -347,8 +346,34 @@ export function AccountSection() {
return;
}
if (!settings.user?.cloud_subscribed) {
- posthog.capture("cloud_plan_selected");
- openUrl(plan.url);
+ posthog.capture("cloud_plan_selected", { billing: isAnnual ? "yearly" : "monthly" });
+ try {
+ const response = await fetch("https://screenpi.pe/api/cloud-sync/checkout", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ "Authorization": `Bearer ${settings.user?.token}`,
+ },
+ body: JSON.stringify({
+ tier: "pro",
+ billingPeriod: isAnnual ? "yearly" : "monthly",
+ userId: settings.user?.id,
+ email: settings.user?.email,
+ }),
+ });
+ const data = await response.json();
+ if (data.url) {
+ openUrl(data.url);
+ } else {
+ throw new Error(data.error || "failed to create checkout");
+ }
+ } catch (error) {
+ toast({
+ title: "failed to start checkout",
+ description: String(error),
+ variant: "destructive",
+ });
+ }
}
}}
/>
diff --git a/screenpipe-app-tauri/components/settings/pricing-toggle.tsx b/screenpipe-app-tauri/components/settings/pricing-toggle.tsx
index 4d1597dba..1ff237554 100644
--- a/screenpipe-app-tauri/components/settings/pricing-toggle.tsx
+++ b/screenpipe-app-tauri/components/settings/pricing-toggle.tsx
@@ -18,7 +18,7 @@ export function PricingToggle({ isAnnual, onToggle }: PricingToggleProps) {
onCheckedChange={onToggle}
/>
<Label htmlFor="billing-toggle" className="text-sm">
- annual (save 17%)
+ annual (2 months free)
</Label>
</div>
);
diff --git a/screenpipe-app-tauri/components/settings/sync-settings.tsx b/screenpipe-app-tauri/components/settings/sync-settings.tsx
index 6243b8cf6..4c813d6a3 100644
--- a/screenpipe-app-tauri/components/settings/sync-settings.tsx
+++ b/screenpipe-app-tauri/components/settings/sync-settings.tsx
@@ -169,7 +169,9 @@ function SyncBenefits() {
}
// Onboarding/upgrade prompt
-function SyncOnboarding({ onSubscribe, onRefresh, isLoading, isRefreshing }: { onSubscribe: () => void; onRefresh: () => void; isLoading: boolean; isRefreshing: boolean }) {
+function SyncOnboarding({ onSubscribe, onRefresh, isLoading, isRefreshing }: { onSubscribe: (isAnnual: boolean) => void; onRefresh: () => void; isLoading: boolean; isRefreshing: boolean }) {
+ const [isAnnual, setIsAnnual] = useState(true);
+
return (
<div className="space-y-6">
<div className="text-center">
@@ -194,12 +196,35 @@ function SyncOnboarding({ onSubscribe, onRefresh, isLoading, isRefreshing }: { o
</p>
</div>
<div className="text-right">
- <div className="text-lg font-bold">$49<span className="text-sm font-normal text-muted-foreground">/mo</span></div>
+ <div className="text-lg font-bold">
+ {isAnnual ? "$400" : "$50"}
+ <span className="text-sm font-normal text-muted-foreground">
+ {isAnnual ? "/year" : "/mo"}
+ </span>
+ </div>
+ {isAnnual && (
+ <p className="text-xs text-primary">2 months free</p>
+ )}
</div>
</div>
+
+ {/* Billing toggle */}
+ <div className="flex items-center justify-center gap-3 mt-4">
+ <span className={`text-sm ${!isAnnual ? "text-foreground" : "text-muted-foreground"}`}>
+ Monthly
+ </span>
+ <Switch
+ checked={isAnnual}
+ onCheckedChange={setIsAnnual}
+ />
+ <span className={`text-sm ${isAnnual ? "text-foreground" : "text-muted-foreground"}`}>
+ Annual
+ </span>
+ </div>
+
<Button
className="w-full mt-4"
- onClick={onSubscribe}
+ onClick={() => onSubscribe(isAnnual)}
disabled={isLoading}
>
{isLoading ? (
@@ -648,7 +673,7 @@ export function SyncSettings() {
}
};
- const handleSubscribe = async () => {
+ const handleSubscribe = async (isAnnual: boolean = true) => {
try {
setIsLoading(true);
const token = settings.user?.token;
@@ -671,7 +696,7 @@ export function SyncSettings() {
},
body: JSON.stringify({
tier: "pro",
- billingPeriod: "monthly",
+ billingPeriod: isAnnual ? "yearly" : "monthly",
userId,
email: settings.user?.email,
}),