Search packages, repositories and app categories

GitHub repositorycdavis-code/yt_workspace

yt

Multiple YouTube APIs in one Dart library

yt project cover
Stars
12
Forks
3
Last push (UTC)
May 25, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

yt Workspace

Native Dart interface to multiple YouTube REST APIs including the Data and Live Streaming API.

pub package License: MIT

Packages

This workspace contains multiple related packages:

Package Description Version
yt Core Dart library for YouTube Data and Live Streaming APIs pub package
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

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.


Buy me a coffee

cdavis-code GitHub avatar
GitHub author

cdavis-code ↗

LanguagesDartTypeScriptShellRubyJavaScript

Categories

Dependencies used

Dependency list 1 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗