Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

Changed name from Fluid to FluidVoice + Debug setting changes + updater changes

altic-dev6789b1163c42
diff --git a/Fluid.xcodeproj/xcshareddata/xcschemes/Fluid.xcscheme b/Fluid.xcodeproj/xcshareddata/xcschemes/Fluid.xcscheme
index 5bc3f1ef..93b13239 100644
--- a/Fluid.xcodeproj/xcshareddata/xcschemes/Fluid.xcscheme
+++ b/Fluid.xcodeproj/xcshareddata/xcschemes/Fluid.xcscheme
@@ -16,7 +16,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7C078D8E2E3B339200FB7CAC"
- BuildableName = "Fluid.app"
+ BuildableName = "FluidVoice.app"
BlueprintName = "fluid"
ReferencedContainer = "container:Fluid.xcodeproj">
</BuildableReference>
@@ -45,7 +45,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7C078D8E2E3B339200FB7CAC"
- BuildableName = "Fluid.app"
+ BuildableName = "FluidVoice.app"
BlueprintName = "fluid"
ReferencedContainer = "container:Fluid.xcodeproj">
</BuildableReference>
@@ -62,7 +62,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7C078D8E2E3B339200FB7CAC"
- BuildableName = "Fluid.app"
+ BuildableName = "FluidVoice.app"
BlueprintName = "fluid"
ReferencedContainer = "container:Fluid.xcodeproj">
</BuildableReference>
diff --git a/Info.plist b/Info.plist
index f20b83c8..d1eb680c 100644
--- a/Info.plist
+++ b/Info.plist
@@ -3,26 +3,26 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
- <string>Fluid</string>
+ <string>FluidVoice</string>
<key>CFBundleName</key>
- <string>Fluid</string>
+ <string>FluidVoice</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>CFBundleShortVersionString</key>
- <string>1.3</string>
+ <string>1.3.2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.productivity</string>
<key>NSAccessibilityUsageDescription</key>
- <string>Fluid needs Accessibility permission to listen for global hotkeys and type text into other apps when you stop recording.</string>
+ <string>FluidVoice needs Accessibility permission to listen for global hotkeys and type text into other apps when you stop recording.</string>
<key>NSMicrophoneUsageDescription</key>
- <string>Fluid needs microphone access to record your voice for speech-to-text transcription. Your audio is processed locally and never sent to external servers.</string>
+ <string>FluidVoice needs microphone access to record your voice for speech-to-text transcription. Your audio is processed locally and never sent to external servers.</string>
<key>LSUIElement</key>
<false/>
<key>NSAppleEventsUsageDescription</key>
- <string>Fluid needs permission to control system events for managing launch at startup settings.</string>
+ <string>FluidVoice needs permission to control system events for managing launch at startup settings.</string>
</dict>
</plist>
diff --git a/Package.swift b/Package.swift
index 80ea1c7a..8ce20ca7 100644
--- a/Package.swift
+++ b/Package.swift
@@ -4,7 +4,7 @@
import PackageDescription
let package = Package(
- name: "Fluid",
+ name: "FluidVoice",
platforms: [
.macOS(.v13)
],
@@ -15,7 +15,7 @@ let package = Package(
],
targets: [
.executableTarget(
- name: "Fluid",
+ name: "FluidVoice",
dependencies: [
"AppUpdater",
"FluidAudio",
diff --git a/README.md b/README.md
index fded8bf9..809f25bb 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Fluid
+# FluidVoice
Voice-to-text dictation app for macOS with AI enhancement.
@@ -31,7 +31,7 @@ Voice-to-text dictation app for macOS with AI enhancement.
```bash
git clone https://github.com/altic-dev/Fluid-oss.git
cd Fluid-oss
-open Fluid.xcodeproj
+open FluidVoice.xcodeproj
```
Build and run in Xcode. All dependencies are managed via Swift Package Manager.
@@ -50,14 +50,14 @@ Follow development updates on X: [@ALTIC_DEV](https://x.com/ALTIC_DEV)
## License
-This project is licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/).
+This project is licensed under the [Apache License 2.0](LICENSE).
---
**This project is completely free and open source.** Since I don't get anything out of this other than helping the community, the only way you can support this work is by starring the repo.
**Please star this repository if:**
-- You find Fluid useful
+- You find FluidVoice useful
- You want to see more AI improvements
- You appreciate free, quality software
- You want to help others discover this tool
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swift
index 26a2a152..1005d130 100644
--- a/Sources/Fluid/ContentView.swift
+++ b/Sources/Fluid/ContentView.swift
@@ -110,7 +110,7 @@ struct ContentView: View {
@State private var showInDock: Bool = SettingsStore.shared.showInDock
@State private var showRestartPrompt: Bool = false
@State private var didOpenAccessibilityPane: Bool = false
- private let accessibilityRestartFlagKey = "Fluid_AccessibilityRestartPending"
+ private let accessibilityRestartFlagKey = "FluidVoice_AccessibilityRestartPending"
// MARK: - Voice Recognition Model Management
// Models scoped by provider (name -> [models])
@@ -447,7 +447,7 @@ struct ContentView: View {
.listRowBackground(sidebarRowBackground)
}
.listStyle(.sidebar)
- .navigationTitle("Fluid")
+ .navigationTitle("FluidVoice")
.background(sidebarBackground)
.scrollContentBackground(.hidden)
}
@@ -552,14 +552,14 @@ struct ContentView: View {
.font(.system(size: 32))
.foregroundStyle(.blue)
VStack(alignment: .leading) {
- Text("Welcome to Fluid")
+ Text("Welcome to FluidVoice")
.font(.system(size: 28, weight: .bold))
Text("Your AI-powered voice transcription assistant")
.font(.system(size: 16))
.foregroundStyle(.secondary)
}
}
- Text("Follow this quick setup to start using Fluid.")
+ Text("Follow this quick setup to start using FluidVoice.")
.font(.system(size: 14))
.foregroundStyle(.secondary)
.padding(.top, 4)
@@ -580,7 +580,7 @@ struct ContentView: View {
SetupStepView(
step: 1,
title: "Grant Microphone Permission",
- description: "Allow Fluid to access your microphone for voice input",
+ description: "Allow FluidVoice to access your microphone for voice input",
status: asr.micStatus == .authorized ? .completed : .pending,
action: {
selectedSidebarItem = .recording
@@ -1202,8 +1202,8 @@ struct ContentView: View {
instructionStep(number: "2", text: "Choose **Allow** in the system dialog")
} else if asr.micStatus == .denied {
instructionStep(number: "1", text: "Click **Open Settings** above")
- instructionStep(number: "2", text: "Find **Fluid** in the microphone list")
- instructionStep(number: "3", text: "Toggle **Fluid ON** to allow access")
+ instructionStep(number: "2", text: "Find **FluidVoice** in the microphone list")
+ instructionStep(number: "3", text: "Toggle **FluidVoice ON** to allow access")
}
}
.padding(.leading, 4)
@@ -1273,7 +1273,7 @@ struct ContentView: View {
VStack(alignment: .leading, spacing: 4) {
Text("Launch at startup")
.font(.headline)
- Text("Automatically start Fluid when you log in")
+ Text("Automatically start FluidVoice when you log in")
.font(.caption)
.foregroundStyle(.secondary)
}
@@ -1293,7 +1293,7 @@ struct ContentView: View {
VStack(alignment: .leading, spacing: 4) {
Text("Show in Dock")
.font(.headline)
- Text("Display Fluid icon in the Dock")
+ Text("Display FluidVoice icon in the Dock")
.font(.caption)
.foregroundStyle(.secondary)
}
@@ -1699,7 +1699,7 @@ struct ContentView: View {
.foregroundStyle(.blue)
.fontWeight(.semibold)
.frame(width: 16)
- Text("Navigate to Applications and select **Fluid**")
+ Text("Navigate to Applications and select **FluidVoice**")
.font(.caption)
.foregroundStyle(.primary)
}
@@ -1709,7 +1709,7 @@ struct ContentView: View {
.foregroundStyle(.blue)
.fontWeight(.semibold)
.frame(width: 16)
- Text("Click **Open**, then toggle **Fluid ON** in the list")
+ Text("Click **Open**, then toggle **FluidVoice ON** in the list")
.font(.caption)
.foregroundStyle(.primary)
}
@@ -1718,7 +1718,7 @@ struct ContentView: View {
// Helper buttons
HStack(spacing: 12) {
- Button("Reveal Fluid in Finder") {
+ Button("Reveal FluidVoice in Finder") {
revealAppInFinder()
}
.buttonStyle(InlineButtonStyle())
@@ -1754,18 +1754,6 @@ struct ContentView: View {
}
VStack(alignment: .leading, spacing: 12) {
- HStack(spacing: 12) {
- Toggle("Enable Debug Logging", isOn: Binding(
- get: { SettingsStore.shared.enableDebugLogs },
- set: { SettingsStore.shared.enableDebugLogs = $0 }
- ))
- .toggleStyle(GlassToggleStyle())
-
- Text("⚠️")
- .font(.caption)
- .foregroundStyle(.orange)
- }
-
Button {
let url = FileLogger.shared.currentLogFileURL()
if FileManager.default.fileExists(atPath: url.path) {
@@ -1780,7 +1768,7 @@ struct ContentView: View {
.buttonStyle(GlassButtonStyle())
.buttonHoverEffect()
- Text("Enable debug logging to see detailed information about app operations. This can help with troubleshooting but may impact performance. Error and warning messages are always shown regardless of this setting.")
+ Text("Click to reveal the debug log file. This file contains detailed information about app operations and can help with troubleshooting issues.")
.font(.caption)
.foregroundStyle(.secondary)
.padding(.leading, 4)
@@ -2605,7 +2593,7 @@ struct ContentView: View {
VStack(alignment: .leading) {
Text("Send Feedback")
.font(.system(size: 28, weight: .bold))
- Text("Help us improve Fluid")
+ Text("Help us improve FluidVoice")
.font(.system(size: 16))
.foregroundStyle(.secondary)
}
@@ -2696,7 +2684,7 @@ struct ContentView: View {
.alert("Feedback Sent", isPresented: $showFeedbackConfirmation) {
Button("OK") { }
} message: {
- Text("Thank you for helping us improve Fluid.")
+ Text("Thank you for helping us improve FluidVoice.")
}
}
diff --git a/Sources/Fluid/Services/DebugLogger.swift b/Sources/Fluid/Services/DebugLogger.swift
index 19f16940..8aef8798 100644
--- a/Sources/Fluid/Services/DebugLogger.swift
+++ b/Sources/Fluid/Services/DebugLogger.swift
@@ -45,8 +45,8 @@ class DebugLogger: ObservableObject {
queue.async {
let entry = LogEntry(timestamp: Date(), level: level, message: message, source: source)
- // Check if debug logging is enabled for debug level, but always show errors and warnings
- let shouldLogToConsole = level == .error || level == .warning || SettingsStore.shared.enableDebugLogs
+ // Always log errors and warnings, and now also debug messages for better troubleshooting
+ let shouldLogToConsole = level == .error || level == .warning || level == .debug
let formattedLine = "[\(entry.formattedTimestamp)] [\(level.rawValue)] [\(source)] \(message)"
FileLogger.shared.append(line: formattedLine)
diff --git a/Sources/Fluid/Services/MenuBarManager.swift b/Sources/Fluid/Services/MenuBarManager.swift
index 5d78ba9b..914d8ffd 100644
--- a/Sources/Fluid/Services/MenuBarManager.swift
+++ b/Sources/Fluid/Services/MenuBarManager.swift
@@ -190,7 +190,7 @@ final class MenuBarManager: ObservableObject {
menu.addItem(.separator())
// Open Main Window
- let openItem = NSMenuItem(title: "Open Fluid", action: #selector(openMainWindow), keyEquivalent: "")
+ let openItem = NSMenuItem(title: "Open FluidVoice", action: #selector(openMainWindow), keyEquivalent: "")
openItem.target = self
menu.addItem(openItem)
@@ -202,7 +202,7 @@ final class MenuBarManager: ObservableObject {
menu.addItem(.separator())
// Quit
- let quitItem = NSMenuItem(title: "Quit Fluid", action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")
+ let quitItem = NSMenuItem(title: "Quit FluidVoice", action: #selector(NSApplication.terminate(_:)), keyEquivalent: "q")
quitItem.target = NSApp
menu.addItem(quitItem)
}
@@ -251,13 +251,12 @@ final class MenuBarManager: ObservableObject {
let msg = NSAlert()
if let pmkError = error as? PMKError, pmkError.isCancelled {
msg.messageText = "You’re Up To Date"
- msg.informativeText = "You’re already running the latest version of Fluid."
+ msg.informativeText = "You're already running the latest version of FluidVoice."
} else {
msg.messageText = "Update Check Failed"
msg.informativeText = "Unable to check for updates. Please try again later.\n\nError: \(error.localizedDescription)"
}
msg.alertStyle = .informational
- msg.addButton(withTitle: "OK")
msg.runModal()
}
}
@@ -275,7 +274,7 @@ final class MenuBarManager: ObservableObject {
// Find and restore the main window
var foundWindow = false
for window in NSApp.windows {
- if window.title.contains("Fluid") || window.isMainWindow || window.contentView != nil {
+ if window.title.contains("FluidVoice") || window.isMainWindow || window.contentView != nil {
// Handle minimized windows
if window.isMiniaturized {
window.deminiaturize(nil)
diff --git a/Sources/Fluid/Services/SimpleUpdater.swift b/Sources/Fluid/Services/SimpleUpdater.swift
index f6a966d3..2cf2ef9f 100644
--- a/Sources/Fluid/Services/SimpleUpdater.swift
+++ b/Sources/Fluid/Services/SimpleUpdater.swift
@@ -221,20 +221,67 @@ final class SimpleUpdater {
}
private func performSwapAndRelaunch(installedAppURL: URL, downloadedAppURL: URL) throws {
- // Replace bundle on disk
- try FileManager.default.removeItem(at: installedAppURL)
- try FileManager.default.moveItem(at: downloadedAppURL, to: installedAppURL)
+ // Handle app name changes: if the downloaded app has a different name,
+ // we need to replace the old app and use the new name
+ let installedAppName = installedAppURL.lastPathComponent
+ let downloadedAppName = downloadedAppURL.lastPathComponent
+
+ print("SimpleUpdater: Installing app - Current: \(installedAppName), New: \(downloadedAppName)")
+
+ let finalAppURL: URL
+ if installedAppName != downloadedAppName {
+ // App name changed - use the new name
+ finalAppURL = installedAppURL.deletingLastPathComponent().appendingPathComponent(downloadedAppName)
+ print("SimpleUpdater: App name changed, installing to: \(finalAppURL.path)")
+
+ // Safety check: ensure we don't overwrite an existing app with the new name
+ if FileManager.default.fileExists(atPath: finalAppURL.path) {
+ print("SimpleUpdater: Removing existing app at new location: \(finalAppURL.path)")
+ try FileManager.default.removeItem(at: finalAppURL)
+ }
+
+ // Remove old app if it exists
+ if FileManager.default.fileExists(atPath: installedAppURL.path) {
+ print("SimpleUpdater: Removing old app: \(installedAppURL.path)")
+ try FileManager.default.removeItem(at: installedAppURL)
+ }
+
+ // Move new app to Applications with new name
+ try FileManager.default.moveItem(at: downloadedAppURL, to: finalAppURL)
+ print("SimpleUpdater: Successfully installed new app at: \(finalAppURL.path)")
+ } else {
+ // Same name - normal replacement
+ print("SimpleUpdater: Same app name, performing normal replacement")
+ if FileManager.default.fileExists(atPath: installedAppURL.path) {
+ try FileManager.default.removeItem(at: installedAppURL)
+ }
+ try FileManager.default.moveItem(at: downloadedAppURL, to: installedAppURL)
+ finalAppURL = installedAppURL
+ }
// Use modern NSWorkspace API for more reliable app launching
DispatchQueue.main.async {
+ print("SimpleUpdater: Attempting to relaunch app at: \(finalAppURL.path)")
+
+ // Verify the app exists before trying to launch
+ guard FileManager.default.fileExists(atPath: finalAppURL.path) else {
+ print("SimpleUpdater: ERROR - App not found at expected location: \(finalAppURL.path)")
+ // Don't terminate if we can't find the new app
+ return
+ }
+
let configuration = NSWorkspace.OpenConfiguration()
configuration.createsNewApplicationInstance = true
- NSWorkspace.shared.openApplication(at: installedAppURL, configuration: configuration) { app, error in
+ NSWorkspace.shared.openApplication(at: finalAppURL, configuration: configuration) { app, error in
if let error = error {
- print("Failed to relaunch app: \(error)")
+ print("SimpleUpdater: Failed to relaunch app: \(error)")
+ print("SimpleUpdater: App location: \(finalAppURL.path)")
+ // Don't terminate if relaunch failed - let user manually restart
+ return
}
+ print("SimpleUpdater: Successfully relaunched app, terminating old instance")
// Give the new instance time to fully start before terminating
DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
NSApp.terminate(nil)
diff --git a/release.sh b/release.sh
index fd86b893..b191c391 100755
--- a/release.sh
+++ b/release.sh
@@ -2,7 +2,7 @@
set -e # Exit on any error
-echo "🚀 Starting Fluid release process..."
+echo "🚀 Starting FluidVoice release process..."
# Get version from Info.plist
VERSION=$(plutil -p Info.plist | grep CFBundleShortVersionString | cut -d '"' -f 4)
@@ -29,7 +29,7 @@ if gh release view "v$VERSION" --repo altic-dev/Fluid-oss >/dev/null 2>&1; then
fi
# Use pre-built app from Documents
-APP_PATH="/Users/barathwajanandan/Documents/Fluid.app"
+APP_PATH="/Users/barathwajanandan/Documents/FluidVoice.app"
echo "📱 Using pre-built app: $APP_PATH"
if [ ! -d "$APP_PATH" ]; then
echo "❌ Error: Built app not found at $APP_PATH"
@@ -40,7 +40,7 @@ fi
ZIP_NAME="Fluid-oss-${VERSION}.zip"
echo "📦 Creating release zip: $ZIP_NAME"
cd "$(dirname "$APP_PATH")"
-zip -r "$OLDPWD/$ZIP_NAME" Fluid.app
+zip -r "$OLDPWD/$ZIP_NAME" FluidVoice.app
cd "$OLDPWD"
# Verify zip was created
@@ -56,11 +56,11 @@ DMG_NAME="Fluid-oss-${VERSION}.dmg"
echo "💿 Creating DMG: $DMG_NAME"
create-dmg \
- --volname "Fluid Installer" \
+ --volname "FluidVoice Installer" \
--window-size 600 400 \
--icon-size 100 \
- --icon "Fluid.app" 150 150 \
- --hide-extension "Fluid.app" \
+ --icon "FluidVoice.app" 150 150 \
+ --hide-extension "FluidVoice.app" \
--app-drop-link 400 150 \
"$DMG_NAME" \
"$APP_PATH"
@@ -68,26 +68,32 @@ create-dmg \
echo "✅ DMG created successfully: $DMG_NAME"
# Create GitHub release
-echo "📤 Creating GitHub release..."
+echo "Creating GitHub release..."
gh release create "v$VERSION" "$ZIP_NAME" "$DMG_NAME" \
--repo altic-dev/Fluid-oss \
- --title "Fluid v$VERSION" \
+ --title "FluidVoice v$VERSION" \
--notes "## What's New in v$VERSION
-- Upgraded to Parakeet TDT v3 with unified model architecture
-- 25 European languages with auto-detection support
-- Enhanced UI with language selection and documentation links
-- Improved error handling and logging
-- Automatic updates support
-- Fixed UI glitches with light system preference
+UI improvements and updater testing
+
+### Changes
+- **Simplified Debug Settings**: Removed confusing debug logging toggle, kept only 'Reveal Log File' button
+- **Always-on Debug Logging**: Debug information is now always logged to help with troubleshooting
+- **Cleaner UI**: Streamlined debug settings section with better description
+- **Testing auto-updater**: Verifies the fixed updater works properly for FluidVoice → FluidVoice updates
+
+### Note
+This release tests the fixed updater from v1.3.1 and improves the debug settings interface.
+
"
-echo "✅ Release v$VERSION created successfully!"
-echo "🔗 Release URL: https://github.com/altic-dev/Fluid-oss/releases/tag/v$VERSION"
-echo "📁 Assets: $ZIP_NAME and $DMG_NAME"
+echo "Release v$VERSION created successfully!"
+echo "Release URL: https://github.com/altic-dev/Fluid-oss/releases/tag/v$VERSION"
+echo "Assets: $ZIP_NAME and $DMG_NAME"
# Clean up
-echo "🧹 Cleaning up..."
+echo "Cleaning up..."
rm "$ZIP_NAME" "$DMG_NAME"
+echo "Release process completed successfully!"
echo "🎉 Release process completed successfully!"