Skip to main content

Add your description here

Project description

Macscribe

Macscribe is a command-line tool for transcribing audio from YouTube videos and Apple Podcast episodes. It downloads the audio, transcribes it using a state-of-the-art ML model, and copies the transcription directly to your clipboard for easy use.

Features

  • Multi-Platform Support: Accepts YouTube and Apple Podcast URLs.
  • Automated Audio Processing: Downloads high-quality audio from the provided URL.
  • State-of-the-Art Transcription: Utilizes mlx-whisper for accurate and fast transcription.
  • Clipboard Integration: Automatically copies the transcript to your clipboard.
  • Customizable Models: Option to specify a different Hugging Face model for transcription.
  • Simple CLI Interface: Easy-to-use command-line interface built with Typer.

Installation

Macscribe can be installed using pip. Ensure you have Python 3.12 or later installed, then run:

pip install macscribe

This will install Macscribe along with its dependencies, including yt-dlp, mlx-whisper, and typer.

Usage

Once installed, you can run Macscribe directly from the command line. The basic usage is:

macscribe <URL> [--model MODEL]

Arguments:

  • <URL>: The URL of a YouTube video or an Apple Podcast episode.
  • --model MODEL: (Optional) The Hugging Face model to use for transcription.
    Defaults to "mlx-community/whisper-large-v3-mlx" if not specified.

Examples:

  1. Transcribe a YouTube video using the default model:

    macscribe https://www.youtube.com/watch?v=dQw4w9WgXcQ
    
  2. Transcribe an Apple Podcast episode with a specific model:

    macscribe https://podcasts.apple.com/us/podcast/example-episode-url --model some/alternative-model
    

After transcription, the resulting text is automatically copied to your clipboard.

Contributing

Contributions are welcome! If you'd like to contribute to Macscribe, please follow these steps:

  1. Fork the repository on GitHub.
  2. Clone your fork and create a new branch for your feature or bugfix.
  3. Make your changes, ensuring code quality and consistency.
  4. Test your changes thoroughly.
  5. Submit a pull request describing your changes and why they should be merged.

License

This project is licensed under the MIT License. See the LICENSE file for details.


This README provides an introduction, key features, installation instructions, usage examples, contribution guidelines, and licensing information, offering a comprehensive guide to using and contributing to Macscribe.

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

macscribe-0.1.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

macscribe-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file macscribe-0.1.1.tar.gz.

File metadata

  • Download URL: macscribe-0.1.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for macscribe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00e03c9ac43fbc3a3235ffb25f9fd9572d943e5e76711b78aabdec686a5d54f6
MD5 8199c06d912d882ed98d58acbf261fad
BLAKE2b-256 423d9dab1b093249a0f0a59705566878188aa59cfac54e6ac67576d2a6573af6

See more details on using hashes here.

File details

Details for the file macscribe-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: macscribe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for macscribe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eeb8858de28d83d43553aecb55452839202d3ee0f27ea56b3cf2830a35541b7f
MD5 737d980fe3d39055d76851bc0cf6a292
BLAKE2b-256 77942b26dcb29bb0d2708bfc30a633226e1ba60ab28b96d30f163476a309eaf4

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