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: remove dioxus dead code + multi instance issue

Louis Beaumontfc5a6f631a15
diff --git a/Cargo.toml b/Cargo.toml
index 52e22e1c9..a156e7ca5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,11 +4,10 @@ members = [
"screenpipe-vision",
"screenpipe-audio",
"screenpipe-server",
-
]
exclude = [
- "examples/apps/screenpipe-app-tauri/src-tauri",
- "examples/apps/screenpipe-app-dioxus",
+ "examples/apps/screenpipe-app-tauri/src-tauri",
+
]
resolver = "2"
diff --git a/examples/apps/screenpipe-app-dioxus/.gitignore b/examples/apps/screenpipe-app-dioxus/.gitignore
deleted file mode 100644
index 884ebcaf5..000000000
--- a/examples/apps/screenpipe-app-dioxus/.gitignore
+++ /dev/null
@@ -1,9 +0,0 @@
-# Generated by Cargo
-# will have compiled files and executables
-/target/
-/dist/
-/static/
-/.dioxus/
-
-# These are backup files generated by rustfmt
-**/*.rs.bk
diff --git a/examples/apps/screenpipe-app-dioxus/Cargo.toml b/examples/apps/screenpipe-app-dioxus/Cargo.toml
deleted file mode 100644
index 21c3cfc25..000000000
--- a/examples/apps/screenpipe-app-dioxus/Cargo.toml
+++ /dev/null
@@ -1,70 +0,0 @@
-[package]
-name = "screenpipe-app-dioxus"
-version = "0.1.0"
-authors = ["Louis Beaumont <[email protected]>"]
-edition = "2021"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
-[dependencies]
-
-dioxus = { version = "0.5.1", features = ["desktop", "router"] }
-
-# Debug
-tracing = "0.1.40"
-dioxus-logger = "0.5.0"
-
-serde_json = "1.0"
-serde = { version = "1.0", features = ["derive"] }
-
-screenpipe-vision = { path = "../../../screenpipe-vision" }
-
-axum = "0.7.5"
-
-# Logging
-log = "0.4.17"
-env_logger = "0.11.3"
-
-# Tokio
-tokio = { version = "1.36.0", features = ["full"] }
-
-# Directory management
-dirs = "5.0"
-
-# HTTP client
-reqwest = { version = "0.12", features = ["json"] }
-
-# Uuid
-uuid = { version = "1.10.0", features = ["v4"] }
-
-# Sentry
-sentry = "0.34.0"
-
-# Chrono
-chrono = "0.4.3"
-
-# Errors
-anyhow = "1.0"
-
-# Auto launch
-auto-launch = "0.5.0"
-
-# M series MacOS
-[target.'cfg(target_os = "macos")'.dependencies]
-screenpipe-server = { path = "../../../screenpipe-server", features = ["metal"] }
-screenpipe-audio = { path = "../../../screenpipe-audio", features = ["metal"] }
-
-# Linux
-[target.'cfg(target_os = "linux")'.dependencies]
-screenpipe-server = { path = "../../../screenpipe-server", features = [] }
-screenpipe-audio = { path = "../../../screenpipe-audio", features = [] }
-
-# Windows
-[target.'cfg(target_os = "windows")'.dependencies]
-screenpipe-server = { path = "../../../screenpipe-server", features = [] }
-screenpipe-audio = { path = "../../../screenpipe-audio", features = [] }
-
-[features]
-cuda = ["screenpipe-server/cuda", "screenpipe-audio/cuda"]
-metal = ["screenpipe-server/metal", "screenpipe-audio/metal"]
-bundle = []
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/Dioxus.toml b/examples/apps/screenpipe-app-dioxus/Dioxus.toml
deleted file mode 100644
index 6d914ac74..000000000
--- a/examples/apps/screenpipe-app-dioxus/Dioxus.toml
+++ /dev/null
@@ -1,50 +0,0 @@
-[application]
-
-# App (Project) Name
-name = "screenpipe"
-
-# Dioxus App Default Platform
-# desktop, web
-default_platform = "desktop"
-
-# `build` & `serve` dist path
-out_dir = "dist"
-
-# assets file folder
-asset_dir = "assets"
-
-# [bundle]
-icon = [
- # "assets/icon.icns", # for macOS
- "assets/icon.ico", # for Windows
- # "assets/1024.png" # for Linux and as a fallback
-]
-
-[web.app]
-
-# HTML title tag content
-title = "screenpipe"
-
-[web.watcher]
-
-# when watcher trigger, regenerate the `index.html`
-reload_html = true
-
-# which files or dirs will be watcher monitoring
-watch_path = ["src", "assets"]
-
-# include `assets` in web platform
-[web.resource]
-
-# CSS style file
-
-style = ["tailwind.css"]
-
-# Javascript code file
-script = []
-
-[web.resource.dev]
-
-# Javascript code file
-# serve: [dev-server] only
-script = []
diff --git a/examples/apps/screenpipe-app-dioxus/Info.plist b/examples/apps/screenpipe-app-dioxus/Info.plist
deleted file mode 100644
index 018d396d8..000000000
--- a/examples/apps/screenpipe-app-dioxus/Info.plist
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>NSMicrophoneUsageDescription</key>
- <string>This app requires microphone access to record audio.</string>
- <key>NSScreenCaptureUsageDescription</key>
- <string>This app requires screen capture access to record the screen.</string>
-</dict>
-</plist>
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/README.md b/examples/apps/screenpipe-app-dioxus/README.md
deleted file mode 100644
index 736b91124..000000000
--- a/examples/apps/screenpipe-app-dioxus/README.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Development
-
-1. Install npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
-2. Install the tailwind css cli: https://tailwindcss.com/docs/installation
-3. Run the following command in the root of the project to start the tailwind CSS compiler:
-
-```bash
-npx tailwindcss -i ./input.css -o ./assets/tailwind.css --watch
-```
-
-Run the following command in the root of the project to start the Dioxus dev server:
-
-```bash
-dx serve --hot-reload --platform desktop
-```
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/assets/1024.png b/examples/apps/screenpipe-app-dioxus/assets/1024.png
deleted file mode 100644
index fcc2cd849..000000000
Binary files a/examples/apps/screenpipe-app-dioxus/assets/1024.png and /dev/null differ
diff --git a/examples/apps/screenpipe-app-dioxus/assets/header.svg b/examples/apps/screenpipe-app-dioxus/assets/header.svg
deleted file mode 100644
index 59c96f2f2..000000000
--- a/examples/apps/screenpipe-app-dioxus/assets/header.svg
+++ /dev/null
@@ -1,20 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1007 197"><style>
-@keyframes a0_t { 0% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } 35% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { transform: translate(225px,339.9px) scale(1,1) translate(-89.5px,-24px); } 50% { transform: translate(225px,339.9px) scale(1,1) translate(-89.5px,-24px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } 100% { transform: translate(225px,339.9px) scale(0,1) translate(-89.5px,-24px); } }
-@keyframes a1_t { 0% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } 20% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,348.9px) scale(1,1) translate(-41.5px,-11px); } 35% { transform: translate(225px,348.9px) scale(1,1) translate(-41.5px,-11px); } 45% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } 100% { transform: translate(225px,348.9px) scale(0,1) translate(-41.5px,-11px); } }
-@keyframes a3_t { 0% { transform: translate(225px,198.9px) rotate(-90deg); } 10% { transform: translate(225px,198.9px) rotate(-90deg); } 20% { transform: translate(225px,198.9px) rotate(-90deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,198.9px) rotate(0deg); } 35% { transform: translate(225px,198.9px) rotate(0deg); } 45% { transform: translate(225px,198.9px) rotate(0deg); } 50% { transform: translate(225px,198.9px) rotate(0deg); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(225px,198.9px) rotate(-90deg); } 65% { transform: translate(225px,198.9px) rotate(-90deg); } 75% { transform: translate(225px,198.9px) rotate(-90deg); } 100% { transform: translate(225px,198.9px) rotate(-90deg); } }
-@keyframes a2_t { 0% { transform: translate(-200px,-167px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(-150px,-80px); } 20% { transform: translate(-150px,-80px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(-200px,-123px); } 35% { transform: translate(-200px,-123px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { transform: translate(-150px,-100px); } 50% { transform: translate(-150px,-100px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(-150px,-80px); } 65% { transform: translate(-150px,-80px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { transform: translate(-217px,-200px); } 100% { transform: translate(-217px,-200px); } }
-@keyframes a2_o { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { opacity: 1; } 65% { opacity: 1; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { opacity: 0; } 100% { opacity: 0; } }
-@keyframes a2_sw { 0% { stroke-width: 30px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { stroke-width: 8px; } 65% { stroke-width: 8px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { stroke-width: 30px; } 100% { stroke-width: 30px; } }
-@keyframes a2_w { 0% { width: 400px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { width: 300px; } 20% { width: 300px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { width: 400px; } 35% { width: 400px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { width: 300px; } 50% { width: 300px; } 60% { width: 300px; } 65% { width: 300px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { width: 434px; } 100% { width: 434px; } }
-@keyframes a2_h { 0% { height: 334px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { height: 160px; } 20% { height: 160px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { height: 246px; } 35% { height: 246px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 45% { height: 200px; } 50% { height: 200px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { height: 160px; } 65% { height: 160px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { height: 400px; } 100% { height: 400px; } }
-@keyframes a4_t { 0% { transform: translate(143.5px,48.9px); } 10% { transform: translate(180.5px,98.9px); } 100% { transform: translate(180.5px,98.9px); } }
-@keyframes a4_w { 0% { width: 168.5px; } 10% { width: 94.5px; } 100% { width: 94.5px; } }
-@keyframes a4_h { 0% { height: 302px; } 10% { height: 202px; } 100% { height: 202px; } }
-@keyframes a5_t { 0% { transform: translate(217px,324.9px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(190px,324.9px); } 20% { transform: translate(190px,324.9px); } 30% { transform: translate(190px,324.9px); } 100% { transform: translate(190px,324.9px); } }
-@keyframes a5_o { 0% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { opacity: 1; } 20% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
-@keyframes a5_w { 0% { width: 16px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { width: 70px; } 20% { width: 70px; } 30% { width: 70px; } 100% { width: 70px; } }
-@keyframes a6_t { 0% { transform: translate(217px,324.9px); } 50% { transform: translate(217px,324.9px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { transform: translate(190px,324.9px); } 65% { transform: translate(190px,324.9px); } 75% { transform: translate(190px,324.9px); } 100% { transform: translate(190px,324.9px); } }
-@keyframes a6_o { 0% { opacity: 0; } 50% { opacity: 0; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { opacity: 1; } 65% { opacity: 1; animation-timing-function: cubic-bezier(.6,0,.4,1); } 75% { opacity: 0; } 100% { opacity: 0; } }
-@keyframes a6_w { 0% { width: 16px; } 50% { width: 16px; animation-timing-function: cubic-bezier(.6,0,.4,1); } 60% { width: 70px; } 65% { width: 70px; } 75% { width: 70px; } 100% { width: 70px; } }
-@keyframes a7_t { 0% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 10% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 20% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 25% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.6,0,.4,1); } 30% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 35% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 45% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); } 50% { transform: translate(225px,198.9px) scale(.8,.8) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 55% { transform: translate(225px,198.9px) scale(.7,.7) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 60% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); } 65% { transform: translate(225px,198.9px) scale(1,1) translate(-42.3px,-93px); animation-timing-function: cubic-bezier(.4,0,.6,1); } 75% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); } 100% { transform: translate(225px,198.9px) scale(1.5,1.5) translate(-42.3px,-93px); } }
-</style><defs><symbol id="Symbol-2" preserveAspectRatio="none" width="111.5" height="186" viewBox="0 0 111.5 186" overflow="visible"><g transform="translate(8.5,4.5)"><rect x="4" width="85" height="8" fill="#d9d9d9"/><rect x="4" y="26" width="85" height="8" fill="#d9d9d9"/><rect x="25" y="56" width="43" height="8" fill="#d9d9d9"/><rect width="85" height="8" fill="#d9d9d9" transform="translate(46.5,175) rotate(180) scale(-1,1) translate(-42.5,-4)"/><rect width="85" height="8" fill="#d9d9d9" transform="translate(46.5,149) rotate(180) scale(-1,1) translate(-42.5,-4)"/><rect width="43" height="8" fill="#d9d9d9" transform="translate(46.5,119) rotate(180) scale(-1,1) translate(-21.5,-4)"/><path d="M0 4c0 53 94.5 115 94.5 169" stroke="#3cc4dc" stroke-width="17" stroke-linecap="square" fill="none"/><path d="M94.5 4c0 53-94.5 115-94.5 169" stroke="#fb422d" stroke-width="17" stroke-linecap="square" fill="none"/></g></symbol><symbol id="Symbol-5" preserveAspectRatio="none" width="84.5" height="186" viewBox="0 0 84.5 186" overflow="visible"><g transform="translate(42.3,93) scale(5.352,6.9) translate(-16,60)"><g transform="translate(-34.9,-125.8)"><g transform="translate(24,5)"><path d="M33 46.5c0 3.1-0.8 5.5-2.2 7.4c-1.4 1.9-3.3 3.6-5.4 5.4c-2.2 1.7-4.5 3.6-6.3 6.2c-1.8 2.5-3.1 5.5-3.1 9.5h4.7c0-3.1 .9-5.4 2.2-7.3c1.4-1.9 3.3-3.5 5.5-5.3c2.1-1.8 4.4-3.7 6.2-6.2c1.8-2.6 3.1-5.6 3.1-9.7Z" fill="#e96020"/><path d="M20.4 70.7c-0.6 0-1 .5-1 1.1c0 .7 .4 1.2 1 1.2h12.9c.7 0 1.2-0.5 1.2-1.2c0-0.6-0.5-1.1-1.2-1.1Z" fill="#2d323b"/><path d="M21.8 66.6c-0.7 0-1 .6-1 1.2c0 .6 .3 1 .9 1h10.3c.6 0 1.1-0.5 1.1-1.1c0-0.6-0.5-1.1-1.1-1.1Z" fill="#2d323b"/><path d="M21.8 53c-0.7 0-1.2 .5-1.1 1.1c0 .6 .4 1.1 1.1 1.1h10.2c.6 0 .9-0.6 .9-1.2c0-0.6-0.3-1-0.9-1Z" fill="#2d323b"/><path d="M20.4 48.8c-0.6 0-1.2 .5-1.2 1.1c0 .7 .6 1.2 1.2 1.2h12.9c.7 0 1-0.5 1-1.1c0-0.7-0.3-1.2-1-1.2Z" fill="#2d323b"/><path d="M16 46.5c0 4.1 1.3 7.1 3.1 9.7c1.8 2.5 4.1 4.4 6.3 6.2c2.1 1.8 4 3.6 5.4 5.5c1.4 1.9 2.2 4 2.2 7.1h4.7c0-4-1.3-7.1-3.1-9.6c-1.8-2.5-4.1-4.4-6.2-6.2c-2.2-1.8-4.1-3.4-5.5-5.3c-1.3-1.9-2.2-4.3-2.2-7.4Z" fill="#00a8d6"/></g></g></g></symbol></defs><rect width="1007" height="197" stroke="#0f1116" fill="#0f1116" stroke-width="0"/><path fill="#fff" d="M83.3 106.1v-65.7h17c4.2 0 7.9 .8 11 2.4c3.1 1.6 5.5 3.9 7.2 6.9c1.7 2.9 2.6 6.4 2.6 10.4v26.2c0 4-0.9 7.5-2.6 10.5c-1.7 3-4.1 5.3-7.2 6.9c-3.1 1.6-6.8 2.4-11 2.4Zm8.1-7.2h8.9c4 0 7.1-1.1 9.3-3.3c2.3-2.3 3.4-5.3 3.4-9.3v-26.2c0-3.9-1.1-7-3.4-9.2c-2.2-2.2-5.3-3.3-9.3-3.3h-8.9Zm45.3 7.2v-7.4h17.5v-34.7h-15.7v-7.4h23.8v42.1h16.7v7.4Zm20.7-58.4c-2 0-3.6-0.5-4.7-1.5c-1.2-1.1-1.7-2.4-1.7-4.2c0-1.8 .5-3.2 1.7-4.3c1.1-1 2.7-1.5 4.7-1.5c1.9 0 3.5 .5 4.6 1.5c1.2 1.1 1.7 2.5 1.7 4.3c0 1.8-0.5 3.1-1.7 4.2c-1.1 1-2.7 1.5-4.6 1.5Zm52.6 59.1c-6 0-10.7-1.7-14.2-5.1c-3.4-3.4-5.1-8-5.1-13.8v-13.1c0-5.9 1.7-10.5 5.1-13.9c3.5-3.3 8.2-5 14.2-5c6 0 10.7 1.7 14.2 5c3.4 3.4 5.2 8 5.2 13.8v13.2c0 5.8-1.8 10.4-5.2 13.8c-3.5 3.4-8.2 5.1-14.2 5.1Zm0-7.2c3.5 0 6.3-1 8.3-3c2-1.9 3-4.8 3-8.7v-13.1c0-3.9-1-6.8-3-8.8c-2-1.9-4.8-2.9-8.3-2.9c-3.5 0-6.2 1-8.2 2.9c-2 2-3 4.9-3 8.8v13.1c0 3.9 1 6.8 3 8.7c2 2 4.7 3 8.2 3Zm31.5 6.5l17.6-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.2-2.3-2.2c-0.5-0.9-0.8-2-0.8-3.3v-4.5c0-1.3 .3-2.4 .8-3.3c.6-1 1.3-1.7 2.3-2.2c1-0.5 2.1-0.8 3.4-0.8c1.3 0 2.4 .3 3.4 .8c1 .5 1.7 1.2 2.3 2.2c.5 .9 .7 2 .7 3.3v2.9h-10.2v1.6c0 1.3 .3 2.3 1 3c.6 .7 1.6 1 2.8 1c1 0 1.9-0.2 2.5-0.5c.7-0.4 1-1 1.2-1.7h2.7c-0.2 1.4-0.9 2.5-2 3.3c-1.2 .8-2.7 1.2-4.4 1.2Zm-3.8-9.9h7.6v-0.9c0-1.3-0.3-2.3-1-3c-0.6-0.7-1.6-1.1-2.8-1.1c-1.2 0-2.2 .4-2.8 1.1c-0.7 .7-1 1.7-1 3Z"/><g transform="translate(764,-14.5) scale(.431111,.440249) translate(-13.9,56.6)"><path fill="#e0e0e0" stroke="#e0e0e0" stroke-linejoin="round" d="M-50.7 4h278.2c10 0 9 0 9 0l41 40c0 0 1 0-9 0h-358c-9.9 0-9 0-9 0l38.8-40c0 0-0.9 0 9 0Z" stroke-width="10" transform="translate(225,339.9) scale(0,1) translate(-89.5,-24)" style="animation: 10s linear infinite both a0_t;"/><rect width="83" height="22" stroke="#fb422d" fill="#e0e0e0" rx="2" stroke-width="0" transform="translate(225,348.9) scale(0,1) translate(-41.5,-11)" style="animation: 10s linear infinite both a1_t;"/><g style="animation: 10s linear infinite both a3_t;"><rect width="400" height="334" stroke="#e0e0e0" fill="none" stroke-width="30" stroke-miterlimit="1" rx="10" opacity="0" transform="translate(225,198.9) rotate(-90) translate(-200,-167)" style="animation: 10s linear infinite both a2_t, 10s linear infinite both a2_o, 10s linear infinite both a2_sw, 10s linear infinite both a2_w, 10s linear infinite both a2_h;"/></g><use width="168.5" height="302" xlink:href="#Symbol-2" opacity="0" transform="translate(227.8,199.9) translate(-84.2,-151)" style="animation: 10s linear infinite both a4_t, 10s linear infinite both a4_w, 10s linear infinite both a4_h;"/><rect width="16" height="8" stroke="#fb422d" fill="#e0e0e0" stroke-width="0" rx="2" opacity="0" transform="translate(225,328.9) translate(-8,-4)" style="animation: 10s linear infinite both a5_t, 10s linear infinite both a5_o, 10s linear infinite both a5_w;"/><rect width="16" height="8" stroke="#fb422d" fill="#e0e0e0" stroke-width="0" rx="2" opacity="0" transform="translate(225,328.9) translate(-8,-4)" style="animation: 10s linear infinite both a6_t, 10s linear infinite both a6_o, 10s linear infinite both a6_w;"/><g transform="translate(225,198.9) scale(1.5,1.5) translate(-42.3,-93)" style="animation: 10s linear infinite both a7_t;"><g transform="translate(42.3,93) scale(5.352,6.9) translate(-16,60)"><g transform="translate(-34.9,-125.8)"><g transform="translate(24,5)"><path d="M33 46.5c0 3.1-0.8 5.5-2.2 7.4c-1.4 1.9-3.3 3.6-5.4 5.4c-2.2 1.7-4.5 3.6-6.3 6.2c-1.8 2.5-3.1 5.5-3.1 9.5h4.7c0-3.1 .9-5.4 2.2-7.3c1.4-1.9 3.3-3.5 5.5-5.3c2.1-1.8 4.4-3.7 6.2-6.2c1.8-2.6 3.1-5.6 3.1-9.7Z" fill="#e96020"/><path d="M20.4 70.7c-0.6 0-1 .5-1 1.1c0 .7 .4 1.2 1 1.2h12.9c.7 0 1.2-0.5 1.2-1.2c0-0.6-0.5-1.1-1.2-1.1Z" fill="#2d323b"/><path d="M21.8 66.6c-0.7 0-1 .6-1 1.2c0 .6 .3 1 .9 1h10.3c.6 0 1.1-0.5 1.1-1.1c0-0.6-0.5-1.1-1.1-1.1Z" fill="#2d323b"/><path d="M21.8 53c-0.7 0-1.2 .5-1.1 1.1c0 .6 .4 1.1 1.1 1.1h10.2c.6 0 .9-0.6 .9-1.2c0-0.6-0.3-1-0.9-1Z" fill="#2d323b"/><path d="M20.4 48.8c-0.6 0-1.2 .5-1.2 1.1c0 .7 .6 1.2 1.2 1.2h12.9c.7 0 1-0.5 1-1.1c0-0.7-0.3-1.2-1-1.2Z" fill="#2d323b"/><path d="M16 46.5c0 4.1 1.3 7.1 3.1 9.7c1.8 2.5 4.1 4.4 6.3 6.2c2.1 1.8 4 3.6 5.4 5.5c1.4 1.9 2.2 4 2.2 7.1h4.7c0-4-1.3-7.1-3.1-9.6c-1.8-2.5-4.1-4.4-6.2-6.2c-2.2-1.8-4.1-3.4-5.5-5.3c-1.3-1.9-2.2-4.3-2.2-7.4Z" fill="#00a8d6"/></g></g></g></g></g></svg>
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/assets/icon.icns b/examples/apps/screenpipe-app-dioxus/assets/icon.icns
deleted file mode 100644
index a62b42c0d..000000000
Binary files a/examples/apps/screenpipe-app-dioxus/assets/icon.icns and /dev/null differ
diff --git a/examples/apps/screenpipe-app-dioxus/assets/icon.ico b/examples/apps/screenpipe-app-dioxus/assets/icon.ico
deleted file mode 100644
index c62d64e30..000000000
Binary files a/examples/apps/screenpipe-app-dioxus/assets/icon.ico and /dev/null differ
diff --git a/examples/apps/screenpipe-app-dioxus/assets/main.css b/examples/apps/screenpipe-app-dioxus/assets/main.css
deleted file mode 100644
index affbeb048..000000000
--- a/examples/apps/screenpipe-app-dioxus/assets/main.css
+++ /dev/null
@@ -1,40 +0,0 @@
-body {
- background-color: #111216;
-}
-
-#main {
- margin: 0;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
-}
-
-#links {
- width: 400px;
- text-align: left;
- font-size: x-large;
- color: white;
- display: flex;
- flex-direction: column;
-}
-
-#links a {
- color: white;
- text-decoration: none;
- margin-top: 20px;
- margin: 10px;
- border: white 1px solid;
- border-radius: 5px;
- padding: 10px;
-}
-
-#links a:hover {
- background-color: #1f1f1f;
- cursor: pointer;
-}
-
-#header {
- max-width: 1200px;
-}
diff --git a/examples/apps/screenpipe-app-dioxus/entitlements.plist b/examples/apps/screenpipe-app-dioxus/entitlements.plist
deleted file mode 100644
index e8e1471d4..000000000
--- a/examples/apps/screenpipe-app-dioxus/entitlements.plist
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>com.apple.security.device.audio-input</key>
- <true/>
- <key>com.apple.security.device.camera</key>
- <true/>
- <key>com.apple.security.device.microphone</key>
- <true/>
- <key>com.apple.security.files.user-selected.read-write</key>
- <true/>
- <key>com.apple.security.screen-capture</key>
- <true/>
- <key>com.apple.developer.persistent-content-capture</key>
- <true/>
-</dict>
-</plist>
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/input.css b/examples/apps/screenpipe-app-dioxus/input.css
deleted file mode 100644
index bd6213e1d..000000000
--- a/examples/apps/screenpipe-app-dioxus/input.css
+++ /dev/null
@@ -1,3 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
\ No newline at end of file
diff --git a/examples/apps/screenpipe-app-dioxus/src/analytics.rs b/examples/apps/screenpipe-app-dioxus/src/analytics.rs
deleted file mode 100644
index c53ee2a1e..000000000
--- a/examples/apps/screenpipe-app-dioxus/src/analytics.rs
+++ /dev/null
@@ -1,145 +0,0 @@
-use log::{error, info};
-use reqwest::Client;
-use serde_json::json;
-use std::fs;
-use std::sync::{Arc, Mutex};
-use std::time::Duration;
-use tokio::time::interval;
-use uuid::Uuid;
-
-pub struct AnalyticsManager {
- client: Client,
- posthog_api_key: String,
- distinct_id: String,
- interval: Duration,
- enabled: Arc<Mutex<bool>>,
- api_host: String,
-}
-
-impl AnalyticsManager {
- pub fn new(posthog_api_key: String, distinct_id: String, interval_hours: u64) -> Self {
- Self {
- client: Client::new(),
- posthog_api_key,
- distinct_id,
- interval: Duration::from_secs(interval_hours * 3600),
- enabled: Arc::new(Mutex::new(true)),
- api_host: "https://eu.i.posthog.com".to_string(),
- }
- }
-
- pub async fn send_event(
- &self,
- event: &str,
- properties: Option<serde_json::Value>,
- ) -> Result<(), Box<dyn std::error::Error>> {
- if !*self.enabled.lock().unwrap() {
- return Ok(());
- }
-
- let posthog_url = format!("{}/capture/", self.api_host);
-
- let mut payload = json!({
- "api_key": self.posthog_api_key,
- "event": event,
- "properties": {
- "distinct_id": self.distinct_id,
- "$lib": "rust-reqwest",
- "timestamp": chrono::Utc::now().to_rfc3339(),
- },
- });
-
- if let Some(props) = properties {
- if let Some(payload_props) = payload["properties"].as_object_mut() {
- payload_props.extend(props.as_object().unwrap_or(&serde_json::Map::new()).clone());
- }
- }
-
- let response = self.client.post(posthog_url).json(&payload).send().await?;
-
- if !response.status().is_success() {
- return Err(format!("PostHog API error: {}", response.status()).into());
- }
-
- Ok(())
- }
-
- pub async fn start_periodic_event(&self) {
- let mut interval = interval(self.interval);
-
- loop {
- interval.tick().await;
- if *self.enabled.lock().unwrap() {
- if let Err(e) = self.send_event("app_still_running", None).await {
- error!("Failed to send periodic PostHog event: {}", e);
- }
- }
- }
- }
-
- pub fn _toggle_analytics(&self) -> bool {
- let mut enabled = self.enabled.lock().unwrap();
- *enabled = !*enabled;
- *enabled
- }
-
- pub async fn track_search(&self) -> Result<(), Box<dyn std::error::Error>> {
- if !*self.enabled.lock().unwrap() {
- return Ok(());
- }
-
- self.send_event("search_request", None).await
- }
-}
-
-pub fn get_or_create_unique_id(app_name: &str) -> Result<String, Box<dyn std::error::Error>> {
- let home_dir = dirs::home_dir().ok_or("Failed to get home directory")?;
- let app_dir = home_dir.join(format!(".{}", app_name));
- let id_file = app_dir.join("unique_id");
-
- if !app_dir.exists() {
- fs::create_dir_all(&app_dir)?;
- }
-
- if id_file.exists() {
- Ok(fs::read_to_string(id_file)?)
- } else {
- let new_id = Uuid::new_v4().to_string();
- fs::write(id_file, &new_id)?;
- Ok(new_id)
- }
-}
-
-pub fn start_analytics(
- posthog_api_key: String,
- app_name: &str,
- interval_hours: u64,
-) -> Result<Arc<AnalyticsManager>, Box<dyn std::error::Error>> {
- let distinct_id = get_or_create_unique_id(app_name)?;
- let analytics_manager = Arc::new(AnalyticsManager::new(
- posthog_api_key,
- distinct_id,
- interval_hours,
- ));
-
- // Send initial event at boot
- tokio::spawn({
- let analytics_manager = analytics_manager.clone();
- async move {
- if let Err(e) = analytics_manager.send_event("app_started", None).await {
- error!("Failed to send initial PostHog event: {}", e);
- }
- info!("Analytics started");
- }
- });
-
- // Start periodic events
- tokio::spawn({
- let analytics_manager = analytics_manager.clone();
- async move {
- analytics_manager.start_periodic_event().await;
- }
- });
-
- Ok(analytics_manager)
-}
diff --git a/examples/apps/screenpipe-app-dioxus/src/logs.rs b/examples/apps/screenpipe-app-dioxus/src/logs.rs
deleted file mode 100644
index 96aac57b6..000000000
--- a/examples/apps/screenpipe-app-dioxus/src/logs.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-use std::io::Write;
-pub struct MultiWriter {
- writers: Vec<Box<dyn Write + Send>>,
-}
-
-impl MultiWriter {
- pub fn new(writers: Vec<Box<dyn Write + Send>>) -> Self {
- MultiWriter { writers }
- }
-}
-
-impl Write for MultiWriter {
- fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
- for writer in &mut self.writers {
- writer.write_all(buf)?;
- }
- Ok(buf.len())
- }
-
- fn flush(&mut self) -> std::io::Result<()> {
- for writer in &mut self.writers {
- writer.flush()?;
- }
- Ok(())
- }
-}
diff --git a/examples/apps/screenpipe-app-dioxus/src/main.rs b/examples/apps/screenpipe-app-dioxus/src/main.rs
deleted file mode 100644
index d3558471b..000000000
--- a/examples/apps/screenpipe-app-dioxus/src/main.rs
+++ /dev/null
@@ -1,368 +0,0 @@
-#![cfg_attr(feature = "bundle", windows_subsystem = "windows")]
-
-use dioxus::prelude::*;
-use dirs::home_dir;
-use log::{error, info, LevelFilter};
-use logs::MultiWriter;
-use screenpipe_server::DatabaseManager;
-use sentry;
-use std::collections::HashMap;
-use std::fs::{self, File};
-use std::io::Write;
-use std::path::PathBuf;
-use std::sync::Arc;
-mod analytics;
-use analytics::AnalyticsManager;
-
-use crate::analytics::start_analytics;
-mod logs;
-
-use screenpipe_audio::{
- default_input_device, default_output_device, list_audio_devices, parse_audio_device,
- AudioDevice, DeviceControl,
-};
-use screenpipe_server::{ResourceMonitor, Server};
-use std::sync::atomic::AtomicBool;
-use std::time::Duration;
-use tokio::sync::mpsc::{self, Sender};
-
-use auto_launch::AutoLaunchBuilder;
-
-fn setup_auto_launch() -> anyhow::Result<()> {
- let auto_launch = AutoLaunchBuilder::new()
- .set_app_name("screenpipe")
- .set_app_path(std::env::current_exe()?.to_str().unwrap())
- .build()?;
-
- auto_launch.enable()?;
- println!("Auto-launch enabled: {}", auto_launch.is_enabled()?);
-
- Ok(())
-}
-
-async fn initialize_audio(
- disable_audio: bool,
- custom_devices: &[String],
- _audio_devices_control_sender: Arc<Sender<(AudioDevice, DeviceControl)>>,
-) -> (Vec<Arc<AudioDevice>>, HashMap<AudioDevice, DeviceControl>) {
- let mut audio_devices = Vec::new();
- let mut devices_status = HashMap::new();
-
- if disable_audio {
- info!("Audio recording is disabled");
- return (audio_devices, devices_status);
- }
-
- info!("Initializing audio devices...");
- let all_audio_devices = list_audio_devices().unwrap_or_default();
-
- for device in all_audio_devices {
- let device_control = DeviceControl {
- is_running: false,
- is_paused: false,
- };
- info!("Audio device: {:?}", device.to_string());
- devices_status.insert(device, device_control);
- }
-
- if custom_devices.is_empty() {
- if let Ok(input_device) = default_input_device() {
- info!("Default input device found: {:?}", input_device.to_string());
- audio_devices.push(Arc::new(input_device));
- }
- if let Ok(output_device) = default_output_device() {
- info!(
- "Default output device found: {:?}",
- output_device.to_string()
- );
- audio_devices.push(Arc::new(output_device));
- }
- } else {
- for device_str in custom_devices {
- if let Ok(device) = parse_audio_device(device_str) {
- info!("Custom device added: {:?}", device.to_string());
- audio_devices.push(Arc::new(device));
- } else {
- error!("Failed to parse audio device: {}", device_str);
- }
- }
- }
-
- if audio_devices.is_empty() {
- error!("No audio devices available. Audio recording will be disabled.");
- } else {
- info!("Using audio devices:");
- // for device in &audio_devices {
- // info!(" {}", device);
- // let device_clone = (**device).clone();
- // let sender_clone = audio_devices_control_sender.clone();
- // spawn(async move {
- // tokio::time::sleep(Duration::from_secs(15)).await;
- // let _ = sender_clone
- // .send((
- // device_clone,
- // DeviceControl {
- // is_running: true,
- // is_paused: false,
- // },
- // ))
- // .await;
- // });
- // }
- }
-
- (audio_devices, devices_status)
-}
-
-async fn setup_server_and_recording(
- db: Arc<DatabaseManager>,
- local_data_dir: Arc<String>,
- port: u16,
- fps: f64,
- audio_chunk_duration: u64,
- disable_audio: bool,
- memory_threshold: f64,
- runtime_threshold: u64,
- analytics_manager: Arc<AnalyticsManager>,
-) -> anyhow::Result<(
- Arc<Sender<(AudioDevice, DeviceControl)>>,
- Vec<Arc<AudioDevice>>,
-)> {
- info!("Setting up server and recording...");
-
- let (audio_devices_control_sender, audio_devices_control_receiver) = mpsc::channel(64);
- let audio_devices_control_sender = Arc::new(audio_devices_control_sender);
- let audio_sender_for_server = audio_devices_control_sender.clone();
- let audio_sender_for_return = audio_devices_control_sender.clone();
-
- let (audio_devices, devices_status) = initialize_audio(
- disable_audio,
- &[], // No custom devices for the app version
- audio_devices_control_sender,
- )
- .await;
-
- // Start resource monitoring
- ResourceMonitor::new(memory_threshold, runtime_threshold, false)
- .start_monitoring(Duration::from_secs(10));
-
- let db_record = db.clone();
- let db_server = db.clone();
-
- let (_control_tx, control_rx) = mpsc::channel(64);
- let vision_control = Arc::new(AtomicBool::new(true));
- let vision_control_server_clone = vision_control.clone();
-
- // Spawn continuous recording task
- spawn(async move {
- let audio_chunk_duration = Duration::from_secs(audio_chunk_duration);
- if let Err(e) = screenpipe_server::start_continuous_recording(
- db_record,
- local_data_dir,
- fps,
- audio_chunk_duration,
- control_rx,
- vision_control,
- audio_devices_control_receiver,
- false
- )
- .await
- {
- log::error!("Continuous recording error: {:?}", e);
- }
- });
- // API plugin for analytics
- let api_plugin = move |req: &axum::http::Request<axum::body::Body>| {
- if req.uri().path() == "/search" {
- let analytics_manager = analytics_manager.clone();
- spawn(async move {
- if let Err(e) = analytics_manager.track_search().await {
- error!("Failed to track search request: {}", e);
- }
- });
- }
- };
-
- // Spawn server task
- spawn(async move {
- let server = Server::new(
- db_server,
- std::net::SocketAddr::from(([0, 0, 0, 0], port)),
- vision_control_server_clone,
- audio_sender_for_server.as_ref().clone(), // Clone the inner Sender
- );
- info!("Starting server...");
-
- if let Err(e) = server.start(devices_status, api_plugin).await {
- error!("Failed to start server: {}", e);
- }
- });
-
- info!("Server started on http://localhost:{}", port);
-
- Ok((audio_sender_for_return, audio_devices))
-}
-
-async fn initialize_database(local_data_dir: Arc<String>) -> Arc<DatabaseManager> {
- Arc::new(
- DatabaseManager::new(&format!("{}/db.sqlite", local_data_dir))
- .await
- .unwrap(),
- )
-}
-
-fn get_local_dir(custom_path: Option<String>) -> anyhow::Result<PathBuf> {
- let default_path = home_dir()
- .ok_or("Failed to get home directory")
- .unwrap()
- .join(".screenpipe");
-
- let local_data_dir = custom_path.map(PathBuf::from).unwrap_or(default_path);
-
- fs::create_dir_all(&local_data_dir)?;
- Ok(local_data_dir)
-}
-
-async fn start_screenpipe() -> anyhow::Result<(
- Arc<Sender<(AudioDevice, DeviceControl)>>,
- Vec<Arc<AudioDevice>>,
-)> {
- // Initialize Sentry
- let _guard = sentry::init(("https://cf682877173997afc8463e5ca2fbe3c7@o4507617161314304.ingest.us.sentry.io/4507617170161664", sentry::ClientOptions {
- release: sentry::release_name!(),
- ..Default::default()
- }));
-
- // Set up logging
- let mut builder = env_logger::Builder::new();
- builder
- .filter(None, LevelFilter::Info)
- .filter_module("tokenizers", LevelFilter::Error)
- .filter_module("rusty_tesseract", LevelFilter::Error)
- .filter_module("symphonia", LevelFilter::Error);
-
- let debug = true;
-
- if debug {
- builder.filter(Some("screenpipe"), LevelFilter::Debug);
- }
-
- let base_dir = get_local_dir(None)?;
- fs::create_dir_all(&base_dir)?;
-
- let log_file = File::create(format!("{}/screenpipe.log", base_dir.to_string_lossy()))?;
- let multi_writer = MultiWriter::new(vec![
- Box::new(log_file) as Box<dyn Write + Send>,
- Box::new(std::io::stdout()) as Box<dyn Write + Send>,
- ]);
-
- builder.target(env_logger::Target::Pipe(Box::new(multi_writer)));
- builder.format_timestamp_secs().init();
-
- // Initialize local data directory and database
- let local_data_dir = Arc::new(
- get_local_dir(None)
- .unwrap()
- .join("data")
- .to_string_lossy()
- .into_owned(),
- );
- let db = initialize_database(local_data_dir.clone()).await;
-
- // Start analytics
- let posthog_api_key = "phc_Bt8GoTBPgkCpDrbaIZzJIEYt0CrJjhBiuLaBck1clce".to_string();
- let app_name = "screenpipe";
- let interval_hours = 1;
- let analytics_manager = start_analytics(posthog_api_key, app_name, interval_hours).unwrap();
-
- // Setup server and recording
- let (audio_devices_control_sender, audio_devices) = setup_server_and_recording(
- db,
- local_data_dir,
- 3030, // default port
- 1.0, // default fps
- 30, // default audio_chunk_duration
- false, // default disable_audio
- 80.0, // default memory_threshold
- 3600, // default runtime_threshold
- analytics_manager,
- )
- .await?;
-
- Ok((audio_devices_control_sender, audio_devices))
-}
-
-fn main() {
- if let Err(e) = setup_auto_launch() {
- eprintln!("Failed to set up auto-launch: {}", e);
- }
-
- launch_desktop(app)
-}
-
-fn app() -> Element {
- let recording = use_signal(|| false);
- let mut audio_sender = use_signal(|| None::<Arc<Sender<(AudioDevice, DeviceControl)>>>);
- let mut audio_devices = use_signal(|| Vec::new());
-
- use_future(move || async move {
- match start_screenpipe().await {
- Ok((sender, devices)) => {
- audio_sender.set(Some(sender));
- audio_devices.set(devices);
- }
- Err(e) => {
- eprintln!("Failed to start Screenpipe: {}", e);
- std::process::exit(1);
- }
- }
- });
-
- let start_recording = move |_| {
- let mut recording = recording.clone();
- let sender = audio_sender.read().clone();
- let devices = audio_devices.read().clone();
- spawn(async move {
- if let Some(sender) = sender {
- for device in &devices {
- let _ = sender
- .send((
- (**device).clone(),
- DeviceControl {
- is_running: true,
- is_paused: false,
- },
- ))
- .await;
- }
- recording.set(true);
- }
- });
- };
- rsx! {
- div {
- h1 { "Welcome to screen | ⭐️" }
- p {
- "It's running. We record your screen 24/7! Click the button below to start recording audio."
- }
- br {}
-
- button {
- onclick: start_recording,
- disabled: "{recording}",
- "Start Recording microphone"
- // "{if *recording { "Recording..." } else { "Start Recording" }}"
- }
- br {}
-
- a {
- href: "https://github.com/louis030195/screen-pipe",
- "Github"
- }
- br {}
- p {
- "Send feedback: [email protected]"
- }
- }
- }
-}
diff --git a/examples/apps/screenpipe-app-dioxus/tailwind.config.js b/examples/apps/screenpipe-app-dioxus/tailwind.config.js
deleted file mode 100644
index 2a69d5803..000000000
--- a/examples/apps/screenpipe-app-dioxus/tailwind.config.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/** @type {import('tailwindcss').Config} */
-module.exports = {
- mode: "all",
- content: ["./src/**/*.{rs,html,css}", "./dist/**/*.html"],
- theme: {
- extend: {},
- },
- plugins: [],
-};
diff --git a/examples/apps/screenpipe-app-tauri/bun.lockb b/examples/apps/screenpipe-app-tauri/bun.lockb
index 82bdb39ff..0116c9c97 100755
Binary files a/examples/apps/screenpipe-app-tauri/bun.lockb and b/examples/apps/screenpipe-app-tauri/bun.lockb differ
diff --git a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index f82bd505e..9703b3646 100755
--- a/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/examples/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -66,12 +66,21 @@ async fn use_cli(
}
fn spawn_sidecar(app: &tauri::AppHandle) -> Result<CommandChild, String> {
- // if any screenpipe already running, kill it
- let _ = tokio::process::Command::new("pkill")
- .arg("-f")
- .arg("screenpipe")
- .output()
- .await;
+
+ // basically it user hard kill the app it does not kill the sidecar
+ // resulting in multiple screenpipe instances
+ // (hard kill = cli, right click bottom bar), otherwise click on windows close should
+ // properly kill the sidecar
+ tauri::async_runtime::spawn(async {
+ let _ = tokio::process::Command::new("pkill")
+ .arg("-f")
+ .arg("screenpipe")
+ .output()
+ .await;
+ });
+
+ // sleep 1s hack
+ std::thread::sleep(std::time::Duration::from_secs(1));
let sidecar = app.shell().sidecar("screenpipe").unwrap();
let (mut rx, child) = sidecar
@@ -254,8 +263,6 @@ async fn main() {
Ok(())
});
-
-
// Spawn the sidecar initially
let sidecar_state = app.state::<SidecarState>();
let app_handle = app.handle().clone();