Repository navigation
Releases
v0.4.2 — Reminds you to tell the call it is recorded
Changed
recordreminds you to tell everyone on the call that it is being recorded.
v0.4.1 — Speakers on one track too
A recording of one track now has its speakers told apart: Speaker 1, Speaker 2 and so on.
Changed
- A recording of one track has its speakers told apart. With the local engine, a recording made without a
call_device, and an audio file given totranscribe, now have the speakers found on your Mac, and how many there are,
as the call's track of a two-track recording has: they are labelledSpeaker 1,Speaker 2and so on, under a list of
them, andgh0stwriter speakersnames them. There is noYouon one track, since nothing tells your voice from the
rest, and one voice isSpeaker 1, notOthers. Before, such a transcript had no speaker labels. A 3-hour recording of
one track peaked at 6.29 GB of memory on an Apple M5 Ultra; the check on a 16 GB Mac is still to be done. - Every local recording needs the speaker model: run
gh0stwriter modelafter upgrading if you have only the speech
model.stopandtranscribeexit with code 2, naminggh0stwriter model, when it is missing, for one track as for
two, before anything is stopped, made, read or sent, andrecordandconfig --engine localwarn, for every
recording with the local engine, when it is not there yet.doctorfails, with the local engine chosen, when it is missing, where it only warned. The
AssemblyAI engine is unchanged and needs no speaker model. - A split that fails on one track does not lose the transcript. The transcript is the plain one the last release
made, timed lines with no speakers, one line on standard error says that the speakers could not be told apart, and the
exit code is 0.
v0.4.0 — The call's speakers, found on your Mac
Changed
- The call's speakers are found, not counted. With the local engine, every two-track recording has the call's
track split into its speakers on your Mac, and the number of speakers is found by the model (up to 8); you no longer
say how many. NVIDIA's Nemotron 3 Diarization, run by NVIDIA's NeMo-Speech.cpp, replaces the earlier split. When it
finds one speaker, the call's track isOthers. On the public meeting ES2004a it gave 86.6% of the words of the
call's track to the right speaker, where the earlier split gave 72.9%, and found the right number of speakers on the
meeting's official mix. A 3-hour two-track call peaked at 6.28 GB of memory on an Apple M5 Ultra; the check on a
16 GB Mac is still to be done. --others Nis no longer needed.stopandtranscribestill accept it where the last release did, with the
local engine on a two-track recording, ignore the number and say so in one line. Where it was refused (AssemblyAI, a
recording with one track, an audio file) it is still refused.- A two-track recording needs the speaker model: run
gh0stwriter modelafter upgrading.stopandtranscribe
exit with code 2, naminggh0stwriter model, when it is missing, before anything is stopped, read or sent, andrecord
warns, with acall_deviceset, when it is not there yet. The installer runsgh0stwriter modelitself when the engine
is already local. The command also checks the model file against its published checksum, and downloads it again,
keeping the old folder beside it, when it is not that file. - A split that fails does not lose the transcript. If the split of the call's track fails while it runs, the call's
track is labelledOthers, one line on standard error says why, and the exit code is 0. gh0stwriter modeldownloads one speaker model, 102 MiB, in place of two (44 MiB).doctornames it. The folder of
the old speaker models,speakers-9403a690-0743f301, in~/.local/share/gh0stwriter/models/, is not used any more and
not removed: delete it by hand if you want the space.- NVIDIA's libraries ship in a folder,
gh0stwriter-lib/, beside the program, which does not start without it.
The installer puts it there and replaces it whole on each install; it tries the new program before it replaces the
old one, and puts the old one back if the new one does not run. ONNX Runtime and sherpa-onnx are gone from the program; the third-party notices
list what NVIDIA's libraries carry.
v0.2.0 — Transcribe on your Mac
A second engine, Parakeet v3 on your Mac's GPU, transcribes a call without uploading it; chosen at install, switchable any time.
Added
- A second engine that transcribes on your Mac.
gh0stwriter config --engine localmakes it the one used from
now on,--engine assemblyai|localonstopandtranscribepicks it for one run, and AssemblyAI stays the
default, so an install that changes nothing works as before. The local engine runs NVIDIA's Parakeet model on your
Mac's GPU: it needs no API key, sends nothing anywhere, and gives no speaker labels (the transcript has one
[MM:SS] <sentence>paragraph per sentence and ends withSpeakers: 0). It reads 16 kHz mono 16-bit WAV, which is
whatrecordwrites; other audio is refused with the sox command that converts it. On a public 17-minute test
meeting it took about 16 seconds and made roughly 19 mistakes per 100 words with filler sounds ignored. It stays
within 6 GiB of memory. gh0stwriter modeldownloads the local engine's speech model (2.3 GiB) once, checks it against a published
checksum, and carries on where it stopped if it is cut off.gh0stwriter doctorlists what this Mac has and lacks (sox, the engine in use, the API key, the speech model
and the Metal kernels), with afix:line under each problem, and exits 1 when something the chosen engine needs
is missing. It changes nothing and never prints the key.- The installer asks which engine to use.
install.shasks once on a terminal (1 for AssemblyAI, 2 for the local
engine, Enter to leave it as it is); with the local engine it then downloads the speech model. For a script, pass
--engine assemblyai|localand--no-model. Without a terminal and without options nothing about the engine
changes.
Changed
-
A call is limited to 3 hours.
recordstops at 3 hours, and the local engine refuses a longer recording and
keeps the audio;--engine assemblyaistill takes it. -
The download is bigger: about 42 MB, where 0.1.1's was 1.2 MB. The release now carries the Metal kernels the
local engine needs (mlx.metallib, installed beside the program). -
The next release needs macOS 14 or later. On an older Mac the installer now stops before it downloads
anything and leaves the gh0stwriter you have where it is. Version 0.1.1 and earlier run on macOS 11 or
later; to install 0.1.1 on an older Mac, run the installer withGH0STWRITER_VERSION=0.1.1.
v0.1.1 — Silent microphone fix
Stops a recording whose microphone gives only silence, and never uploads silence to AssemblyAI.
Fixed
- A recording no longer comes back as an empty transcript when the terminal app is not allowed the
microphone. macOS gives such an app silence instead of an error, so a whole call used to be recorded,
uploaded and transcribed to nothing.recordnow listens to the first second: if the default input gave
only silence it stops sox and exits with code 4, naming the setting to change and, for a muted
microphone, the way out (unmute it, or name the input with--deviceto record anyway). A silent
--deviceonly gets a warning, because a loopback device such as BlackHole is silent until something
plays; for an aggregate device that includes a microphone, the warning says your side of the call
may be missing. An input that sends no audio within 10 seconds also only gets a warning, since macOS may still be
asking whether to allow the microphone.stopandtranscriberefuse a silent 16-bit WAV before
anything is uploaded (exit code 4) and keep the audio. Audio in any other format is sent as before.
v0.1.0 — First public release
First public release: record a call on your Mac and get a transcript with speaker labels.
Added
- A recording that outlives the command that started it.
gh0stwriter recordstarts sox in its own
process group and returns at once;gh0stwriter stopends it with SIGINT, so sox finishes the audio
file, and then transcribes it. A recording started from a shell call that ends is still running when you
come back to stop it. - A fixed folder for every recording,
~/gh0stwriter/<date-time>-<title>/(or under
GH0STWRITER_HOME), with the audio, the transcript and sox's log. Folders are mode 0700 and files 0600. - The audio is never deleted. A failed upload, a failed transcription or a crash leaves the recording
where it is, andgh0stwriter transcribe <folder>tries again. It also takes an audio file. - A named input to record from.
--device NAME, ordevicein~/.config/gh0stwriter/config.toml,
records from a named input, such as an aggregate device built on BlackHole, so that a call can be
recorded from both sides. The name reaches sox as-t coreaudio NAME. This has not been tried yet with
a real BlackHole setup: the recordings checked so far used a stand-in for the microphone. - Transcripts with speaker labels, from AssemblyAI's EU API with the
universal-2model, written to
transcript.mdand printed unless you pass--quiet. Where AssemblyAI stores uploads made through its
EU endpoint is not confirmed, and AssemblyAI documents exceptions to EU residency: see Privacy in the
README before you use gh0stwriter for audio that must stay in the EU. - A wait that scales with the audio: 10 minutes plus half the length of the recording, checking every
3 seconds. A few failed checks in a row (a network error, a timeout, an HTTP 5xx or 429 reply) do not
abandon a job that AssemblyAI is already working on. gh0stwriter configsaves your AssemblyAI API key from standard input (pbpaste | gh0stwriter config)
to a file only you can read;ASSEMBLYAI_API_KEYoverrides it.- Safe handling of the recording process. gh0stwriter only signals a process it has confirmed is its own
sox, and refuses to start a second recording or to transcribe a recording that may still be running.