branko / transcriby
Transcribe youtube videos
Requires
- php: ^8.1
- athlon1600/youtube-downloader: ^3.1
- guzzlehttp/guzzle: ^7.2
- pbmedia/laravel-ffmpeg: ^8.3
This package is auto-updated.
Last update: 2025-02-27 19:52:53 UTC
README
To install Transcriby, simply require the package using Composer:
composer require branko/transcriby
You can add the facade to your config/app.php
file:
'aliases' => ['Transcriby' => Branko\Transcriby\Facade\Transcriby::class]
Finally, publish the package configuration file using Artisan:
php artisan vendor:publish --provider="Branko\Transcriby\Providers\TranscribyServiceProvider" --tag="config"
Usage
To transcribe a YouTube video, simply call the youtube
method on the Transcriby
facade:
$text = Transcriby::youtube('https://www.youtube.com/watch?v=9azXvuCtodM&ab_channel=JRE%2B');
This will return the transcription of the video as a string.
Configuration
You can configure Transcriby by editing the config/transcriby.php
file that was published to your application's config directory.
You need to install ffmpeg
License
Transcriby is open-sourced software licensed under the MIT license.