Initial commit: Telegram voice/video transcription bot in Zig
Long-polling bot that accepts voice messages and video notes, sends them to Whisper STT API, and replies with transcription text. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM alpine:3.21 AS builder
|
||||
RUN apk add --no-cache zig
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN zig build -Doptimize=ReleaseSafe
|
||||
|
||||
FROM alpine:3.21
|
||||
RUN apk add --no-cache ffmpeg ca-certificates
|
||||
COPY --from=builder /app/zig-out/bin/transcribator /usr/local/bin/
|
||||
CMD ["transcribator"]
|
||||
Reference in New Issue
Block a user