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

Rename openrewind to screenpipe

Louis Beaumont05f83b9fcfc8
diff --git a/openrewind/app/layout.tsx b/openrewind/app/layout.tsx
index 72c2807d3..d1a8980f3 100644
--- a/openrewind/app/layout.tsx
+++ b/openrewind/app/layout.tsx
@@ -69,7 +69,7 @@ export default function RootLayout({
__html: `
(function() {
try {
- var theme = localStorage.getItem('openrewind-ui-theme');
+ var theme = localStorage.getItem('screenpipe-ui-theme');
if (!theme) {
theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
diff --git a/openrewind/app/providers.tsx b/openrewind/app/providers.tsx
index 78622cf1e..6587aeeb5 100644
--- a/openrewind/app/providers.tsx
+++ b/openrewind/app/providers.tsx
@@ -27,7 +27,7 @@ export const Providers = forwardRef<
return (
<NuqsAdapter>
- <ThemeProvider defaultTheme="light" storageKey="openrewind-ui-theme">
+ <ThemeProvider defaultTheme="light" storageKey="screenpipe-ui-theme">
<SettingsProvider>
<ChangelogDialogProvider>
<PostHogProvider client={posthog}>{children}</PostHogProvider>
diff --git a/openrewind/app/settings/page.tsx b/openrewind/app/settings/page.tsx
index 8afa2f691..0493ab467 100644
--- a/openrewind/app/settings/page.tsx
+++ b/openrewind/app/settings/page.tsx
@@ -164,7 +164,7 @@ function SettingsPageContent() {
{/* Footer */}
<div className="p-4 border-t border-border flex-shrink-0">
<div className="text-xs text-muted-foreground text-center">
- OpenRewind Settings
+ screenpipe Settings
</div>
</div>
</div>
diff --git a/openrewind/components/onboarding/explain-instructions.tsx b/openrewind/components/onboarding/explain-instructions.tsx
index 5be12f47f..cbfc6c339 100644
--- a/openrewind/components/onboarding/explain-instructions.tsx
+++ b/openrewind/components/onboarding/explain-instructions.tsx
@@ -30,7 +30,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({
{
icon: MonitorSpeaker,
title: "Background Recording",
- description: "OpenRewind runs quietly in the background, capturing your screen and audio activities without interruption.",
+ description: "screenpipe runs quietly in the background, capturing your screen and audio activities without interruption.",
color: "text-blue-500"
},
{
@@ -54,7 +54,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({
];
const shortcuts = [
- { key: "⌘ + ⌥ + S", description: "Show/Hide OpenRewind" },
+ { key: "⌘ + ⌥ + S", description: "Show/Hide screenpipe" },
{ key: "⌘ + ⌥ + U", description: "Start Recording" },
{ key: "⌘ + ⌥ + X", description: "Stop Recording" },
];
@@ -74,7 +74,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({
You&apos;re All Set! 🎉
</h1>
<p className="text-center text-text-secondary max-w-md">
- OpenRewind is now configured and ready to help you remember everything. Here&apos;s how to get the most out of it.
+ screenpipe is now configured and ready to help you remember everything. Here&apos;s how to get the most out of it.
</p>
</div>
@@ -127,7 +127,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({
className="text-center"
>
<p className="text-sm text-text-secondary mb-4">
- Start using your computer normally. OpenRewind will build your timeline in the background.
+ Start using your computer normally. screenpipe will build your timeline in the background.
</p>
<div className="bg-warning-muted border border-warning rounded-lg p-3">
<p className="text-xs text-text-primary">
@@ -146,7 +146,7 @@ const OnboardingInstructions: React.FC<OnboardingInstructionsProps> = ({
Back
</Button>
<RainbowButton onClick={handleNextSlide}>
- Start Using OpenRewind
+ Start Using screenpipe
<ArrowRight className="w-4 h-4 ml-2" />
</RainbowButton>
</div>
diff --git a/openrewind/components/onboarding/introduction.tsx b/openrewind/components/onboarding/introduction.tsx
index 1b67ef1a4..82800106f 100644
--- a/openrewind/components/onboarding/introduction.tsx
+++ b/openrewind/components/onboarding/introduction.tsx
@@ -66,7 +66,7 @@ const OnboardingIntro: React.FC<OnboardingIntroProps> = ({
];
const demoSteps = [
- "🖥️ OpenRewind quietly records your screen activity",
+ "🖥️ screenpipe quietly records your screen activity",
"🎙️ Captures audio from meetings and conversations",
"📅 Creates a beautiful timeline of your day",
"🤖 AI helps you find anything: 'What did I discuss in my 2pm meeting?'"
@@ -78,13 +78,13 @@ const OnboardingIntro: React.FC<OnboardingIntroProps> = ({
<motion.img
className="w-24 h-24 justify-center"
src="/128x128.png"
- alt="openrewind-logo"
+ alt="screenpipe-logo"
initial={{ scale: 0.8, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
transition={{ duration: 0.5 }}
/>
<h1 className="text-center text-3xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
- Welcome to OpenRewind
+ Welcome to screenpipe
</h1>
<p className="text-center text-lg text-text-secondary mt-2">
Your AI-powered digital memory assistant
@@ -158,7 +158,7 @@ const OnboardingIntro: React.FC<OnboardingIntroProps> = ({
<div className="w-3 h-3 bg-red-500 rounded-full"></div>
<div className="w-3 h-3 bg-yellow-500 rounded-full"></div>
<div className="w-3 h-3 bg-green-500 rounded-full"></div>
- <span className="text-text-secondary text-sm ml-2">OpenRewind Demo</span>
+ <span className="text-text-secondary text-sm ml-2">screenpipe Demo</span>
</div>
<div className="p-6 h-64 bg-gradient-to-br from-surface to-surface-tertiary relative overflow-hidden">
<motion.div
diff --git a/openrewind/components/onboarding/login.tsx b/openrewind/components/onboarding/login.tsx
index 0bc6b3844..db0bea003 100644
--- a/openrewind/components/onboarding/login.tsx
+++ b/openrewind/components/onboarding/login.tsx
@@ -23,7 +23,7 @@ const OnboardingLogin: React.FC<OnboardingLoginProps> = ({
<div className="w-full h-full flex flex-col items-center justify-center space-y-6 py-4">
<div className="w-full max-w-md space-y-6">
<div className="text-center space-y-2 mb-8">
- <h1 className="text-3xl font-bold text-text-primary">login to openrewind</h1>
+ <h1 className="text-3xl font-bold text-text-primary">login to screenpipe</h1>
<p className="text-sm text-text-secondary">
connect your account to unlock all features
</p>
diff --git a/openrewind/components/onboarding/personalize.tsx b/openrewind/components/onboarding/personalize.tsx
index eefa13176..d9400e55e 100644
--- a/openrewind/components/onboarding/personalize.tsx
+++ b/openrewind/components/onboarding/personalize.tsx
@@ -111,7 +111,7 @@ const OnboardingPersonalize: React.FC<OnboardingPersonalizeProps> = ({
<motion.img
className="w-20 h-20 justify-center mb-4"
src="/128x128.png"
- alt="openrewind-logo"
+ alt="screenpipe-logo"
initial={{ scale: 0.8, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
transition={{ duration: 0.5 }}
@@ -120,7 +120,7 @@ const OnboardingPersonalize: React.FC<OnboardingPersonalizeProps> = ({
Choose your AI assistance level
</DialogTitle>
<p className="text-center text-muted-foreground mt-2 max-w-md">
- OpenRewind uses AI to help you find and understand your recorded data. Choose how much AI assistance you&apos;d like.
+ screenpipe uses AI to help you find and understand your recorded data. Choose how much AI assistance you&apos;d like.
</p>
</DialogHeader>
diff --git a/openrewind/components/onboarding/usecases-selection.tsx b/openrewind/components/onboarding/usecases-selection.tsx
index e9a07de60..c7469812e 100644
--- a/openrewind/components/onboarding/usecases-selection.tsx
+++ b/openrewind/components/onboarding/usecases-selection.tsx
@@ -114,7 +114,7 @@ const OnboardingSelection: React.FC<OnboardingSelectionProps> = ({
<motion.img
className="w-20 h-20 justify-center mb-4"
src="/128x128.png"
- alt="openrewind-logo"
+ alt="screenpipe-logo"
initial={{ scale: 0.8, opacity: 0 }}
animate={{ scale: 1, opacity: 1 }}
transition={{ duration: 0.5 }}
diff --git a/openrewind/components/settings/general-settings.tsx b/openrewind/components/settings/general-settings.tsx
index f1fcd4bf1..fdb0e8c74 100644
--- a/openrewind/components/settings/general-settings.tsx
+++ b/openrewind/components/settings/general-settings.tsx
@@ -64,7 +64,7 @@ export default function GeneralSettings() {
Auto-start Application
</h3>
<p className="text-sm text-muted-foreground leading-relaxed">
- Automatically launch OpenRewind when your computer starts up.
+ Automatically launch screenpipe when your computer starts up.
This ensures you never miss capturing important moments.
</p>
</div>
diff --git a/openrewind/components/settings/shortcut-section.tsx b/openrewind/components/settings/shortcut-section.tsx
index 31a5490f8..b0ded5fc8 100644
--- a/openrewind/components/settings/shortcut-section.tsx
+++ b/openrewind/components/settings/shortcut-section.tsx
@@ -20,10 +20,10 @@ const ShortcutSection = () => {
<div className="space-y-6">
<ShortcutRow
type="global"
- shortcut="showOpenrewindShortcut"
- title="toggle openrewind overlay"
+ shortcut="showScreenpipeShortcut"
+ title="toggle screenpipe overlay"
description="global shortcut to show/hide the main interface"
- value={settings.showOpenrewindShortcut}
+ value={settings.showScreenpipeShortcut}
/>
<ShortcutRow
diff --git a/openrewind/components/splash-screen.tsx b/openrewind/components/splash-screen.tsx
index 2c99b8332..9a8066ae2 100644
--- a/openrewind/components/splash-screen.tsx
+++ b/openrewind/components/splash-screen.tsx
@@ -17,7 +17,7 @@ const SplashScreen: React.FC = () => {
>
<motion.img
src="/128x128.png"
- alt="OpenRewind Logo"
+ alt="screenpipe Logo"
className="w-24 h-24"
animate={{
scale: [1, 1.05, 1],
@@ -55,7 +55,7 @@ const SplashScreen: React.FC = () => {
className="text-center"
>
<h1 className="text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent">
- OpenRewind
+ screenpipe
</h1>
<p className="text-sm text-muted-foreground mt-1">
Your AI-powered digital memory
diff --git a/openrewind/components/theme-provider.tsx b/openrewind/components/theme-provider.tsx
index dd7594dcf..cea2e4297 100644
--- a/openrewind/components/theme-provider.tsx
+++ b/openrewind/components/theme-provider.tsx
@@ -26,7 +26,7 @@ const ThemeProviderContext = createContext<ThemeProviderState>(initialState);
export function ThemeProvider({
children,
defaultTheme = "system",
- storageKey = "openrewind-ui-theme",
+ storageKey = "screenpipe-ui-theme",
...props
}: ThemeProviderProps) {
const [theme, setTheme] = useState<ColorTheme | undefined>(undefined);
diff --git a/openrewind/lib/hooks/use-settings.tsx b/openrewind/lib/hooks/use-settings.tsx
index ab550382e..deaa3c743 100644
--- a/openrewind/lib/hooks/use-settings.tsx
+++ b/openrewind/lib/hooks/use-settings.tsx
@@ -148,7 +148,7 @@ let DEFAULT_SETTINGS: Settings = {
contact: null,
cloud_subscribed: null
},
- showOpenrewindShortcut: "Super+Alt+S",
+ showScreenpipeShortcut: "Super+Alt+S",
startRecordingShortcut: "Super+Alt+U",
stopRecordingShortcut: "Super+Alt+X",
startAudioShortcut: "",
@@ -182,7 +182,7 @@ let _store: Promise<Store> | undefined;
export const getStore = async () => {
if (!_store) {
const dir = await localDataDir();
- _store = Store.load(`${dir}/openrewind/store.bin`, {
+ _store = Store.load(`${dir}/screenpipe/store.bin`, {
autoSave: false,
});
}
@@ -326,7 +326,7 @@ export const SettingsProvider: React.FC<{ children: React.ReactNode }> = ({ chil
)
return settings.dataDir;
- return `${homeDirPath}/.openrewind`;
+ return `${homeDirPath}/.screenpipe`;
};
const loadUser = async (token: string, forceReload = false) => {
diff --git a/openrewind/lib/utils/tauri.ts b/openrewind/lib/utils/tauri.ts
index 19b0ba116..0536fe524 100644
--- a/openrewind/lib/utils/tauri.ts
+++ b/openrewind/lib/utils/tauri.ts
@@ -181,7 +181,7 @@ export type OSPermission = "screenRecording" | "microphone"
export type OSPermissionStatus = "notNeeded" | "empty" | "granted" | "denied"
export type OSPermissionsCheck = { screenRecording: OSPermissionStatus; microphone: OSPermissionStatus }
export type OnboardingStore = { isCompleted: boolean; completedAt: string | null }
-export type SettingsStore = { aiPresets: AIPreset[]; deepgramApiKey: string; isLoading: boolean; userId: string; devMode: boolean; audioTranscriptionEngine: string; ocrEngine: string; monitorIds: string[]; audioDevices: string[]; usePiiRemoval: boolean; restartInterval: number; port: number; dataDir: string; disableAudio: boolean; ignoredWindows: string[]; includedWindows: string[]; fps: number; vadSensitivity: string; analyticsEnabled: boolean; audioChunkDuration: number; useChineseMirror: boolean; languages: string[]; embeddedLLM: EmbeddedLLM; enableBeta: boolean; isFirstTimeUser: boolean; autoStartEnabled: boolean; enableFrameCache: boolean; enableUiMonitoring: boolean; platform: string; disabledShortcuts: string[]; user: User; showOpenrewindShortcut: string; startRecordingShortcut: string; stopRecordingShortcut: string; startAudioShortcut: string; stopAudioShortcut: string; enableRealtimeAudioTranscription: boolean; realtimeAudioTranscriptionEngine: string; disableVision: boolean; useAllMonitors: boolean; enableRealtimeVision: boolean }
+export type SettingsStore = { aiPresets: AIPreset[]; deepgramApiKey: string; isLoading: boolean; userId: string; devMode: boolean; audioTranscriptionEngine: string; ocrEngine: string; monitorIds: string[]; audioDevices: string[]; usePiiRemoval: boolean; restartInterval: number; port: number; dataDir: string; disableAudio: boolean; ignoredWindows: string[]; includedWindows: string[]; fps: number; vadSensitivity: string; analyticsEnabled: boolean; audioChunkDuration: number; useChineseMirror: boolean; languages: string[]; embeddedLLM: EmbeddedLLM; enableBeta: boolean; isFirstTimeUser: boolean; autoStartEnabled: boolean; enableFrameCache: boolean; enableUiMonitoring: boolean; platform: string; disabledShortcuts: string[]; user: User; showScreenpipeShortcut: string; startRecordingShortcut: string; stopRecordingShortcut: string; startAudioShortcut: string; stopAudioShortcut: string; enableRealtimeAudioTranscription: boolean; realtimeAudioTranscriptionEngine: string; disableVision: boolean; useAllMonitors: boolean; enableRealtimeVision: boolean }
export type ShowRewindWindow = "Main" | { Settings: { page: string | null } } | { Search: { query: string | null } } | "Onboarding"
export type User = { id: string | null; name: string | null; email: string | null; image: string | null; token: string | null; clerk_id: string | null; api_key: string | null; credits: Credits | null; stripe_connected: boolean | null; stripe_account_status: string | null; github_username: string | null; bio: string | null; website: string | null; contact: string | null; cloud_subscribed: boolean | null }
diff --git a/openrewind/package.json b/openrewind/package.json
index 2808e2c5d..4b8d1b087 100644
--- a/openrewind/package.json
+++ b/openrewind/package.json
@@ -1,5 +1,5 @@
{
- "name": "openrewind",
+ "name": "screenpipe",
"private": true,
"scripts": {
"dev": "next dev",
@@ -9,7 +9,7 @@
"predev": "bun scripts/pre_build.js",
"prebuild": "bun scripts/pre_build.js",
"tauri": "tauri",
- "clean": "rm -rf out && cargo clean && rm -rf src-tauri/{openrewind-*,tesseract-*,ffmpeg*,bun*,ollama*,ui_monitor*} node_modules"
+ "clean": "rm -rf out && cargo clean && rm -rf src-tauri/{screenpipe-*,tesseract-*,ffmpeg*,bun*,ollama*,ui_monitor*} node_modules"
},
"dependencies": {
"@patternfly/react-core": "^6.1.0",
diff --git a/openrewind/src-tauri/Cargo.lock b/openrewind/src-tauri/Cargo.lock
index 43a182e15..a54cccfc5 100755
--- a/openrewind/src-tauri/Cargo.lock
+++ b/openrewind/src-tauri/Cargo.lock
@@ -4078,69 +4078,6 @@ dependencies = [
"pathdiff",
]
-[[package]]
-name = "openrewind"
-version = "0.44.3"
-dependencies = [
- "anyhow",
- "async-stream",
- "axum",
- "base64 0.22.1",
- "chrono",
- "cocoa 0.26.0",
- "core-foundation 0.10.0",
- "core-graphics-helmer-fork",
- "dark-light",
- "dirs 5.0.1",
- "fix-path-env",
- "futures",
- "gtk",
- "http 0.2.12",
- "image 0.25.5",
- "lazy_static",
- "libc",
- "log",
- "nokhwa-bindings-macos",
- "notify",
- "objc",
- "once_cell",
- "reqwest",
- "serde",
- "serde_derive",
- "serde_json",
- "specta",
- "specta-typescript",
- "sysinfo",
- "tauri",
- "tauri-build",
- "tauri-nspanel",
- "tauri-plugin-autostart",
- "tauri-plugin-cli",
- "tauri-plugin-deep-link",
- "tauri-plugin-dialog",
- "tauri-plugin-fs",
- "tauri-plugin-global-shortcut",
- "tauri-plugin-http",
- "tauri-plugin-notification",
- "tauri-plugin-opener",
- "tauri-plugin-os",
- "tauri-plugin-process",
- "tauri-plugin-sentry",
- "tauri-plugin-shell",
- "tauri-plugin-single-instance",
- "tauri-plugin-store",
- "tauri-plugin-updater",
- "tauri-specta",
- "tauri-utils",
- "tokio",
- "tower-http",
- "tracing",
- "tracing-appender",
- "tracing-subscriber",
- "windows-icons",
- "winreg 0.52.0",
-]
-
[[package]]
name = "openssl"
version = "0.10.64"
@@ -5260,6 +5197,69 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+[[package]]
+name = "screenpipe-app"
+version = "0.44.3"
+dependencies = [
+ "anyhow",
+ "async-stream",
+ "axum",
+ "base64 0.22.1",
+ "chrono",
+ "cocoa 0.26.0",
+ "core-foundation 0.10.0",
+ "core-graphics-helmer-fork",
+ "dark-light",
+ "dirs 5.0.1",
+ "fix-path-env",
+ "futures",
+ "gtk",
+ "http 0.2.12",
+ "image 0.25.5",
+ "lazy_static",
+ "libc",
+ "log",
+ "nokhwa-bindings-macos",
+ "notify",
+ "objc",
+ "once_cell",
+ "reqwest",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "specta",
+ "specta-typescript",
+ "sysinfo",
+ "tauri",
+ "tauri-build",
+ "tauri-nspanel",
+ "tauri-plugin-autostart",
+ "tauri-plugin-cli",
+ "tauri-plugin-deep-link",
+ "tauri-plugin-dialog",
+ "tauri-plugin-fs",
+ "tauri-plugin-global-shortcut",
+ "tauri-plugin-http",
+ "tauri-plugin-notification",
+ "tauri-plugin-opener",
+ "tauri-plugin-os",
+ "tauri-plugin-process",
+ "tauri-plugin-sentry",
+ "tauri-plugin-shell",
+ "tauri-plugin-single-instance",
+ "tauri-plugin-store",
+ "tauri-plugin-updater",
+ "tauri-specta",
+ "tauri-utils",
+ "tokio",
+ "tower-http",
+ "tracing",
+ "tracing-appender",
+ "tracing-subscriber",
+ "windows-icons",
+ "winreg 0.52.0",
+]
+
[[package]]
name = "scroll"
version = "0.12.0"
diff --git a/openrewind/src-tauri/Cargo.toml b/openrewind/src-tauri/Cargo.toml
index 692418be0..a7799ec04 100644
--- a/openrewind/src-tauri/Cargo.toml
+++ b/openrewind/src-tauri/Cargo.toml
@@ -1,11 +1,11 @@
[package]
-name = "openrewind"
+name = "screenpipe-app"
version = "0.44.3"
description = ""
authors = ["you"]
license = ""
repository = ""
-default-run = "openrewind"
+default-run = "screenpipe-app"
edition = "2021"
rust-version = "1.84"
diff --git a/openrewind/src-tauri/capabilities/main.json b/openrewind/src-tauri/capabilities/main.json
index 7a30222e0..a6a2f2293 100644
--- a/openrewind/src-tauri/capabilities/main.json
+++ b/openrewind/src-tauri/capabilities/main.json
@@ -114,11 +114,11 @@
"requireLiteralLeadingDot": false
},
{
- "path": "$HOME/.openrewind/**",
+ "path": "$HOME/.screenpipe/**",
"requireLiteralLeadingDot": false
},
{
- "path": "$RESOURCE/.openrewind/**",
+ "path": "$RESOURCE/.screenpipe/**",
"requireLiteralLeadingDot": false
}
]
diff --git a/openrewind/src-tauri/gen/schemas/capabilities.json b/openrewind/src-tauri/gen/schemas/capabilities.json
index e9b78cd0b..085d8ea08 100644
--- a/openrewind/src-tauri/gen/schemas/capabilities.json
+++ b/openrewind/src-tauri/gen/schemas/capabilities.json
@@ -1 +1 @@
-{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","remote":{"urls":["http://localhost:*"]},"local":true,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default","shell:allow-open","store:default","shell:allow-open","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default","sentry:default","opener:allow-open-url","core:window:default","core:window:allow-get-all-windows","core:window:allow-close","core:window:allow-destroy","core:window:allow-start-dragging",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.openrewind/**","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.openrewind/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},"cli:default","shell:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","core:webview:allow-internal-toggle-devtools","core:webview:allow-create-webview-window",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]},"deep-link:default","fs:allow-write-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]},"opener:default","opener:default"]}}
\ No newline at end of file
+{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","remote":{"urls":["http://localhost:*"]},"local":true,"windows":["*"],"permissions":["core:event:allow-listen","core:event:default","core:app:allow-version","process:allow-restart","process:allow-exit","notification:default","core:resources:default","core:menu:default","core:tray:default","shell:default","shell:allow-open","store:default","shell:allow-open","fs:allow-watch","fs:allow-open","fs:default","fs:allow-read-file","fs:allow-read-dir","fs:allow-read","fs:allow-write-file","fs:read-dirs","fs:allow-copy-file","fs:allow-exists","fs:allow-read-text-file","fs:allow-create","fs:allow-mkdir","fs:allow-remove","global-shortcut:allow-is-registered","global-shortcut:allow-register","global-shortcut:allow-unregister","global-shortcut:allow-unregister-all","global-shortcut:default","sentry:default","opener:allow-open-url","core:window:default","core:window:allow-get-all-windows","core:window:allow-close","core:window:allow-destroy","core:window:allow-start-dragging",{"identifier":"fs:scope","allow":[{"path":"$XDG_DATA_HOME","requireLiteralLeadingDot":false},{"path":"$XDG_DATA_HOME/**","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/*","requireLiteralLeadingDot":false},{"path":"$LOCALAPPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/*","requireLiteralLeadingDot":false},{"path":"$APPLOCALDATA/**","requireLiteralLeadingDot":false},{"path":"$APPDATA/*","requireLiteralLeadingDot":false},{"path":"$APPDATA/**","requireLiteralLeadingDot":false},{"path":"$APPCONFIG/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/*","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$HOME/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/*","requireLiteralLeadingDot":false},{"path":"$APP/*","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/data/**","requireLiteralLeadingDot":false},{"path":"$HOME/.screenpipe/**","requireLiteralLeadingDot":false},{"path":"$RESOURCE/.screenpipe/**","requireLiteralLeadingDot":false}]},{"identifier":"shell:allow-execute","allow":[{"args":["-c",{"validator":"\\S+"}],"cmd":"sh","name":"exec-sh","sidecar":false}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"screenpipe","name":"screenpipe","sidecar":true}]},"cli:default","shell:default","shell:allow-spawn","dialog:default","updater:default","os:default","os:allow-arch","os:allow-hostname","os:allow-os-type","core:path:default","process:default","core:webview:allow-internal-toggle-devtools","core:webview:allow-create-webview-window",{"identifier":"shell:allow-execute","allow":[{"args":["pipe","list","--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-list","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","download",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-download","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","enable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-enable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","disable",{"validator":"\\S+"}],"cmd":"screenpipe","name":"screenpipe-pipe-disable","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","update",{"validator":"\\S+"},{"validator":"\\{.*\\}"}],"cmd":"screenpipe","name":"screenpipe-pipe-update","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","delete",{"validator":"\\S+"},"--yes"],"cmd":"screenpipe","name":"screenpipe-pipe-delete","sidecar":true}]},{"identifier":"shell:allow-execute","allow":[{"args":["pipe","info",{"validator":"\\S+"},"--output","json"],"cmd":"screenpipe","name":"screenpipe-pipe-info","sidecar":true}]},{"identifier":"http:default","allow":[{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"http://**/*"},{"methods":["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"],"url":"https://**/*"}]},"deep-link:default","fs:allow-write-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPLOCALDATA"},{"path":"$APPLOCALDATA/**"}]},"opener:default","opener:default"]}}
\ No newline at end of file
diff --git a/openrewind/src-tauri/src/config.rs b/openrewind/src-tauri/src/config.rs
index 0cf11d075..819e5f339 100644
--- a/openrewind/src-tauri/src/config.rs
+++ b/openrewind/src-tauri/src/config.rs
@@ -5,7 +5,7 @@ pub fn get_base_dir(
app: &tauri::AppHandle,
custom_path: Option<String>,
) -> anyhow::Result<PathBuf> {
- let default_path = app.path().local_data_dir().unwrap().join("openrewind");
+ let default_path = app.path().local_data_dir().unwrap().join("screenpipe");
let local_data_dir = custom_path.map(PathBuf::from).unwrap_or(default_path);
diff --git a/openrewind/src-tauri/src/main.rs b/openrewind/src-tauri/src/main.rs
index 7f64099a8..b7398fb6c 100755
--- a/openrewind/src-tauri/src/main.rs
+++ b/openrewind/src-tauri/src/main.rs
@@ -97,7 +97,7 @@ impl ShortcutConfig {
Ok(Self {
show: store
- .show_openrewind_shortcut,
+ .show_screenpipe_shortcut,
start: store
.start_recording_shortcut,
stop: store
@@ -266,8 +266,8 @@ pub struct LogFile {
#[tauri::command]
#[specta::specta]
async fn get_log_files(app: AppHandle) -> Result<Vec<LogFile>, String> {
- let data_dir = get_openrewind_data_dir(&app).map_err(|e| e.to_string())?;
- let openrewind_data_dir = get_data_dir(&app).map_err(|e| e.to_string())?;
+ let data_dir = get_screenpipe_data_dir(&app).map_err(|e| e.to_string())?;
+ let screenpipe_data_dir = get_data_dir(&app).map_err(|e| e.to_string())?;
let mut log_files = Vec::new();
// Collect all entries first
@@ -275,7 +275,7 @@ async fn get_log_files(app: AppHandle) -> Result<Vec<LogFile>, String> {
let mut dir = tokio::fs::read_dir(&data_dir)
.await
.map_err(|e| e.to_string())?;
- let mut openrewind_dir = tokio::fs::read_dir(&openrewind_data_dir)
+ let mut screenpipe_dir = tokio::fs::read_dir(&screenpipe_data_dir)
.await
.map_err(|e| e.to_string())?;
@@ -286,7 +286,7 @@ async fn get_log_files(app: AppHandle) -> Result<Vec<LogFile>, String> {
}
}
- while let Some(entry) = openrewind_dir.next_entry().await.map_err(|e| e.to_string())? {
+ while let Some(entry) = screenpipe_dir.next_entry().await.map_err(|e| e.to_string())? {
// Get metadata immediately for each entry
if let Ok(metadata) = entry.metadata().await {
entries.push((entry, metadata));
@@ -352,8 +352,8 @@ fn get_data_dir(app: &tauri::AppHandle) -> anyhow::Result<PathBuf> {
}
}
-fn get_openrewind_data_dir(app: &tauri::AppHandle) -> anyhow::Result<PathBuf> {
- let default_path = app.path().home_dir().unwrap().join(".openrewind");
+fn get_screenpipe_data_dir(app: &tauri::AppHandle) -> anyhow::Result<PathBuf> {
+ let default_path = app.path().home_dir().unwrap().join(".screenpipe");
Ok(default_path)
}
@@ -741,12 +741,12 @@ async fn main() {
// Set up rolling file appender
let file_appender = RollingFileAppender::builder()
.rotation(Rotation::DAILY)
- .filename_prefix("openrewind-app")
+ .filename_prefix("screenpipe-app")
.filename_suffix("log")
.max_log_files(5)
.build(
- get_openrewind_data_dir(app.handle())
- .unwrap_or_else(|_| dirs::home_dir().unwrap().join(".openrewind")),
+ get_screenpipe_data_dir(app.handle())
+ .unwrap_or_else(|_| dirs::home_dir().unwrap().join(".screenpipe")),
)?;
// Create a custom layer for file logging
@@ -865,7 +865,7 @@ async fn main() {
let update_manager = start_update_check(&app_handle, 5)?;
// Setup tray
- if let Some(_) = app_handle.tray_by_id("openrewind_main") {
+ if let Some(_) = app_handle.tray_by_id("screenpipe_main") {
let update_item = update_manager.update_now_menu_item_ref().clone();
if let Err(e) = tray::setup_tray(&app_handle, &update_item) {
error!("Failed to setup tray: {}", e);
diff --git a/openrewind/src-tauri/src/store.rs b/openrewind/src-tauri/src/store.rs
index 4c8b09faa..0da377e13 100644
--- a/openrewind/src-tauri/src/store.rs
+++ b/openrewind/src-tauri/src/store.rs
@@ -157,8 +157,8 @@ pub struct SettingsStore {
pub disabled_shortcuts: Vec<String>,
#[serde(rename = "user")]
pub user: User,
- #[serde(rename = "showOpenrewindShortcut")]
- pub show_openrewind_shortcut: String,
+ #[serde(rename = "showScreenpipeShortcut")]
+ pub show_screenpipe_shortcut: String,
#[serde(rename = "startRecordingShortcut")]
pub start_recording_shortcut: String,
#[serde(rename = "stopRecordingShortcut")]
@@ -386,7 +386,7 @@ impl Default for SettingsStore {
contact: None,
cloud_subscribed: None,
},
- show_openrewind_shortcut: "Super+Ctrl+S".to_string(),
+ show_screenpipe_shortcut: "Super+Ctrl+S".to_string(),
start_recording_shortcut: "Super+Ctrl+U".to_string(),
stop_recording_shortcut: "Super+Ctrl+X".to_string(),
start_audio_shortcut: "".to_string(),
diff --git a/openrewind/src-tauri/src/tray.rs b/openrewind/src-tauri/src/tray.rs
index d3563532d..b7c6b085d 100644
--- a/openrewind/src-tauri/src/tray.rs
+++ b/openrewind/src-tauri/src/tray.rs
@@ -100,25 +100,6 @@ fn setup_tray_click_handlers(main_tray: &TrayIcon) -> Result<()> {
handle_menu_event(app_handle, event);
});
- main_tray.on_tray_icon_event(move |tray, event| {
- if let tauri::tray::TrayIconEvent::Click {
- button,
- button_state,
- ..
- } = event
- {
- if button == MouseButton::Left && button_state == MouseButtonState::Up {
- let app = tray.app_handle();
- if let Some(window) = app.get_webview_window("main") {
- let _ = window.show();
- let _ = window.set_focus();
- } else {
- show_main_window(app, true);
- }
- }
- }
- });
-
Ok(())
}
diff --git a/openrewind/src-tauri/src/window_api.rs b/openrewind/src-tauri/src/window_api.rs
index 0506b0e36..c1fbfbf4e 100644
--- a/openrewind/src-tauri/src/window_api.rs
+++ b/openrewind/src-tauri/src/window_api.rs
@@ -180,7 +180,7 @@ impl RewindWindowId {
pub fn title(&self) -> &str {
match self {
- RewindWindowId::Main => "openrewind",
+ RewindWindowId::Main => "screenpipe",
RewindWindowId::Settings => "settings",
RewindWindowId::Search => "search",
RewindWindowId::Onboarding => "onboarding",
diff --git a/openrewind/src-tauri/tauri.conf.json b/openrewind/src-tauri/tauri.conf.json
index 7d2ee97e7..ece2ef2e3 100644
--- a/openrewind/src-tauri/tauri.conf.json
+++ b/openrewind/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
- "productName": "openrewind",
- "identifier": "screenpi.pe.openrewind",
+ "productName": "screenpipe",
+ "identifier": "screenpi.pe",
"build": {
"beforeDevCommand": "bun run dev",
"beforeBuildCommand": "bun run build",
@@ -103,7 +103,8 @@
"trayIcon": {
"id": "screenpipe_main",
"iconPath": "assets/screenpipe-logo-tray-white.png",
- "iconAsTemplate": true
+ "iconAsTemplate": true,
+ "menuOnLeftClick": true
},
"security": {
"assetProtocol": {