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
fix(settings): windows recording shortcuts + cloud transcription fallback
louis0301951213e98341b1
diff --git a/apps/screenpipe-app-tauri/components/onboarding/shortcuts.tsx b/apps/screenpipe-app-tauri/components/onboarding/shortcuts.tsxindex 8662908b7..67da0aede 100644--- a/apps/screenpipe-app-tauri/components/onboarding/shortcuts.tsx+++ b/apps/screenpipe-app-tauri/components/onboarding/shortcuts.tsx@@ -45,14 +45,14 @@ export default function OnboardingShortcuts({{id: "startRecordingShortcut",title: "Start Recording",- defaultShortcut: "Super+Alt+U",+ defaultShortcut: isWindows ? "Alt+Shift+U" : "Super+Ctrl+U",description: "Begin screen recording",value: settings.startRecordingShortcut,},{id: "stopRecordingShortcut",title: "Stop Recording",- defaultShortcut: "Super+Alt+X",+ defaultShortcut: isWindows ? "Alt+Shift+X" : "Super+Ctrl+X",description: "End screen recording",value: settings.stopRecordingShortcut,},diff --git a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rsindex 77768e0ce..cf78ea0a4 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs@@ -58,8 +58,29 @@ pub struct EmbeddedServerConfig {impl EmbeddedServerConfig {pub fn from_store(store: &SettingsStore, data_dir: PathBuf) -> Self {- info!("Building EmbeddedServerConfig from store: enable_ui_events={}, disable_audio={}, disable_vision={}",+ info!("Building EmbeddedServerConfig from store: enable_ui_events={}, disable_audio={}, disable_vision={}",store.enable_ui_events, store.disable_audio, store.disable_vision);++ // Fallback: if engine requires cloud auth but user is not logged in, use local whisper+ let audio_transcription_engine = {+ let engine = store.audio_transcription_engine.clone();+ let has_user_id = store.user.id.as_ref().map_or(false, |id| !id.is_empty());+ let has_deepgram_key = !store.deepgram_api_key.is_empty()+ && store.deepgram_api_key != "default";++ match engine.as_str() {+ "screenpipe-cloud" if !has_user_id => {+ warn!("screenpipe-cloud selected but user not logged in, falling back to whisper-large-v3-turbo");+ "whisper-large-v3-turbo".to_string()+ }+ "deepgram" if !has_deepgram_key => {+ warn!("deepgram selected but no API key configured, falling back to whisper-large-v3-turbo");+ "whisper-large-v3-turbo".to_string()+ }+ _ => engine,+ }+ };+Self {port: store.port,data_dir,@@ -70,7 +91,7 @@ impl EmbeddedServerConfig {disable_vision: store.disable_vision,use_pii_removal: store.use_pii_removal,ocr_engine: store.ocr_engine.clone(),- audio_transcription_engine: store.audio_transcription_engine.clone(),+ audio_transcription_engine,monitor_ids: store.monitor_ids.clone(),audio_devices: store.audio_devices.clone(),ignored_windows: store.ignored_windows.clone(),diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex 0fc54999c..8d3df9d2a 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -497,7 +497,13 @@ impl Default for SettingsStore {show_screenpipe_shortcut: "Alt+S".to_string(),#[cfg(not(target_os = "windows"))]show_screenpipe_shortcut: "Super+Ctrl+S".to_string(),+ #[cfg(target_os = "windows")]+ start_recording_shortcut: "Alt+Shift+U".to_string(),+ #[cfg(not(target_os = "windows"))]start_recording_shortcut: "Super+Ctrl+U".to_string(),+ #[cfg(target_os = "windows")]+ stop_recording_shortcut: "Alt+Shift+X".to_string(),+ #[cfg(not(target_os = "windows"))]stop_recording_shortcut: "Super+Ctrl+X".to_string(),start_audio_shortcut: "".to_string(),stop_audio_shortcut: "".to_string(),