Skip to main content

Audio transcription with speaker diarization using Gemini

Project description

Kakitori

CLI tool for audio recording and transcription with speaker diarization using Google's Gemini Flash.

Installation

uv tool install kakitori

Requires mpv and pactl/ffmpeg (for recording) installed on your system.

Configuration

Add your Gemini API key to ~/.config/kakitori/.env:

GEMINI_API_KEY=your-api-key-here

Usage

Record and transcribe

kakitori record

Transcribe an existing file

kakitori process recording.mp3

Options

kakitori process recording.mp3 -o transcript.txt   # save to file
kakitori process recording.mp3 --stdout             # output to stdout
kakitori process recording.mp3 --skip-speaker-id    # skip speaker identification

Output

[00:15] John: Hello everyone, welcome to today's meeting.
[00:32] Jane: Thanks for having me. I have some updates to share.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kakitori-1.0.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kakitori-1.0.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file kakitori-1.0.2.tar.gz.

File metadata

  • Download URL: kakitori-1.0.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kakitori-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1fcf7ff9859bb45ca498296edca0856b8ed8e0c9afdb1588c54f329bed8dad65
MD5 c959395c26f7a63192d297adc8a70be8
BLAKE2b-256 ff9586ba9699fc148eea1ada1f82ebea4466873eacfdc8cd1b1bae42c4c3b36e

See more details on using hashes here.

File details

Details for the file kakitori-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: kakitori-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kakitori-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca4cae7b1e1424f1f83c41eb5985f8ea1361d5c4076f984ab90ec81282767b03
MD5 b041293ba7bab0df178afaed7d068dbd
BLAKE2b-256 d31869f69a6d34ac0aa7482a01f95da99441b17b995b283ec674368f37f235a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page