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]>
75 lines
2.2 KiB
PowerShell
75 lines
2.2 KiB
PowerShell
# GPU-accelerated build script for Minutes (Windows PowerShell)
|
|
# Automatically detects and builds with optimal GPU features
|
|
|
|
Write-Host "GPU-Accelerated Build Script 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 package.json location
|
|
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 "Building Minutes..." -ForegroundColor Blue
|
|
Write-Host ""
|
|
|
|
# Build command using npm scripts
|
|
$buildSuccess = $false
|
|
|
|
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 "Building complete Tauri application with Vulkan acceleration..." -ForegroundColor Cyan
|
|
Write-Host ""
|
|
|
|
if ($usePnpm) {
|
|
pnpm run tauri:build:vulkan
|
|
} else {
|
|
npm run tauri:build:vulkan
|
|
}
|
|
|
|
if ($LASTEXITCODE -eq 0) {
|
|
$buildSuccess = $true
|
|
}
|
|
} catch {
|
|
Write-Host ""
|
|
Write-Host "[ERROR] Build failed: $_" -ForegroundColor Red
|
|
exit 1
|
|
}
|
|
|
|
if ($buildSuccess) {
|
|
Write-Host ""
|
|
Write-Host "======================================" -ForegroundColor Green
|
|
Write-Host "Build completed successfully!" -ForegroundColor Green
|
|
Write-Host "======================================" -ForegroundColor Green
|
|
Write-Host ""
|
|
Write-Host "Complete Tauri application built with GPU acceleration!" -ForegroundColor Green
|
|
Write-Host ""
|
|
} else {
|
|
Write-Host ""
|
|
Write-Host "[ERROR] Build failed with exit code $LASTEXITCODE" -ForegroundColor Red
|
|
exit 1
|
|
} |