Repository navigation
v0.1.0
Voicy goes public with a ceiling on what one person can spend: an hour of new
audio in any 24 hours, with cached transcripts still free. The build moves to
Go 1.26.9, and the German and Ukrainian texts now read correctly.
No pre-release of this version ran anywhere. Voicy has no test bot, because a
second bot needs its own Deepgram budget (see docs/versioning.md), so a
pre-release would have gone to the same production bot this release does. The
allowance was checked by unit tests and by the database tests against
PostgreSQL 17, migration 006 included.
Added
- A daily allowance per person. Deepgram bills every second it hears, and
nothing stopped one person from forwarding podcasts all day: audio files are
transcribed in a direct chat without being asked, up to an hour each. Now one
person gets at mostUSER_DAILY_AUDIO_LIMITof new audio in any 24 hours,
one hour by default. The window rolls instead of resetting at a midnight that
would fall at a different hour for everyone. A file that does not fit is
refused before it is downloaded, and the answer says how large the allowance
is and how long until this file would fit. A file already in the cache costs
nothing and is still served./vprefusals stay private. voicy_daily_limit_refusals_totalcounts the refusals.
Fixed
- German: the start screen and help said "ein Videokreis" where the accusative
"einen Videokreis" belongs, the first sentence every German reader sees. - Ukrainian: "Не розібрав мову" read as "did not understand the language"; the
empty-speech answer now says "мовлення", speech.
Security
- Built with Go 1.26.9. Under Go 1.26.6 Voicy's code called into nine
standard-library vulnerabilities innet/http,net/textprotoand
crypto/tls(GO-2026-6603, -6605, -6607, -6608, -6610, -6611, -6612, -6613,
-6617).golang.org/x/textmoves from v0.39.0 to v0.43.0 for GO-2026-6629,
which pullsgolang.org/x/syncto v0.24.0. Voicy publishes no port outside
its Docker network, so none of these were exposed to the internet, but CI's
govulncheckwould have failed the next push.
Changed
- New optional variable
USER_DAILY_AUDIO_LIMIT(default1h).0turns
the limit off; any other value must be at leastMAX_MEDIA_DURATION, or the
service refuses to start, because a file longer than the allowance could
never be transcribed. Production does not set it today, so after this
release it runs with a one-hour allowance. - Migration
006_daily_audio_limit.sqladdsjobs.audio_seconds, the
seconds Deepgram billed for the job, and the job statuslimited. A refused
job is neither a failure nor a delivery, so/healthzjobs_failedand the
failure counters do not count it. Rows finished before the migration have no
audio_secondsand count as zero. - A release waits for CI.
release.ymlrunsci.ymlon the tagged commit
and publishes nothing unless it passed. The checks it used to repeat inline
now come from CI itself, so the two cannot drift. When CI cannot run,
release.ymlcan be started by hand with the tag and a reason; that run skips
CI and prints the reason at the top of the release notes. See
docs/releases.md. - The image carries
org.opencontainers.image.versionand.revisionlabels,
sodocker inspectnames the build without starting it. - CI also runs weekly, so a new advisory against a dependency or the standard
library is noticed while nothing is being pushed. - Dependabot opens grouped version updates against
dev.
Container image
ghcr.io/freshlabdev/voicy@sha256:608596d7bd79cf57370773b1c58dd14ac5fa21ce997ddd0b6030b919f82e40cd