mirror of
https://github.com/hanzoai/minutes.git
synced 2026-10-30 18:27:58 +00:00
A fork of meetily (MIT, Zackriya Solutions) rebranded to Hanzo. The Python/FastAPI tier, its Docker files, its whisper-server scripts and the whisper.cpp submodule are deleted rather than rebranded. Upstream's own CLAUDE.md says that tier is archived and unsupported and tells you not to add endpoints to it; the shipping product is one Tauri binary that transcribes in-process with whisper-rs and Parakeet. Rebranding a corpse would have doubled the surface and taught the next reader that a dead service is a live one. Going with it: the vestigial localhost:5167 gate the sidebar checked before reading its own database. .github/workflows goes too. This repo lives on git.hanzo.ai, which reads .hanzo/workflows, and we do not use GitHub-hosted runners — six workflow files that cannot run read like CI that passes. Nothing replaces them yet, because a pipeline that has never run is worse than an honest absence. Summaries are written by api.hanzo.ai, our own stack, and it is the default. The other providers still compile and should go in a follow-up. The upstream MIT notice stays and the Hanzo copyright joins it. About and the README say plainly what this is a fork of. Left alone deliberately, and each is a decision someone must still make: the minisign updater key is upstream's and we cannot re-sign, so the updater points at a release path that does not exist yet; the ffmpeg binaries still come from upstream's GitHub; the Parakeet models still come from upstream's host. Co-authored-by: Hanzo Dev <[email protected]>
62 lines
1.9 KiB
PowerShell
62 lines
1.9 KiB
PowerShell
# GPU-accelerated development script for Minutes (Windows PowerShell)
|
|
# Automatically detects and runs in development mode with optimal GPU features
|
|
|
|
Write-Host "GPU-Accelerated Development Mode for Minutes" -ForegroundColor Blue
|
|
Write-Host ""
|
|
|
|
# Function to check if command exists
|
|
function Test-CommandExists {
|
|
param($command)
|
|
$null = Get-Command $command -ErrorAction SilentlyContinue
|
|
return $?
|
|
}
|
|
|
|
Write-Host ""
|
|
|
|
# Find frontend directory with package.json
|
|
if (Test-Path "package.json") {
|
|
Write-Host "Using current directory" -ForegroundColor Cyan
|
|
} elseif (Test-Path "frontend\package.json") {
|
|
Write-Host "Changing to directory: frontend" -ForegroundColor Cyan
|
|
Set-Location frontend
|
|
} else {
|
|
Write-Host "[ERROR] Could not find package.json" -ForegroundColor Red
|
|
Write-Host " Make sure you're in the project root or frontend directory" -ForegroundColor Red
|
|
exit 1
|
|
}
|
|
|
|
Write-Host ""
|
|
Write-Host "Starting Minutes in development mode..." -ForegroundColor Blue
|
|
Write-Host ""
|
|
|
|
# Run tauri dev using npm scripts (which handle GPU detection automatically)
|
|
try {
|
|
# Check if pnpm or npm is available
|
|
$usePnpm = Test-CommandExists "pnpm"
|
|
$useNpm = Test-CommandExists "npm"
|
|
|
|
if (-not $usePnpm -and -not $useNpm) {
|
|
Write-Host "[ERROR] Neither npm nor pnpm found" -ForegroundColor Red
|
|
exit 1
|
|
}
|
|
|
|
Write-Host "Starting complete Tauri application with Vulkan acceleration..." -ForegroundColor Cyan
|
|
Write-Host ""
|
|
|
|
if ($usePnpm) {
|
|
pnpm run tauri:dev:vulkan
|
|
} else {
|
|
npm run tauri:dev:vulkan
|
|
}
|
|
|
|
if ($LASTEXITCODE -eq 0) {
|
|
Write-Host ""
|
|
Write-Host "Development server stopped cleanly" -ForegroundColor Green
|
|
} else {
|
|
throw "Development server exited with code $LASTEXITCODE"
|
|
}
|
|
} catch {
|
|
Write-Host ""
|
|
Write-Host "[ERROR] Development server failed: $_" -ForegroundColor Red
|
|
exit 1
|
|
} |