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: a longer llms-full.txt adds the FAQ and the latest release notes
Eric Brownrout40554fef26ac
diff --git a/site/app/llms-full.txt/route.ts b/site/app/llms-full.txt/route.tsnew file mode 100644index 00000000..02dd942a--- /dev/null+++ b/site/app/llms-full.txt/route.ts@@ -0,0 +1,7 @@+import { fullGuide } from '../../scripts/llms-full.mjs'++export const dynamic = 'force-static'++export function GET() {+ return new Response(fullGuide(), { headers: { 'Content-Type': 'text/plain; charset=utf-8' } })+}diff --git a/site/public/llms.txt b/site/public/llms.txtindex 1f875018..365638a3 100644--- a/site/public/llms.txt+++ b/site/public/llms.txt@@ -30,5 +30,6 @@ What it does: live transcripts; meeting summaries that include your own notes; s## Optional+- [Full text guide](https://yogurt.so/llms-full.txt): features, frequently asked questions and the latest five releases- [Report a problem or ask for a feature](https://github.com/FrigadeHQ/yogurt/issues)- [Frigade](https://frigade.com/): the company that makes Yogurtdiff --git a/site/scripts/llms-full.mjs b/site/scripts/llms-full.mjsnew file mode 100644index 00000000..c7bfdfb8--- /dev/null+++ b/site/scripts/llms-full.mjs@@ -0,0 +1,25 @@+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' }++export function fullGuide() {+ const shortGuide = readFileSync(join(process.cwd(), 'public/llms.txt'), 'utf8')+ let overview = shortGuide.split('\n## Website\n')[0].trimEnd()+ // A site-only checkout still contains the README facts in the short guide.+ try {+ const readme = readFileSync(join(process.cwd(), '../README.md'), 'utf8')+ const features = readme.split('\n## What it does\n')[1]?.split('\n## ')[0].trim()+ if (features) overview = overview.replace(/^What it does: .+$/m, () =>+ '## Features\n\n' + features.replaceAll('**', ''))+ } catch (error) {+ if (error.code !== 'ENOENT') throw error+ }++ const questions = faq.map(({ question, answer }) => question + '\n' + answer)+ const updates = releases.slice(0, 5).map(({ version, published, headline, changes }) =>+ [`${version} · ${published.slice(0, 10)} · ${headline}`, ...changes.map(line => '- ' + line),+ 'https://yogurt.so/updates#' + version].join('\n'))+ return [overview, '## Frequently asked questions', ...questions, '## Latest releases', ...updates].join('\n\n')+ .replaceAll('\u00a0', ' ') + '\n'+}diff --git a/site/scripts/llms.test.mjs b/site/scripts/llms.test.mjsindex 56895178..c296f5c0 100644--- a/site/scripts/llms.test.mjs+++ b/site/scripts/llms.test.mjs@@ -1,6 +1,9 @@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 { fullGuide } from './llms-full.mjs'import { platforms, release } from '../public/marketing/downloads.mjs'const guide = readFileSync(new URL('../public/llms.txt', import.meta.url), 'utf8')@@ -28,6 +31,15 @@ for (const target of targets) {}assert(exists, 'Unknown llms.txt destination: ' + target)}+const full = fullGuide()+assert(guide.split('## Optional')[1].includes('https://yogurt.so/llms-full.txt'))+for (const { question, answer } of faq) assert(full.includes((question + '\n' + answer).replaceAll('\u00a0', ' ')))+assert.deepEqual([...full.matchAll(/^https:\/\/yogurt\.so\/updates#(.+)$/gm)].map(m => m[1]), releases.slice(0, 5).map(row => row.version))+for (const row of releases.slice(0, 5)) {+ assert(full.includes(row.headline))+ for (const line of row.changes) assert(full.includes('- ' + line))+}+if (process.argv.includes('--live')) {await Promise.all([...new Set(targets)].map(async target => {const response = await fetch(target, {method: 'HEAD', signal: AbortSignal.timeout(20000)})