yt
하나의 Dart 라이브러리에 여러 YouTube API
- 스타
- 12
- 포크
- 3
- 최근 푸시(UTC)
- 2026. 5. 25.
- 프로젝트 상태
- 활성
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
yt Workspace
Native Dart interface to multiple YouTube REST APIs including the Data and Live Streaming API.
Packages
This workspace contains multiple related packages:
| Package | Description | Version |
|---|---|---|
| yt | Core Dart library for YouTube Data and Live Streaming APIs | |
| yt_cli | CLI tool for YouTube APIs | 2.2.6 |
| yt_js | JavaScript/TypeScript bindings for web and Node.js | 2.2.6 |
| yt_mcp | MCP server for AI assistant integration | 2.2.6 |
| yt_mcp_js | MCP server compiled to JavaScript for Node.js | 2.2.6 |
Quick Start
Core Library (Dart/Flutter)
dependencies:
yt: ^2.2.6+1
import 'package:yt/yt.dart';
final yt = Yt.withOAuth();
final playlists = await yt.playlists.list(channelId: 'YOUR_CHANNEL_ID');
CLI Tool
dart pub global activate yt_cli
yt --help
JavaScript/TypeScript
npm install yt_js
MCP Server (AI Integration)
dart pub global activate yt_mcp
Features
- YouTube Data API: Channels, Videos, Playlists, Search, Comments, Thumbnails
- YouTube Live Streaming API: Live Broadcasts, Streams, Live Chat
- Multi-platform: Works with Dart CLI, Flutter (mobile, web, desktop)
- CLI Tool: Command-line interface for all supported APIs
- JavaScript Bindings: Use YouTube APIs from web and Node.js
- MCP Server: AI assistant integration via Model Context Protocol
Documentation
- Core Package Documentation
- CLI Documentation
- JavaScript Bindings
- MCP Server
- YouTube Data API Reference
- YouTube Live Streaming API Reference
Development
Setup
# Get dependencies for all packages
melos bootstrap
# Or manually
dart pub get
Build
# Run build_runner for code generation
melos run build
# Analyze all packages
melos run analyze
# Format all packages
melos run format
Testing
melos run test
Contributing
Any help from the open-source community is always welcome and needed:
- Found an issue? Please fill a bug report with details.
- Need a feature? Open a feature request with use cases.
- Are you a developer? Fix a bug and send a pull request.
- Are you using and liking the project? Promote it or make a donation.
License
MIT License - see LICENSE for details.
언어DartTypeScriptShellRubyJavaScript
분류
사용 중인 의존성
의존성 목록 1 개
- melos개발 의존성
^7.7.0
프로젝트에 맞는 저장소를 선택하려면?
사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
- 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
- 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
- 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.
출처 및 관리
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗