Macscribe
Macscribe is a command-line tool for transcribing audio from YouTube videos, Apple Podcast episodes, and local audio/video files. It downloads audio from URLs or processes local files, transcribes them 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, Apple Podcast, and X URLs.
- Local File Support: Transcribes local audio files (MP3, WAV, FLAC, M4A, OGG, WMA) and video files (MP4, MOV, AVI, MKV, WEBM, M4V, WMV).
- Automated Audio Processing: Downloads high-quality audio from URLs or processes local files directly.
- State-of-the-Art Transcription: Utilizes
mlx-whisperfor 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 <INPUT> [--model MODEL]
Arguments:
<INPUT>: Either a URL (YouTube, Apple Podcast, X) or path to a local audio/video file.--model MODEL: (Optional) The Hugging Face model to use for transcription.
Defaults to"mlx-community/whisper-large-v3-mlx"if not specified.
Examples:
-
Transcribe a YouTube video using the default model:
macscribe https://www.youtube.com/watch?v=dQw4w9WgXcQ
-
Transcribe an Apple Podcast episode with a specific model:
macscribe https://podcasts.apple.com/us/podcast/example-episode-url --model some/alternative-model
-
Transcribe a local audio file:
macscribe /path/to/your/audio.mp3 -
Transcribe a local video file:
macscribe /path/to/your/video.mp4
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:
- Fork the repository on GitHub.
- Clone your fork and create a new branch for your feature or bugfix.
- Make your changes, ensuring code quality and consistency.
- Test your changes thoroughly.
- 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.
Metadata
Release files for macscribe 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| macscribe-0.1.2.tar.gz | 36.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| macscribe-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.2 kB
Release files / macscribe-0.1.2.tar.gz
| Download URL | macscribe-0.1.2.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aad4dfc8f706f7e78ba4cbc25a20fa54f6bc3cff8a995800a72a9a15e2d81a63
|
|
BLAKE2b-256 checksum How to use checksums |
f73473b21740c5cc16bfb4d41eb6208fa9a81195af1fba5bbf2331910295c7da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|
Release files / macscribe-0.1.2-py3-none-any.whl
| Download URL | macscribe-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c45f6aa83630a9282e3bfc9aa5b685816be437b4d5c8cc854765c3cbb8ee817
|
|
BLAKE2b-256 checksum How to use checksums |
4cec400d42ecda61ae86e48a1efeaf4a0c29b7f1f9832b65e9f3f77c3fccf748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|
Security for macscribe 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.