Skip to content

Khumee/utility-deck

Repository files navigation

Central Utility Scripts (utility-deck)

A collection of general-purpose scripts for file processing, document conversion, and audio transcription.

🚀 Installation

You can install this toolkit directly from GitHub using pip. This will automatically install all dependencies and register the terminal CLI commands:

pip install git+https://github.com/Khumee/utility-deck.git

Note: For the PDF conversion tools, you will also need to install the Playwright browser dependencies:

playwright install chromium

🛠️ CLI Commands (Terminal Shortcuts)

Once installed, you can run these commands directly from any directory in your terminal:

1. audio-transcribe

Transcribes audio files (like .mp3, .ogg, .wav) to text using Google's Gemini API:

# Set your API Key first (e.g. in Windows PowerShell)
[Environment]::SetEnvironmentVariable("GEMINI_API_KEY", "your_api_key", "User")

# Run transcription
audio-transcribe --file "my_recording.ogg" --language "Urdu"

2. html-to-pdf

Converts HTML pages or folders of HTML files into print-ready A4 PDFs:

html-to-pdf --input "document.html" --output "output.pdf"

3. md-to-pdf

Converts Markdown .md documents directly to PDF format:

md-to-pdf "document.md" "output.pdf"

4. extract-pdf

Extracts plain text contents from a PDF file:

extract-pdf "document.pdf"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages