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: make Parakeet v3 the default transcription engine, remove legacy FPS settings

Louis Beaumont68d4b2e6d0ef
diff --git a/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx b/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx
index df263057f..da7850daf 100644
--- a/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx
+++ b/apps/screenpipe-app-tauri/components/cli-command-dialog.tsx
@@ -119,9 +119,6 @@ export function CliCommandDialog({ settings }: CliCommandDialogProps) {
if (settings.deepgramApiKey && settings.deepgramApiKey !== "default") {
args.push(`--deepgram-api-key "${settings.deepgramApiKey}"`);
}
- if (settings.fps !== 0.2) {
- args.push(`--fps ${settings.fps}`);
- }
if (!settings.analyticsEnabled) {
args.push("--disable-telemetry");
}
diff --git a/apps/screenpipe-app-tauri/components/rewind/export-button.tsx b/apps/screenpipe-app-tauri/components/rewind/export-button.tsx
index 5ae4e9045..ed56342fc 100644
--- a/apps/screenpipe-app-tauri/components/rewind/export-button.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/export-button.tsx
@@ -58,7 +58,7 @@ export function ExportButton() {
// Create WebSocket connection - send frame_ids in message body to avoid URL length limits
ws = new WebSocket(
- `ws://localhost:3030/frames/export?fps=${settings.fps ?? 0.5}`,
+ `ws://localhost:3030/frames/export?fps=0.5`,
);
// Set a timeout to handle connection issues
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index f5bc7b80e..025f829d8 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -1318,17 +1318,6 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre
</SelectContent>
</Select>
</div>
- {hwCapability?.isWeakForLargeModel && settings.audioTranscriptionEngine.includes("large") && (
- <div className="mt-2 ml-[26px] p-2 rounded-md bg-yellow-500/10 border border-yellow-500/30">
- <p className="text-xs text-yellow-600 dark:text-yellow-400">
- <AlertCircle className="h-3 w-3 inline mr-1" />
- {hwCapability.reason}
- {settings.user?.cloud_subscribed
- ? " Consider switching to Screenpipe Cloud for better performance."
- : ` Consider switching to ${hwCapability.recommendedEngine} to avoid high CPU usage.`}
- </p>
- </div>
- )}
{settings.audioTranscriptionEngine === "deepgram" && (
<div className="mt-2 ml-[26px] relative">
<ValidatedInput
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 7fb49aee8..a109c9207 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -106,7 +106,6 @@ export type Settings = SettingsStore & {
lockVaultShortcut?: string;
/** When true, audio devices follow system default and auto-switch on changes */
useSystemDefaultAudio?: boolean;
- adaptiveFps?: boolean;
enableInputCapture?: boolean;
enableAccessibility?: boolean;
/** Audio transcription scheduling: "realtime" (default) or "batch" (longer chunks for quality) */
@@ -243,7 +242,7 @@ let DEFAULT_SETTINGS: Settings = {
userId: "",
analyticsId: "",
devMode: false,
- audioTranscriptionEngine: "whisper-large-v3-turbo",
+ audioTranscriptionEngine: "parakeet",
ocrEngine: "default",
monitorIds: ["default"],
audioDevices: ["default"],
@@ -258,7 +257,6 @@ let DEFAULT_SETTINGS: Settings = {
ignoredUrls: [],
teamFilters: { ignoredWindows: [], includedWindows: [], ignoredUrls: [] },
- fps: 0.5,
vadSensitivity: "medium",
analyticsEnabled: true,
audioChunkDuration: 30,
@@ -331,7 +329,6 @@ export function createDefaultSettingsObject(): Settings {
DEFAULT_SETTINGS.ignoredWindows = [...DEFAULT_IGNORED_WINDOWS_IN_ALL_OS];
DEFAULT_SETTINGS.ignoredWindows.push(...(DEFAULT_IGNORED_WINDOWS_PER_OS[p] ?? []));
DEFAULT_SETTINGS.ocrEngine = p === "macos" ? "apple-native" : p === "windows" ? "windows-native" : "tesseract";
- DEFAULT_SETTINGS.fps = p === "macos" ? 0.5 : 1;
DEFAULT_SETTINGS.showScreenpipeShortcut = p === "windows" ? "Alt+S" : "Control+Super+S";
DEFAULT_SETTINGS.showChatShortcut = p === "windows" ? "Alt+L" : "Control+Super+L";
DEFAULT_SETTINGS.searchShortcut = p === "windows" ? "Alt+K" : "Control+Super+K";
@@ -471,24 +468,22 @@ function createSettingsStore() {
}
// Migration: Auto-detect hardware and adjust engine for weak machines (one-time only)
- if (!(settings as any)._hardwareCapabilityMigrationDone) {
- try {
- const { commands: tauriCommands } = await import("../utils/tauri");
- const hw = await tauriCommands.getHardwareCapability();
- if (hw.isWeakForLargeModel) {
- const currentEngine = settings.audioTranscriptionEngine;
- if (currentEngine.includes("large")) {
- // Weak hardware with a large model: downgrade to recommended
- settings.audioTranscriptionEngine = hw.recommendedEngine;
- needsUpdate = true;
- }
+ // Migration: Switch to Parakeet as default engine (one-time)
+ // - Paid cloud subscribers → screenpipe-cloud (better accuracy)
+ // - Everyone else → parakeet (lightweight, multilingual, works on all hardware)
+ if (!(settings as any)._parakeetDefaultMigrationDone) {
+ const engine = settings.audioTranscriptionEngine;
+ const isWhisperVariant = engine?.includes("whisper");
+ if (isWhisperVariant || engine === "screenpipe-cloud") {
+ if (settings.user?.cloud_subscribed) {
+ settings.audioTranscriptionEngine = "screenpipe-cloud";
+ } else {
+ settings.audioTranscriptionEngine = "parakeet";
}
- // Only mark done on success — if backend wasn't ready, retry next load
- (settings as any)._hardwareCapabilityMigrationDone = true;
needsUpdate = true;
- } catch {
- // Backend not ready (e.g. during SSR) — skip, will retry next settings load
}
+ (settings as any)._parakeetDefaultMigrationDone = true;
+ needsUpdate = true;
}
// Save migrations if needed
diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
index eb488401b..a0e11cd78 100644
--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
@@ -952,7 +952,7 @@ export type CalendarStatus = { available: boolean; authorized: boolean; authoriz
export type ChatGptOAuthStatus = { logged_in: boolean }
export type Credits = { amount: number }
export type EmbeddedLLM = { enabled: boolean; model: string; port: number }
-export type HardwareCapability = { hasGpu: boolean; cpuCores: bigint; totalMemoryGb: number; isWeakForLargeModel: boolean; recommendedEngine: string; reason: string }
+export type HardwareCapability = { hasGpu: boolean; cpuCores: bigint; totalMemoryGb: number; recommendedEngine: string; reason: string }
export type IcsCalendarEntry = { name: string; url: string; enabled: boolean }
export type JsonValue = null | boolean | number | string | JsonValue[] | { [key in string]: JsonValue }
export type LogFile = { name: string; path: string; modified_at: bigint }
@@ -1071,15 +1071,7 @@ monitorIds: string[];
/**
* Capture from all connected monitors.
*/
-useAllMonitors: boolean;
-/**
- * Target frames per second for screen capture.
- */
-fps: number;
-/**
- * Dynamically adjust FPS based on screen content changes.
- */
-adaptiveFps: boolean;
+useAllMonitors: boolean;
/**
* Video quality preset: "low", "balanced", "high", "max".
*/
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/hardware.rs b/apps/screenpipe-app-tauri/src-tauri/src/hardware.rs
index 1624d7938..54b6b1941 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/hardware.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/hardware.rs
@@ -12,7 +12,6 @@ pub struct HardwareCapability {
pub has_gpu: bool,
pub cpu_cores: usize,
pub total_memory_gb: f64,
- pub is_weak_for_large_model: bool,
pub recommended_engine: String,
pub reason: String,
}
@@ -28,52 +27,17 @@ pub fn detect_hardware_capability() -> HardwareCapability {
let cpu_cores = sys.cpus().len();
let total_memory_gb = sys.total_memory() as f64 / (1024.0 * 1024.0 * 1024.0);
- let is_weak =
- cfg!(target_os = "windows") || (!has_gpu && (cpu_cores < 8 || total_memory_gb < 8.0));
-
- let is_windows = cfg!(target_os = "windows");
-
- let (recommended_engine, reason) = if is_windows {
- // Windows lacks Metal/CoreML — local whisper is significantly slower
- (
- "screenpipe-cloud".to_string(),
- format!(
- "Windows lacks GPU acceleration for local transcription ({} cores, {:.1} GB RAM). Cloud engines are recommended for speed and accuracy.",
- cpu_cores, total_memory_gb
- ),
- )
- } else if has_gpu {
- (
- "whisper-large-v3-turbo".to_string(),
- format!(
- "GPU acceleration available ({} cores, {:.1} GB RAM)",
- cpu_cores, total_memory_gb
- ),
- )
- } else if !is_weak {
- (
- "whisper-large-v3-turbo-quantized".to_string(),
- format!(
- "No GPU but strong CPU ({} cores, {:.1} GB RAM) — using quantized model",
- cpu_cores, total_memory_gb
- ),
- )
- } else {
- (
- "whisper-tiny-quantized".to_string(),
- format!(
- "No GPU and limited hardware ({} cores, {:.1} GB RAM) — large models would saturate CPU. Using tiny model to avoid high CPU usage.",
- cpu_cores, total_memory_gb
- ),
- )
- };
+ // Parakeet is the default for all — lightweight ONNX, no GPU needed
+ let reason = format!(
+ "Parakeet TDT 0.6B (multilingual, ONNX) — works on all hardware ({} cores, {:.1} GB RAM)",
+ cpu_cores, total_memory_gb
+ );
HardwareCapability {
has_gpu,
cpu_cores,
total_memory_gb,
- is_weak_for_large_model: is_weak,
- recommended_engine,
+ recommended_engine: "parakeet".to_string(),
reason,
}
}
diff --git a/crates/screenpipe-audio/src/transcription/engine.rs b/crates/screenpipe-audio/src/transcription/engine.rs
index 498adb933..281965c69 100644
--- a/crates/screenpipe-audio/src/transcription/engine.rs
+++ b/crates/screenpipe-audio/src/transcription/engine.rs
@@ -120,12 +120,12 @@ impl TranscriptionEngine {
#[cfg(feature = "parakeet")]
{
let model = tokio::task::spawn_blocking(|| {
- audiopipe::Model::from_pretrained("parakeet-tdt-0.6b-v2")
+ audiopipe::Model::from_pretrained("parakeet-tdt-0.6b-v3")
})
.await
.map_err(|e| anyhow!("parakeet model loading task panicked: {}", e))?
.map_err(|e| anyhow!("failed to load parakeet model: {}", e))?;
- info!("parakeet-tdt-0.6b-v2 model loaded successfully");
+ info!("parakeet-tdt-0.6b-v3 (multilingual) model loaded successfully");
Ok(Self::Parakeet {
model: Arc::new(StdMutex::new(model)),
vocabulary,
diff --git a/crates/screenpipe-config/src/defaults.rs b/crates/screenpipe-config/src/defaults.rs
index a7262063d..41d605293 100644
--- a/crates/screenpipe-config/src/defaults.rs
+++ b/crates/screenpipe-config/src/defaults.rs
@@ -44,8 +44,6 @@ impl DeviceTier {
/// Called once when creating default settings. Sets values that differ
/// by operating system (e.g., FPS, ignored windows).
pub fn apply_platform_defaults(settings: &mut RecordingSettings) {
- settings.fps = if cfg!(target_os = "macos") { 0.5 } else { 1.0 };
-
// Platform-specific system windows to ignore
let mut ignored = vec![
"bit bar".to_string(),
@@ -80,20 +78,16 @@ pub fn apply_platform_defaults(settings: &mut RecordingSettings) {
pub fn apply_tier_defaults(settings: &mut RecordingSettings, tier: DeviceTier) {
match tier {
DeviceTier::High => {
- settings.fps = if cfg!(target_os = "macos") { 0.5 } else { 1.0 };
settings.video_quality = "balanced".to_string();
settings.power_mode = Some("auto".to_string());
}
DeviceTier::Mid => {
- settings.fps = if cfg!(target_os = "macos") { 0.3 } else { 0.5 };
settings.video_quality = "balanced".to_string();
settings.power_mode = Some("auto".to_string());
}
DeviceTier::Low => {
- settings.fps = 0.2;
settings.video_quality = "low".to_string();
settings.power_mode = Some("battery_saver".to_string());
- settings.adaptive_fps = true;
}
}
}
@@ -113,10 +107,8 @@ mod tests {
fn low_tier_is_conservative() {
let mut settings = RecordingSettings::default();
apply_tier_defaults(&mut settings, DeviceTier::Low);
- assert!(settings.fps <= 0.2);
assert_eq!(settings.video_quality, "low");
assert_eq!(settings.power_mode.as_deref(), Some("battery_saver"));
- assert!(settings.adaptive_fps);
}
#[test]
diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rs
index 19636aeb1..c20183291 100644
--- a/crates/screenpipe-config/src/recording.rs
+++ b/crates/screenpipe-config/src/recording.rs
@@ -98,13 +98,6 @@ pub struct RecordingSettings {
#[serde(rename = "useAllMonitors")]
pub use_all_monitors: bool,
- /// Target frames per second for screen capture.
- pub fps: f32,
-
- /// Dynamically adjust FPS based on screen content changes.
- #[serde(rename = "adaptiveFps")]
- pub adaptive_fps: bool,
-
/// Video quality preset: "low", "balanced", "high", "max".
#[serde(rename = "videoQuality")]
pub video_quality: String,
@@ -232,7 +225,7 @@ impl Default for RecordingSettings {
fn default() -> Self {
Self {
disable_audio: false,
- audio_transcription_engine: "whisper-large-v3-turbo".to_string(),
+ audio_transcription_engine: "parakeet".to_string(),
transcription_mode: "realtime".to_string(),
audio_devices: vec![],
use_system_default_audio: true,
@@ -245,8 +238,6 @@ impl Default for RecordingSettings {
disable_vision: false,
monitor_ids: vec![],
use_all_monitors: true,
- fps: default_fps(),
- adaptive_fps: false,
video_quality: "balanced".to_string(),
ignored_windows: vec![],
included_windows: vec![],
@@ -277,13 +268,7 @@ fn default_true() -> bool {
true
}
-fn default_fps() -> f32 {
- if cfg!(target_os = "macos") {
- 0.5
- } else {
- 1.0
- }
-}
+
#[cfg(test)]
mod tests {