承接 aytackayin/youtube-to-blog 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

aytackayin/youtube-to-blog

Composer 安装命令:

composer require aytackayin/youtube-to-blog

包简介

YouTube to Blog Laravel package with Chrome Extension API integration for Filament

README 文档

README

A comprehensive Laravel/Filament package that converts YouTube videos into blog posts via a Chrome extension, automatically downloading the video to the gallery.

v1.0.0 Features:

  • Background video downloading (Queue worker)
  • Automatically running worker (Special trigger for Windows)
  • Instant status tracking with Chrome Extension (Polling)
  • "Human-like" downloading capabilities (YouTube 403 bypass)

Requirements

  • Laravel 11+ or Laravel 12
  • Filament 4.x
  • yt-dlp: Must be installed on the server.
  • PHP Queue Worker: Required for background processes (The package automatically triggers locally).

Installation

1. Install the Package

(After publishing on Packagist):

composer require aytackayin/youtube-to-blog

During development with composer.json repositories setting:

"repositories": [
    {
        "type": "path",
        "url": "./packages/aytackayin/youtube-to-blog"
    }
]

2. Run Migrations

php artisan migrate

3. Publish Config File

php artisan vendor:publish --tag=youtube-to-blog-config

4. yt-dlp Installation (Important!)

yt-dlp must be installed on the server for the video download feature to work.

Windows:

  1. Download yt-dlp.exe.
  2. Place it in a folder in your project (e.g., extensions/youtube-to-blog/).
  3. Add the path to your .env file:
YT_DLP_PATH="C:/laragon/www/project/extensions/youtube-to-blog/yt-dlp.exe"

Linux:

  1. Install via terminal:
    sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
    sudo chmod a+rx /usr/local/bin/yt-dlp
  2. Configure .env:
    YT_DLP_PATH="/usr/local/bin/yt-dlp"

5. Chrome Extension Installation

This package comes with a Chrome Extension.

  1. Download the Package: Download the youtube-to-blog-extension.zip file from this repository.
  2. Unzip: Extract the files to a folder.
  3. Install on Chrome:
    • Go to chrome://extensions in Chrome.
    • Enable Developer mode in the top right.
    • Click Load unpacked and select the folder you extracted.
  4. Configure:
    • Click the extension icon.
    • Site URL: https://your-site.com (or http://localhost/project)
    • API Key: Enter the Chrome Token generated from your profile page.

Usage

  1. Go to YouTube: Open any video.
  2. "Save as Blog" Button: Click the button added below the video or the extension icon.
  3. Select Category: Select a category from the popup and click "Save".
  4. Process Tracking:
    • The extension will first say "Saved".
    • The video starts downloading in the background (Depends on server load).
    • When the video is downloaded, the Extension gives a "Completed" notification.
    • A system notification also appears in the Panel.

Model Settings

Add the trait to App\Models\User model:

use Aytackayin\YoutubeToBlog\Traits\HasYouTubeApiToken;

class User extends Authenticatable
{
    use HasYouTubeApiToken;
}

Add the API key management component to your Filament profile page:

use Aytackayin\YoutubeToBlog\Filament\Components\YouTubeApiKeyComponent;

YouTubeApiKeyComponent::getTab(),

Configuration

You can change the Model classes and file path settings via config/youtube-to-blog.php.

return [
    'disk' => 'attachments', // Disk where files will be uploaded
    'video_download_enabled' => true,
    'yt_dlp_path' => env('YT_DLP_PATH'),
    // ...
];

License

MIT License

aytackayin/youtube-to-blog 适用场景与选型建议

aytackayin/youtube-to-blog 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 01 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「api」 「blog」 「youtube」 「laravel」 「filament」 「chrome-extension」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 aytackayin/youtube-to-blog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 aytackayin/youtube-to-blog 我们能提供哪些服务?
定制开发 / 二次开发

基于 aytackayin/youtube-to-blog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 38
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-28