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

fix: cli

Louis Beaumont567ee537a991
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rs
index 5247f0121..b7afccede 100644
--- a/screenpipe-server/src/bin/screenpipe-server.rs
+++ b/screenpipe-server/src/bin/screenpipe-server.rs
@@ -85,11 +85,11 @@ struct Cli {
save_text_files: bool,
/// Enable cloud audio processing
- #[arg(long, default_value_t = true)]
+ #[arg(long, default_value_t = false)]
cloud_audio_on: bool,
/// Enable cloud OCR processing
- #[arg(long, default_value_t = true)]
+ #[arg(long, default_value_t = false)]
cloud_ocr_on: bool,
}
@@ -301,7 +301,7 @@ async fn main() -> anyhow::Result<()> {
audio_devices_control,
cli.save_text_files,
cli.cloud_audio_on, // Pass the cloud_audio flag
- cli.cloud_ocr_on, // Pass the cloud_ocr flag
+ cli.cloud_ocr_on, // Pass the cloud_ocr flag
)
.await;
@@ -350,8 +350,22 @@ async fn main() -> anyhow::Result<()> {
"Open source | Runs locally | Developer friendly".bright_green()
);
+ // Add warning for cloud arguments
+ if cli.cloud_audio_on || cli.cloud_ocr_on {
+ eprintln!(
+ "{}",
+ "WARNING: You are using cloud now. Make sure to understand the data privacy risks."
+ .bright_yellow()
+ );
+ } else {
+ eprintln!(
+ "{}",
+ "You are using local processing. All your data stays on your computer.".bright_yellow()
+ );
+ }
+
// Keep the main thread running
loop {
tokio::time::sleep(Duration::from_secs(1)).await;
}
-}
\ No newline at end of file
+}