Meeting minutes that keep the minutiae.
Private meeting notes for Windows. Minutia records your microphone and the audio of any call app (Teams, Meet, Zoom…). It transcribes the meeting locally, offline, and when the meeting ends it turns the transcript into structured notes:
- summary
- key points
- decisions
- action items
- open questions
Personal data is masked before anything leaves your machine.
The UI and notes are in Italian. Transcription uses an Italian speech model.
Live transcription. Your microphone is "Io" (green) and the call audio is "Altri" (blue). Each channel has its own level meter, and the line being spoken appears at the bottom while the recognizer is still working on it.
AI notes. When you press Stop, the notes are generated: summary, key points, decisions, open questions and action items. Next to them, the app shows which kind of personal-data masking was applied before anything left the PC.
| Your own notes, used by the AI as high-priority context | Links in AI output never open without confirmation |
|---|---|
![]() |
![]() |
The screenshots come from the real app window and use a scripted demo meeting. The transcript is real Vosk output of the script read aloud by the Windows Italian voice, recognition quirks included. The AI notes are an example written to match it, because the screenshot script calls no LLM. All screenshots can be regenerated with scripts/make_screenshots.py.
-
Two channels, two speakers. Your mic is "Io" (me) and the system audio loopback is "Altri" (others). This attributes speakers without diarization models or virtual audio drivers.
-
Streaming ASR. One Vosk recognizer per channel. A partial result that stops changing for 900 ms is forced to final, so the transcript keeps up with the conversation.
-
Privacy by design. Audio never leaves the PC. Before the transcript goes to the LLM:
- email addresses, phone numbers, Italian fiscal codes, IBANs and street addresses are replaced by tokens such as
[EMAIL_1]; - names and places are also masked, when Presidio is installed.
The token map stays in memory and is used to restore real values in the returned notes.
- email addresses, phone numbers, Italian fiscal codes, IBANs and street addresses are replaced by tokens such as
-
Your notes guide the AI. Notes you type during the meeting go into the prompt as high-priority context.
Before hardening Minutia, I statically analyzed a commercial meeting-notes app and used the result as the baseline. Minutia keeps every strength that app has and fixes its weaknesses. See SECURITY.md for the threat model and the evidence.
- Encrypted database. The local database is encrypted with SQLCipher (AES-256). Its random 256-bit key is stored in Windows Credential Manager (DPAPI).
- No secrets in files. The API key is entered in the app and stored in Credential Manager, never in a file.
- Verified dependencies. Packages are hash-locked (
pip --require-hashes), and the speech model is checked file by file against a SHA-256 manifest before every load. - Signed release. The Windows build is Authenticode-signed (SHA-256, timestamped) and ships with
SHA256SUMS. - No environment injection. Python runs in isolated mode, so
PYTHONPATH/PYTHONSTARTUPcannot inject code. - AI output treated as untrusted. Links in the AI notes never open on their own: dangerous URL schemes are blocked, and web links need confirmation.
One command, from Git Bash or WSL on Windows. The first run sets everything up, every later run just starts the app:
./run.sh # setup if needed, then start Minutia
./run.sh --test # run the test suiteOr step by step in PowerShell:
.\scripts\setup.ps1 -Dev # venv, hash-locked deps, verified Italian Vosk model (~48 MB)
.\.venv\Scripts\python.exe main.py # then ⚙ Impostazioni → paste your OpenRouter keyWithout an API key, recording and transcription still work; only AI notes are disabled.
To build a signed release:
.\scripts\build.ps1 # → dist\Minutia\Minutia.exe + dist\SHA256SUMS.txtThe build runs the tests first and stops if any fail. Without -PfxPath it signs with a self-signed development certificate.
Optional: to mask names and places too, install
pip install presidio-analyzer presidio-anonymizer spacy and then
python -m spacy download it_core_news_md.
.\.venv\Scripts\python.exe -I -m pytest # 176 automated tests, ~25 s
$env:RUN_HARDWARE_TESTS=1; .\.venv\Scripts\python.exe -m pytest tests/test_hardware.py| Suite | Covers |
|---|---|
test_pii |
masking of each PII type, token reuse, unmask round-trip |
test_summarize |
Markdown rendering, OpenRouter request/response, no PII in the outgoing prompt |
test_store |
CRUD, ordering, cascade delete, persistence |
test_security |
encryption at rest, key handling, no secrets on disk, model tampering, hash-locked deps, env injection, untrusted links (32 tests, see SECURITY.md) |
test_audit_fixes |
regression tests for every finding of security audit #1, using real ASR audio, a real Qt child process and attack payloads (62 tests) |
test_audit2_fixes |
regression tests for security audit #2: env-injected TLS/proxy, network paths, Markdown sanitizer bypasses, hostile SQL identifiers (28 tests) |
test_audio_asr |
resampling/clipping, forced-final logic, real Vosk on a recorded Italian sentence |
test_recorder |
channel attribution, one channel failing, device unplugged mid-stream |
test_ui |
full record → stop → AI notes flow, export, autosave, edge cases (pytest-qt) |
test_hardware |
real loopback capture and real Windows clipboard (opt-in) |
Manual end-to-end scenarios are in TESTBOOK.md.
main.py entry point: isolated-mode relaunch, settings, key migration
src/audio.py mic + WASAPI loopback capture, 16 kHz PCM16
src/asr.py Vosk streaming recognizer (loads only a verified model)
src/recorder.py runs both channels, emits timestamped segments
src/spoken.py spoken Italian → written form (numbers, emails) before masking
src/pii.py PII masking / unmasking
src/summarize.py OpenRouter client (HTTPS only), prompt, JSON → Markdown
src/store.py SQLCipher storage (meetings, segments, notes)
src/secrets_store.py Windows Credential Manager: DB key and API key
src/integrity.py SHA-256 manifest check of the speech model
src/paths.py rejects network/UNC paths from env and .env
src/winclip.py private clipboard (no history, no cloud sync)
src/ui.py PyQt5 window (resource-loading disabled for untrusted content)
scripts/setup.ps1 verified install
scripts/build.ps1 tested, signed release build
- Echo without headphones. With speakers instead of headphones, the mic also picks up the other participants, so some lines can appear twice. Use headphones.
- Loopback records all system audio, including notifications and music.
- Transcription quality. Vosk "small" is fast and CPU-only, but less accurate than Whisper.
- Manual start/stop. There is no automatic meeting detection.
Minutia reuses and generalizes building blocks from my earlier speech-analytics projects:
- dual-channel WASAPI capture;
- streaming Vosk recognition;
- PII masking.
I rebuilt these blocks around a meeting-notes workflow, with a security baseline benchmarked against the hardening of comparable commercial desktop apps (see SECURITY.md).
The source code is licensed under the Apache License 2.0. See NOTICE for third-party components.
Minutia depends on PyQt5, which is licensed under GPL v3 (or a commercial Riverbank license). The Apache-licensed source is compatible with that, but a binary build such as dist\Minutia\Minutia.exe bundles PyQt5. Anyone who distributes a binary must therefore distribute it under the terms of the GPL v3, or hold a commercial PyQt licence. Moving the UI to PySide6 (LGPL) would remove this constraint.
🔒 Note to self (encrypted)
-----BEGIN PGP MESSAGE-----
jA0ECQMKtsv/n8VRAPj/0sEkAclg5y7tedof/bUyut4Q07PoqFV+0fmWdxqhNftn
wj7LjUZPBe2LDQBefh4g1B7LPQN19YWqTVIE8MrKPp/tNE/pazymPdB0mlgr2kaW
UvpbChYpie1qO+oLUHgTQW4spwuOh5gAQ7azyJTEnCbNFROmf/LPFYbCFvzOqj3x
7jf/z89OBYKiK0bToybiXZuZU/UmptbiqloavM8B0TdSVOvS4p+xt8ncGQzZQTFi
Hc8Art3FtSA4AMciK3/vPM0SyXFdZk5/kYl8XJlream8zwS82cfGQs9vCjAlvmKJ
3elqeqsKY5Ceo0whvIqSI1hjN1+aKKmm9XZ3Sgna3FQvTsQ0+6JHj+DddANO06hB
I6o3T/pmxibjZF255mKpf4dV4/AGpsJbAjJ281ZT2yXSYVey4LySOXU5yYgMc6Hz
l10h2r2OpN0DOGNJco0a4CLUNpL6OBb/ZMt0ECboXnidKF6YvovCO/2QMpBLpsl2
o/Ss11Qujn28KYrx4iVl7yTL2/Ofxa8Nre5ncww06/bdKcWys1B14AYpuR70t6mL
ljAKRSICAxhpsHFIbcshz12StjZ4taQ4SySaD/5bBZz5XNj0H6Q5oF7F355mfYhL
M5HCrq+End/0nT8TNPVjhAWz80fZgQ==
=OClf
-----END PGP MESSAGE-----
Read it (from the repository root, asks for the passphrase):
sed -n '/BEGIN PGP MESSAGE/,/END PGP MESSAGE/p' README.md | gpg -d --pinentry-mode loopbackWrite a new note (AES-256, passphrase-based), then paste the output above:
gpg --symmetric --armor --pinentry-mode loopback --cipher-algo AES256 \
--s2k-mode 3 --s2k-digest-algo SHA512 --s2k-count 65011712 --no-symkey-cache < note.txt
shred -u note.txt


