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
tests: the fixture call takes turns again, so live transcript, notes and onboarding e2e pass
christianmat0bb9992349c4
diff --git a/app/e2e/fixtures/README.md b/app/e2e/fixtures/README.mdindex fa992396..888983e6 100644--- a/app/e2e/fixtures/README.md+++ b/app/e2e/fixtures/README.md@@ -4,6 +4,11 @@ Both clips are public-domain LibriVox recordings, 16.5 s each, cut from 0:40 andwith `ffmpeg -ss 40 -t 16.5 -i <mp3> -ac 1 -ar 16000 -c:a pcm_s16le -map_metadata -1 -fflags +bitexact <wav>`.Two different readers, so the two sides of a meeting sound like two people.+They are then laid out as a short call, silent between turns, the way the fake transcriber (`src/main/asr/fake.ts`)+expects: me talks 0.5–4.0 s (the clip's 0–3.5 s) and 10.5–12.4 s (its 5.0–6.9 s); them talks 5.2–8.7 s (its 2.5–6.0 s)+and 13.3–14.8 s (its 7.0–8.5 s), each piece faded in and out over 20 ms. Speech on both sides the whole time put the+other side's first line at 0:00 and the tests found it twice.+| File | Source | Reader | Licence ||---|---|---|---|| meeting-me.wav | The Art of War by Sun Tzu, tr. Lionel Giles, chapters 1-2: https://archive.org/download/art_of_war_librivox/art_of_war_01-02_sun_tzu_64kb.mp3 (catalog: https://librivox.org/the-art-of-war-by-sun-tzu/) | Moira Fogarty | Public domain (LibriVox) |diff --git a/app/e2e/fixtures/meeting-me.wav b/app/e2e/fixtures/meeting-me.wavindex 33e6f4e9..a373713b 100644Binary files a/app/e2e/fixtures/meeting-me.wav and b/app/e2e/fixtures/meeting-me.wav differdiff --git a/app/e2e/fixtures/meeting-them.wav b/app/e2e/fixtures/meeting-them.wavindex 7afb2934..3657294c 100644Binary files a/app/e2e/fixtures/meeting-them.wav and b/app/e2e/fixtures/meeting-them.wav differdiff --git a/app/e2e/onboarding.spec.ts b/app/e2e/onboarding.spec.tsindex 1d1f82a1..f59ab411 100644--- a/app/e2e/onboarding.spec.ts+++ b/app/e2e/onboarding.spec.ts@@ -40,8 +40,8 @@ test('with fake downloads setup finishes by itself, and the second launch goes stest('first run records as soon as speech and speakers are in; notes say they are getting ready, then write themselves once the notes model lands', async () => {const userData = mkdtempSync(join(tmpdir(), 'yogurt-e2e-'))- // the notes model takes its time: everything else is quick- const app = await electron.launch({ args: [main], env: { ...process.env, YOGURT_FAKE: '1', YOGURT_USER_DATA: userData, YOGURT_FAKE_NOTES_MODEL_MS: '15000' } })+ // the notes model takes its time: everything else is quick; it lands well after the meeting and the question, however slow the machine+ const app = await electron.launch({ args: [main], env: { ...process.env, YOGURT_FAKE: '1', YOGURT_USER_DATA: userData, YOGURT_FAKE_NOTES_MODEL_MS: '40000' } })try {const page = await app.firstWindow()await expect(page.getByTestId('home')).toBeVisible({ timeout: 10_000 })@@ -57,10 +57,10 @@ test('first run records as soon as speech and speakers are in; notes say they arawait page.getByTestId('chat-open').click()await page.getByTestId('chat-input').fill('What was decided?')await page.getByTestId('chat-input').press('Enter')- await expect(page.getByTestId('chat-turn').last()).toContainText('Getting ready to answer')+ await expect(page.getByTestId('chat-turn').last()).toContainText("Waiting for Yogurt's AI to finish downloading")await expect(page.getByTestId('chat-turn').last()).not.toContainText('Generating notes')// the notes model lands: the notes are written without anyone asking, and the question is answered- await expect(page.getByTestId('note-enhanced')).toHaveAttribute('data-status', 'done', { timeout: 45_000 })+ await expect(page.getByTestId('note-enhanced')).toHaveAttribute('data-status', 'done', { timeout: 60_000 })await expect(page.getByTestId('chat-turn').last()).toContainText('Tuesday', { timeout: 30_000 })} finally { await app.close() }})diff --git a/app/test/mcp.test.ts b/app/test/mcp.test.tsindex 25d760aa..587d59bf 100644--- a/app/test/mcp.test.ts+++ b/app/test/mcp.test.ts@@ -78,7 +78,7 @@ describe('the MCP server', () => {expect(audio).toContain('Ogg Opus in .ogg')expect(`${instructions} ${audio}`).not.toMatch(/this Mac/)}- })+ }, 30_000) // five databases: under a second on a Mac, over 5 s on GitHub's Windows runnersit('answers notifications with nothing, pings with an empty result, and anything else with method not found', async () => {const { mcp } = setup()expect(await mcp.handle({ jsonrpc: '2.0', method: 'notifications/initialized' })).toBeNull()