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: small ui fixes

Louis Beaumontbd12de80760f
diff --git a/content/docs/pages/docs/cli-reference.mdx b/content/docs/pages/docs/cli-reference.mdx
index 6d66ed0e2..7a54caaa8 100644
--- a/content/docs/pages/docs/cli-reference.mdx
+++ b/content/docs/pages/docs/cli-reference.mdx
@@ -51,9 +51,6 @@ below is the detailed cli reference for screenpipe's core functionality.
- `whisper-large-v3-turbo`: local, highest quality
- default: `whisper-large-v3-turbo`
-- **realtime-audio-transcription-engine** (`--realtime-audio-transcription-engine <ENGINE>`): realtime engine
- - same options as audio-transcription-engine
- - default: `whisper-tiny`
- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription
- default: `false`
@@ -201,7 +198,6 @@ rm -rf venv app.py
- **enable-realtime-audio-transcription** (`--enable-realtime-audio-transcription`): enable realtime transcription
- default: `false`
- requires: at least one `--realtime-audio-device`
- - uses: `--realtime-audio-transcription-engine` (default: whisper-tiny)
- note: experimental feature, may impact system performance
</MotionDiv>
diff --git a/screenpipe-app-tauri/components/recording-settings.tsx b/screenpipe-app-tauri/components/recording-settings.tsx
index 6e3cf37cf..eecfc8d43 100644
--- a/screenpipe-app-tauri/components/recording-settings.tsx
+++ b/screenpipe-app-tauri/components/recording-settings.tsx
@@ -1008,11 +1008,18 @@ export function RecordingSettings() {
enable realtime audio transcription
</h4>
<p className="text-sm text-muted-foreground">
- transcribe audio in real-time as you speak (experimental)
+ transcribe audio in real-time as you speak (dev preview) -{" "}
+ <a
+ href="https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-js/examples/basic-transcription/index.ts"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="text-primary hover:underline"
+ >
+ view example
+ </a>
</p>
</div>
<div className="flex items-center gap-2">
- <Badge variant="secondary">experimental</Badge>
<Switch
id="enableRealtimeAudio"
checked={settings.enableRealtimeAudioTranscription}
@@ -1065,11 +1072,6 @@ export function RecordingSettings() {
<Badge variant="secondary">cloud</Badge>
</div>
</SelectItem>
- <SelectItem value="whisper-tiny">whisper-tiny</SelectItem>
- <SelectItem value="whisper-large">whisper-large</SelectItem>
- <SelectItem value="whisper-large-v3-turbo">
- whisper-large-turbo
- </SelectItem>
</SelectContent>
</Select>
</div>
diff --git a/screenpipe-app-tauri/components/settings/shortcut-section.tsx b/screenpipe-app-tauri/components/settings/shortcut-section.tsx
index 3a5dd494f..2ca00bd7b 100644
--- a/screenpipe-app-tauri/components/settings/shortcut-section.tsx
+++ b/screenpipe-app-tauri/components/settings/shortcut-section.tsx
@@ -5,7 +5,9 @@ import { PipeApi } from "@/lib/api";
import ShortcutRow from "./shortcut-row";
const ShortcutSection = () => {
- const [pipes, setPipes] = useState<{ id: string; source: string }[]>([]);
+ const [pipes, setPipes] = useState<
+ { id: string; source: string; enabled: boolean }[]
+ >([]);
const { settings } = useSettings();
const { profiles, profileShortcuts } = useProfiles();
@@ -14,7 +16,13 @@ const ShortcutSection = () => {
try {
const pipeApi = new PipeApi();
const pipeList = await pipeApi.listPipes();
- setPipes(pipeList.map((p) => ({ id: p.id, source: p.source })));
+ setPipes(
+ pipeList.map((p) => ({
+ id: p.id,
+ source: p.source,
+ enabled: p.enabled,
+ }))
+ );
} catch (error) {
console.error("failed to load pipes:", error);
}
@@ -89,7 +97,7 @@ const ShortcutSection = () => {
</>
)}
- {pipes.length > 0 && (
+ {pipes.filter((p) => p.enabled).length > 0 && (
<>
<div className="mt-8 mb-4">
<h2 className="text-lg font-semibold">pipe shortcuts</h2>
@@ -98,16 +106,18 @@ const ShortcutSection = () => {
</p>
</div>
- {pipes.map((pipe) => (
- <ShortcutRow
- key={pipe.id}
- type="pipe"
- shortcut={`pipe_${pipe.id}`}
- title={`trigger ${pipe.id} pipe`}
- description={`run pipe ${pipe.id}`}
- value={settings.pipeShortcuts[pipe.id]}
- />
- ))}
+ {pipes
+ .filter((p) => p.enabled)
+ .map((pipe) => (
+ <ShortcutRow
+ key={pipe.id}
+ type="pipe"
+ shortcut={`pipe_${pipe.id}`}
+ title={`trigger ${pipe.id} pipe`}
+ description={`run pipe ${pipe.id}`}
+ value={settings.pipeShortcuts[pipe.id]}
+ />
+ ))}
</>
)}
</div>