yt
एक डार्ट लाइब्रेरी में कई YouTube API
- स्टार
- 12
- फ़ोर्क
- 3
- अंतिम पुश (UTC)
- 25 मई 2026
- प्रोजेक्ट स्थिति
- सक्रिय
मूल 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 ↗