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
Site: the Updates page builds itself from the release notes
Eric Brownrout17965f9f3e84
diff --git a/site/app/site-response.ts b/site/app/site-response.tsindex 6bb4de84..cc56617a 100644--- a/site/app/site-response.ts+++ b/site/app/site-response.ts@@ -2,7 +2,7 @@ import {readFileSync} from 'node:fs'import {join} from 'node:path'import {renderActivity,validSnapshot} from '../scripts/activity.mjs'import baked from '../content/activity.json'-import releases from '../content/updates.json'+import releases from '../scripts/release-history.mjs'export function siteResponse(html: string) {let activity = bakeddiff --git a/site/app/sitemap.ts b/site/app/sitemap.tsindex 3f847892..ada49e75 100644--- a/site/app/sitemap.ts+++ b/site/app/sitemap.ts@@ -1,5 +1,5 @@import type { MetadataRoute } from 'next'-import releases from '../content/updates.json'+import releases from '../scripts/release-history.mjs'import { pageUrls } from '../scripts/site-urls.mjs'export default function sitemap(): MetadataRoute.Sitemap {diff --git a/site/app/updates/route.ts b/site/app/updates/route.tsindex 2cd010f9..ad8dd9b0 100644--- a/site/app/updates/route.ts+++ b/site/app/updates/route.ts@@ -1,4 +1,4 @@-import releases from '../../content/updates.json'+import releases from '../../scripts/release-history.mjs'import { updatesPage } from '../../scripts/updates.mjs'import { siteResponse } from '../site-response'diff --git a/site/package.json b/site/package.jsonindex bb206a41..304ed7fa 100644--- a/site/package.json+++ b/site/package.json@@ -9,7 +9,7 @@"site:bundle": "node scripts/bundle.mjs","site:stars": "node scripts/stars-snapshot.mjs --save","site:stills": "node scripts/stills.mjs",- "test": "node renderer/timeline.test.mjs && node scripts/ribbon-geometry.test.mjs && node scripts/hero-entry.test.mjs && node scripts/headline.test.mjs && node scripts/theme.test.mjs && node scripts/hero-theme.test.mjs && node scripts/stars.test.mjs && node scripts/walkthrough.test.mjs && node scripts/features.test.mjs && node scripts/navigation.test.mjs && node scripts/updates.test.mjs && node scripts/llms.test.mjs && node scripts/home-metadata.test.mjs && node scripts/indexnow.test.mjs && node scripts/download-clicks.test.mjs"+ "test": "node renderer/timeline.test.mjs && node scripts/ribbon-geometry.test.mjs && node scripts/hero-entry.test.mjs && node scripts/headline.test.mjs && node scripts/theme.test.mjs && node scripts/hero-theme.test.mjs && node scripts/stars.test.mjs && node scripts/walkthrough.test.mjs && node scripts/features.test.mjs && node scripts/navigation.test.mjs && node scripts/updates.test.mjs && node scripts/release-notes.test.mjs && node scripts/llms.test.mjs && node scripts/home-metadata.test.mjs && node scripts/indexnow.test.mjs && node scripts/download-clicks.test.mjs"},"dependencies": {"next": "16.4.5",diff --git a/site/scripts/activity.mjs b/site/scripts/activity.mjsindex 142a274b..e99c1e5d 100644--- a/site/scripts/activity.mjs+++ b/site/scripts/activity.mjs@@ -45,20 +45,21 @@ export function historyFromDates(dates) {})return points}-export async function getActivity(saved, request, now = new Date()) {- async function pages(endpoint, accept) {- const rows = []- for (let page = 1; ; page++) {- const batch = await request(api + '/' + endpoint + '?per_page=100&page=' + page, accept)- if (!Array.isArray(batch)) throw Error('Incomplete page')- rows.push(...batch)- if (batch.length < 100) return rows- }+export async function githubPages(request, endpoint, accept) {+ const rows = []+ for (let page = 1; ; page++) {+ const batch = await request(api + '/' + endpoint + '?per_page=100&page=' + page, accept)+ if (!Array.isArray(batch)) throw Error('Incomplete page')+ rows.push(...batch)+ if (batch.length < 100) return rows}+}++export async function getActivity(saved, request, now = new Date(), releaseRows) {const repo = await request(api)if (!Number.isSafeInteger(repo.stargazers_count) || repo.stargazers_count < 1)throw Error('Invalid star count')- const releases = (await pages('releases'))+ const releases = (releaseRows ?? await githubPages(request, 'releases')).filter(stableRelease).sort((a, b) => Date.parse(b.published_at) - Date.parse(a.published_at))if (!releases.length) throw Error('No published releases')@@ -76,7 +77,7 @@ export async function getActivity(saved, request, now = new Date()) {!(now - Date.parse(historyCapturedAt) < day)) {try {- const stars = await pages('stargazers', 'application/vnd.github.star+json')+ const stars = await githubPages(request, 'stargazers', 'application/vnd.github.star+json')const dates = new Map()for (const row of stars) {if (!row.user?.id || !timestamp(row.starred_at)) throw Error('Invalid star timestamp')@@ -163,9 +164,9 @@ export function renderActivity(html, data, releases) {})}-export async function refreshActivity(saved, request, now) {+export async function refreshActivity(saved, request, now, releaseRows) {try {- return await getActivity(saved, request, now)+ return await getActivity(saved, request, now, releaseRows)} catch (error) {if (!validSnapshot(saved)) throw errorconsole.warn('Using saved project activity from ' + saved.capturedAt + ' (' + error.message + ').')diff --git a/site/scripts/fixtures/github-releases.json b/site/scripts/fixtures/github-releases.jsonnew file mode 100644index 00000000..ea122770--- /dev/null+++ b/site/scripts/fixtures/github-releases.json@@ -0,0 +1,37 @@+[+ {+ "tag_name": "v0.3.53",+ "published_at": "2026-11-20T03:29:19Z",+ "body": "- When you link a note to a calendar event, the picker now shows which calendar each event comes from, handy if you keep a work and a personal one.\n- A linked note's pill now names the meeting it belongs to, so you can tell at a glance what it's attached to.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.52...v0.3.53\n",+ "prerelease": false,+ "draft": false+ },+ {+ "tag_name": "v0.3.52",+ "published_at": "2026-11-20T01:12:30Z",+ "body": "- Yogurt now trusts the same certificates as your computer. On work networks that inspect secure traffic with their own certificate, the first-run model downloads no longer fail (#115).\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.51...v0.3.52\n",+ "prerelease": false,+ "draft": false+ },+ {+ "tag_name": "v0.3.51",+ "published_at": "2026-11-20T00:08:08Z",+ "body": "- Ask is better at \"how did it go?\" questions. It now reads the meeting's summary and its key moments, gives an honest read of how things went, and keeps follow-up questions on the same meeting instead of wandering off to another one.\n- Macs with 24 GB of memory now get a notes model that leaves room for everything else, so writing notes after a long call no longer freezes the Mac.\n- Yogurt is now on Homebrew, through our own tap: `brew install --cask frigadehq/yogurt/yogurt` (#12).\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.50...v0.3.51\n",+ "prerelease": false,+ "draft": false+ },+ {+ "tag_name": "v0.3.50",+ "published_at": "2026-11-19T19:50:49Z",+ "body": "- Teams calls get their names back. On Windows, Yogurt now recognises the Leave button even when Teams adds its shortcut to the label (#83), and on a Mac it asks the Teams app for its window contents before looking for the call (#111).\n- Every program and library in the Windows app is now signed, so PCs with Code Integrity turned on no longer block the speech engine during setup (#99).\n- Adding a calendar by link opens right in Settings, and each linked calendar has its own row.\n- The \"Stop recording?\" card is now the same compact card as the start offer, closes once the recording ends, and no longer shows up while a recording is still starting.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.49...v0.3.50\n",+ "prerelease": false,+ "draft": false+ },+ {+ "tag_name": "v0.3.49",+ "published_at": "2026-11-19T17:45:03Z",+ "body": "- Google Meet names are tidier: Yogurt no longer mistakes page text such as \"reCAPTCHA\" and \"Upgrade\", or messages in the chat panel, for people on the call.\n- In Ask, a cited sentence is now a soft highlight. Hover it to see the part of the meeting it came from.\n\n**Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/v0.3.48...v0.3.49\n",+ "prerelease": false,+ "draft": false+ }+]diff --git a/site/scripts/home-metadata.test.mjs b/site/scripts/home-metadata.test.mjsindex 54c38128..4ce2c8cf 100644--- a/site/scripts/home-metadata.test.mjs+++ b/site/scripts/home-metadata.test.mjs@@ -1,5 +1,5 @@import assert from 'node:assert/strict'-import releases from '../content/updates.json' with { type: 'json' }+import releases from './release-history.mjs'import { homePage } from './site-page.mjs'import { homeStructuredData } from './home-metadata.mjs'import { updatesPage } from './updates.mjs'diff --git a/site/scripts/llms-full.mjs b/site/scripts/llms-full.mjsindex c7bfdfb8..2187bc1c 100644--- a/site/scripts/llms-full.mjs+++ b/site/scripts/llms-full.mjs@@ -1,7 +1,7 @@import { readFileSync } from 'node:fs'import { join } from 'node:path'import faq from '../content/faq.json' with { type: 'json' }-import releases from '../content/updates.json' with { type: 'json' }+import releases from './release-history.mjs'export function fullGuide() {const shortGuide = readFileSync(join(process.cwd(), 'public/llms.txt'), 'utf8')diff --git a/site/scripts/llms.test.mjs b/site/scripts/llms.test.mjsindex c296f5c0..b2b65977 100644--- a/site/scripts/llms.test.mjs+++ b/site/scripts/llms.test.mjs@@ -2,7 +2,7 @@ import assert from 'node:assert/strict'import { execFileSync } from 'node:child_process'import { readFileSync } from 'node:fs'import faq from '../content/faq.json' with { type: 'json' }-import releases from '../content/updates.json' with { type: 'json' }+import releases from './release-history.mjs'import { fullGuide } from './llms-full.mjs'import { platforms, release } from '../public/marketing/downloads.mjs'diff --git a/site/scripts/release-history.mjs b/site/scripts/release-history.mjsnew file mode 100644index 00000000..8ff462bc--- /dev/null+++ b/site/scripts/release-history.mjs@@ -0,0 +1,15 @@+import { readFileSync } from 'node:fs'+import { join } from 'node:path'+import written from '../content/updates.json' with { type: 'json' }++// The build writes one snapshot before Next prerenders any routes. A fresh dev checkout uses the archive.+function readHistory() {+ try {+ return JSON.parse(readFileSync(join(process.cwd(), '.next/cache/updates.json'), 'utf8'))+ } catch (error) {+ if (error.code === 'ENOENT') return written+ throw error+ }+}++export default readHistory()diff --git a/site/scripts/release-notes.mjs b/site/scripts/release-notes.mjsnew file mode 100644index 00000000..ae84ee76--- /dev/null+++ b/site/scripts/release-notes.mjs@@ -0,0 +1,63 @@+import { stableRelease } from '../public/marketing/stars-data.mjs'++function bulletText(text) {+ return text+ .replace(/\[([^\]]+)\]\(https?:\/\/[^\s)]+\)/gi, (link, label) => link.includes('/compare/') ? '' : label)+ .replace(/<?https?:\/\/[^\s<>]+?\/compare\/[^\s<>]+>?/gi, '')+ .replace(/\*\*([^*]+)\*\*|__([^_]+)__|`([^`]+)`/g, (_, bold, emphasis, code) => bold ?? emphasis ?? code)+ .replace(/\s+/g, ' ').trim()+}++export function releaseBullets(body) {+ const bullets = []+ let fence = '', current = ''+ function finish() {+ const text = bulletText(current)+ if (text && !/^Full Changelog\b/i.test(text)) bullets.push(text)+ current = ''+ }+ for (const line of (body ?? '').replace(/<!--[\s\S]*?(?:-->|$)/g, '').split(/\r?\n/)) {+ const marker = line.match(/^ {0,3}(`{3,}|~{3,})(.*)$/)+ if (fence) {+ if (marker && marker[1].startsWith(fence) && !marker[2].trim()) fence = ''+ } else if (marker) {+ finish()+ fence = marker[1]+ } else {+ const bullet = line.match(/^ {0,3}[-*+]\s+(.+)$/)+ if (bullet) { finish(); current = bullet[1] }+ else if (/^\s*(?:\*\*)?Full Changelog\b/i.test(line)) finish()+ else if (current && /^\s+\S/.test(line)) current += ' ' + line.trim()+ else finish()+ }+ }+ finish()+ return bullets+}++export function releaseHeadline(bullet) {+ // Lead with the main clause of “When you …, …”. Keep the full explanation in the bullet.+ const clause = bullet.replace(/ by @[\w-]+ in https:\/\/github\.com\/\S+\/pull\/\d+\s*$/, '')+ .replace(/^When you\b[^,]*,\s+(?=\S)/i, '')+ .split(/[.!?](?=\s|$)|[:;]\s|,\s+(?=(?:handy|so|which)\b)/, 1)[0] || bullet+ // Prefer a complete clause to a headline cut in the middle of a thought.+ const phrase = (clause.length > 72 ? clause.split(/,\s+(?=and\b|but\b)/, 1)[0] : clause)+ .replace(/\s*\(#[\d#, ]+\)$/, '')+ const short = phrase.length <= 100 ? phrase : phrase.match(/^.{1,100}(?=\s)/u)?.[0] ?? phrase.slice(0, 100)+ return (short.charAt(0).toUpperCase() + short.slice(1)).replace(/[\s.,:;!?…–—-]+$/, '')+}++export function releaseArchive(rows, overrides) {+ const written = new Map(overrides.map(row => [row.version, row]))+ const archive = new Map()+ for (const row of rows) {+ if (!stableRelease(row)) continue+ const version = row.tag_name+ const override = written.get(version)+ const changes = override?.changes ?? releaseBullets(row.body)+ if (!changes.length) continue+ archive.set(version, { version, published: row.published_at,+ headline: override?.headline ?? releaseHeadline(changes[0]), changes })+ }+ return [...archive.values()].sort((a, b) => Date.parse(b.published) - Date.parse(a.published) || b.version.localeCompare(a.version))+}diff --git a/site/scripts/release-notes.test.mjs b/site/scripts/release-notes.test.mjsnew file mode 100644index 00000000..94e0b814--- /dev/null+++ b/site/scripts/release-notes.test.mjs@@ -0,0 +1,50 @@+import assert from 'node:assert/strict'+import fixtures from './fixtures/github-releases.json' with { type: 'json' }+import written from '../content/updates.json' with { type: 'json' }+import saved from '../content/activity.json' with { type: 'json' }+import { githubPages, renderActivity } from './activity.mjs'+import { releaseArchive, releaseBullets, releaseHeadline } from './release-notes.mjs'+import { updatesPage } from './updates.mjs'++const [latest, network] = fixtures+const rows = releaseArchive(fixtures.toReversed(), [])+assert.deepEqual(rows.map(r => r.headline), [+ 'The picker now shows which calendar each event comes from',+ 'Yogurt now trusts the same certificates as your computer',+ 'Ask is better at "how did it go?" questions',+ 'Teams calls get their names back',+ 'Google Meet names are tidier',+])+assert.deepEqual(rows[0].changes, latest.body.trim().split('\n').slice(0, 2).map(line => line.slice(2)))+assert.deepEqual(rows.map(r => r.changes.length), [2, 1, 3, 4, 2])+assert(rows.every(r => r.changes.every(text => !text.includes('/compare/') && !text.includes('Full Changelog'))))++const curated = written.find(r => r.version === network.tag_name)+const mixed = releaseArchive([latest, latest, { ...network, body: '' },+ { ...network, tag_name: 'v9.0.0', draft: true }, { ...latest, prerelease: true, tag_name: 'v9.1.0' },+ { ...latest, tag_name: 'v9.2.0', body: null }, { ...latest, tag_name: 'v9.3.0', body: '## Highlights\nA paragraph.' }],+ [curated, { ...curated, version: 'v9.0.0' }])+assert.deepEqual(mixed, [rows[0], curated])+assert.equal(releaseHeadline('Upload a file: choose a recording.'), 'Upload a file')+assert.equal(releaseHeadline('See the calendar for v0.3.53. Next sentence.'), 'See the calendar for v0.3.53')+const long = 'Review ' + 'the next saved meeting '.repeat(10).trim()+assert(long.startsWith(releaseHeadline(long) + ' '))+assert(releaseHeadline(long).length <= 100)+assert.deepEqual(releaseBullets('- Save the note.\n **Full Changelog**: https://github.com/FrigadeHQ/yogurt/compare/a...b'), ['Save the note.'])+assert.deepEqual(releaseBullets('Heading\r\n* A **saved** note\r\n on two lines.\r\n\r\n~~~md\n- example only\n~~~\n<!--\n- hidden\n-->\n+ Read the [guide](https://example.org/guide).\n- https://github.com/FrigadeHQ/yogurt/compare/a...b\n- **Full Changelog**: [comparison](https://example.org/compare/a...b)'), ['A saved note on two lines.', 'Read the guide.'])+const literal = releaseArchive([{ ...latest, body: '- Keep <b>this</b> & {{literal}} as text.' }], [])+const html = renderActivity(updatesPage(literal), saved, literal)+assert(html.includes('<b>this</b> & {{literal}}'))+assert(!html.includes('<b>this</b>'))+const pages = []+const paged = await githubPages(async url => {+ pages.push(new URL(url).searchParams.get('page'))+ return pages.length === 1 ? Array(100).fill(network) : [latest]+}, 'releases')+assert.deepEqual(pages, ['1', '2'])+assert.deepEqual(releaseArchive(paged, [curated]), mixed)+await assert.rejects(githubPages(async url => {+ if (url.endsWith('page=1')) return Array(100).fill(network)+ throw Error('HTTP 429')+}, 'releases'), /429/)+console.log('Release fixtures, headlines, overrides, filters, escaping and complete pagination passed.')diff --git a/site/scripts/site-page.mjs b/site/scripts/site-page.mjsindex 907ec7e7..60f9d849 100644--- a/site/scripts/site-page.mjs+++ b/site/scripts/site-page.mjs@@ -1,7 +1,7 @@import { readFileSync } from 'node:fs'import { join } from 'node:path'import { faqCards, homeStructuredData } from './home-metadata.mjs'-import releases from '../content/updates.json' with { type: 'json' }+import releases from './release-history.mjs'const content = name => readFileSync(join(process.cwd(), 'content', name), 'utf8')diff --git a/site/scripts/stars-snapshot.mjs b/site/scripts/stars-snapshot.mjsindex 540cd5db..4ea429ca 100644--- a/site/scripts/stars-snapshot.mjs+++ b/site/scripts/stars-snapshot.mjs@@ -1,6 +1,8 @@import { execFileSync } from 'node:child_process'import { mkdir, readFile, writeFile, rename } from 'node:fs/promises'-import { refreshActivity, validSnapshot } from './activity.mjs'+import written from '../content/updates.json' with { type: 'json' }+import { releaseArchive } from './release-notes.mjs'+import { githubPages, refreshActivity, validSnapshot } from './activity.mjs'const baked = new URL('../content/activity.json', import.meta.url)const cache = new URL('../.next/cache/activity.json', import.meta.url)@@ -22,8 +24,23 @@ async function request(url, accept = 'application/vnd.github+json') {if (!response.ok) throw Error('GitHub returned ' + response.status)return response.json()}-const snapshot = await refreshActivity(saved, request)+// Release notes and activity share one paginated API read. A partial fetch cannot replace the archive.+let rows = []+let releases = written+try {+ rows = await githubPages(request, 'releases')+ const archive = releaseArchive(rows, written)+ if (!archive.length) throw Error('No published release notes')+ releases = archive+ console.log(`Updates: ${releases.length} releases through ${releases[0].version} from GitHub and editorial overrides.`)+} catch (error) {+ console.warn(`Updates: using committed content/updates.json (${error.message}).`)+}+const snapshot = await refreshActivity(saved, request, new Date(), rows)await mkdir(new URL('.', cache), { recursive: true })+const notesTmp = new URL('updates-' + process.pid + '.json', cache)+await writeFile(notesTmp, JSON.stringify(releases) + '\n')+await rename(notesTmp, new URL('updates.json', cache))const tmp = new URL('activity-' + process.pid + '.json', cache)await writeFile(tmp, JSON.stringify(snapshot) + '\n')await rename(tmp, cache)diff --git a/site/scripts/updates.mjs b/site/scripts/updates.mjsindex 900346f5..64ee960b 100644--- a/site/scripts/updates.mjs+++ b/site/scripts/updates.mjs@@ -5,7 +5,7 @@ const fullDate = new Intl.DateTimeFormat('en-US', { dateStyle: 'long', timeZone:const uiLabels = /\b(Go to that day|Show earlier lines|Restart Yogurt|New recording|Take notes|Add another calendar|Regenerate summary|Summary language|Menu bar only|Multi-language|Update ready|Delete audio|Suggested|AI apps|Settings|Restart|Later|Manage|Reload|People|Ask|Enter|Trash|Latest)\b/gfunction escape(text) {- return text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"')+ return text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('"', '"').replaceAll('{', '{')}const githubReleases = 'https://github.com/FrigadeHQ/yogurt/releases'diff --git a/site/scripts/updates.test.mjs b/site/scripts/updates.test.mjsindex b0497d0a..b2b154d8 100644--- a/site/scripts/updates.test.mjs+++ b/site/scripts/updates.test.mjs@@ -5,7 +5,14 @@ import { homePage } from './site-page.mjs'import { renderActivity } from './activity.mjs'import { updatesPage } from './updates.mjs'-const releases = JSON.parse(readFileSync(new URL('../content/updates.json', import.meta.url)))+import releases from './release-history.mjs'+import written from '../content/updates.json' with { type: 'json' }++// These are editorial constraints. Published notes keep their complete bullets.+for (const row of written) {+ assert.match(row.version, /^v\d+\.\d+\.\d+$/)+ assert(row.changes.every(line => line.length <= 62))+}// A newer GitHub snapshot cannot advertise a release with no page in this build.const snapshot = { ...JSON.parse(readFileSync(new URL('../content/activity.json', import.meta.url))),latest: { tag: 'v99.0.0', published: '2099-01-01T00:00:00Z' }, releases: 999999, week: Array(7).fill(0) }@@ -60,11 +67,10 @@ assert.equal(cards.length, releases.length)assert.equal(new Set(releases.map(r => r.version)).size, releases.length)for (const [i, card] of cards.entries()) {const row = releases[i]- assert.match(row.version, /^v\d+\.\d+\.\d+$/)+ assert.match(row.version, /^v[\w.-]+$/)assert.equal(new Date(row.published).toISOString().slice(0, 19), row.published.slice(0, 19))if (i) assert(releases[i-1].published >= row.published)assert(row.headline.length && row.changes.length)- assert(row.changes.every(line => line.length <= 62))assert(card.startsWith(`<details class="release-card" id="${row.version}"${i < 3 ? ' open' : ''}>`))assert(card.includes(`<span class="release-meta">${row.version} · <time`))assert.equal(card.match(/<a\b/g)?.length, 1)