Skip to main content

Karaoke Lyrics Card Creation Support Tool

Project description

klctool - Karaoke Lyrics Card Creation Support Tool

sample image

  • klctool: Command Line tool
    • Hiragana conversion of lyrics: Powered by Google Gemini
    • Conversion to word processor format - ODT format for LibreOffice Writer using Pandoc
    • Background image processing: Adjusts images for use as lyrics card backgrounds

Documentation

Japanese
English

Prerequisites

  • Python

  • Pandoc

  • LibreOffice Writer

  • Google Gemini API Key

Installation

pip install klctool

Usage examples

klctool hiragana lyrics_file_name
klctool convert2odt lyrics_file_name_hiragana
klctool adjustimage image_file_name1 image_file_name2

Customization

  • Configuration file location:
    • macOS / Linux: ~/.config/klctool/
    • Windows: %APPDATA%
.config
└── klctool
    ├── config.toml  # Default configuration values, etc.
    ├── gemini-2.0-flash-exp.api_key.toml  # API key
    ├── gemini-2.0-flash-exp.prompt.toml   # Prompt
    ├── klctool-edit.lua # Lua script for Pandoc
    ├── klctool.odt      # ODT template file
    └── paper-size.toml # Paper size definitions

License

MIT License

Development / Test Environment

  • MacBook Air Retina, 13-inch, 2018 Intel
  • MacOS Sonoma 14.7.4
  • Python 3.13.2
  • Pandoc 3.6.4
  • LibreOffice Version: 25.2.1.2 (X86_64) / LibreOffice Community / Japanese Language Pack

Acknowledgements

  • The code was basically written by Google Gemini. It was very helpful and I am grateful!
  • Thank you to all OSS developers!

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

klctool-0.1.6.tar.gz (164.6 kB view details)

Uploaded Source

Built Distribution

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

klctool-0.1.6-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file klctool-0.1.6.tar.gz.

File metadata

  • Download URL: klctool-0.1.6.tar.gz
  • Upload date:
  • Size: 164.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for klctool-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e2a578a1ee69728be0d3b98a00e0719d151e139ff1301bf2d6136892247e4675
MD5 665ba94bf38416fdf9afc7cffd6f88b7
BLAKE2b-256 494e6744e358946bc1084dc63ac1d3913844a0ffe9243e55647dc6d6ace9164d

See more details on using hashes here.

File details

Details for the file klctool-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: klctool-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.13

File hashes

Hashes for klctool-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 249821d8b01303066153b71274282f3463cfbd1be9c7c545b5e2645e2e5849d2
MD5 cf29ede4ea9127bd7a328e5b598e2bcf
BLAKE2b-256 af21ab9d29845514d55e43ae3d98509e79d469cbeb7771e546dd10f882ace6ee

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