branko/transcriby

Transcribe youtube videos

v0.0.1 2023-03-27 15:16 UTC

This package is auto-updated.

Last update: 2024-04-27 18:04:35 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.