Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
import { readFileSync } from 'node:fs'
import { join } from 'node:path'
import { expect, it } from 'vitest'
// Windows checks the file out with CRLF line endings
const config = readFileSync(join(__dirname, '../electron-builder.yml'), 'utf8').replaceAll('\r\n', '\n')
it('uninstalling on Windows never deletes the profile: it holds every meeting', () => {
expect(config).toMatch(/^nsis:\n(?: .*\n)* deleteAppDataOnUninstall: false$/m)
expect(config).not.toMatch(/deleteAppDataOnUninstall: true/)
})
it('Windows and Linux builds have fixed file names, like the Mac one', () => {
expect(config).toContain('artifactName: Yogurt-mac-${arch}.${ext}')
expect(config).toContain('artifactName: Yogurt-windows-${arch}.${ext}')
expect(config).toContain('artifactName: Yogurt-linux-${arch}.${ext}')
})
it('ships the compact and titled Mac tray templates at both display scales', () => {
for (const scale of [1, 2]) {
for (const [name, width] of [['tray', 22], ['tray-titled', 23]] as const) {
const file = name + (scale === 2 ? '@2x' : '') + '.png'
expect(config).toContain('"' + file + '"')
const png = readFileSync(join(__dirname, '../resources', file))
expect([png.readUInt32BE(16), png.readUInt32BE(20)]).toEqual([width * scale, 22 * scale])
}
}
})
it("only Windows and Linux carry the colour tray icons (the Mac's package keeps its own files)", () => {
const block = (name: string) => config.match(new RegExp(`^${name}:\\n((?: .*\\n|\\n)*)`, 'm'))?.[1] ?? ''
for (const os of ['win', 'linux']) expect(block(os)).toContain('filter: ["tray-color*.png", "tray-recording*.png"]')
expect(config.split(/^win:$/m)[0]).not.toContain('tray-color')
for (const state of ['color', 'recording']) for (const theme of ['', '-dark']) for (const [scale, size] of [['', 16], ['@2x', 32]] as const) {
const png = readFileSync(join(__dirname, '../resources', `tray-${state}${theme}${scale}.png`))
expect([png.readUInt32BE(16), png.readUInt32BE(20)]).toEqual([size, size])
}
})
it("every system carries the speed check's clip: Windows and Linux time their speech models on it, and a Mac tries Parakeet on it before using it", () => {
// in the list every system's package gets (a system's own extra resources are added to it)
expect(config.split(/^electronFuses:$/m)[0]).toContain('{ from: resources/speed, to: speed }')
})
it('the Linux build starts through the launcher that picks X11 on Wayland (#8)', () => {
expect(config).toMatch(/^afterPack: scripts\/linux-launcher\.cjs$/m)
})