DEV.co
AI Frameworks · prateek-chaubey

YTPro

YTPro is a YouTube client built in JavaScript for Android that adds features like background playback, video downloading, ad blocking, and Google Gemini integration for summarization. It targets older Android versions and aims to be lightweight with minimal dependencies.

Source: GitHub — github.com/prateek-chaubey/YTPro
2.3k
GitHub stars
181
Forks
JavaScript
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryprateek-chaubey/YTPro
Ownerprateek-chaubey
Primary languageJavaScript
LicenseMIT — OSI-approved
Stars2.3k
Forks181
Open issues18
Latest releasev3.98 (2026-05-01)
Last updated2026-05-26
Sourcehttps://github.com/prateek-chaubey/YTPro

What YTPro is

A JavaScript-based Android YouTube client leveraging webview injection, node-ytdl-core, and YouTube.js for content access. Integrates Google Gemini API for video summarization with customizable prompts and includes media muxing, codec management, and sponsorship detection via SponsorBlock.

Quickstart

Get the YTPro source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/prateek-chaubey/YTPro.gitcd YTPro# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Offline Video Consumption & Archive

Download videos, shorts, thumbnails, and captions for offline playback or archival purposes on legacy Android devices without relying on YouTube's official client.

AI-Enhanced Content Summarization

Use Gemini integration to automatically summarize long-form videos with customizable prompts, ideal for rapid content triage or accessibility workflows.

Custom YouTube Experience on Legacy Hardware

Deploy on older Android versions where official YouTube support is limited, with background audio, minimal APK footprint, and gesture controls.

Implementation considerations

  • Verify Gemini API key provisioning, quota management, and cost model before production deployment.
  • Audit webview JavaScript injection patterns for XSS and injection vulnerabilities; sanitize user-supplied prompts passed to Gemini.
  • Test media codec availability and muxing behavior across target Android OS versions; validate ffmpeg or equivalent toolchain.
  • Implement rate-limiting and caching for YouTube metadata and Gemini API calls to avoid quota exhaustion.
  • Plan for YouTube API changes or domain-level blocking; monitor SponsorBlock, dislike API, and YouTube.js dependencies for breakage.

When to avoid it — and what to weigh

  • Production Enterprise Deployment — Project is marked as educational with a disclaimer about JavaScript injection into webviews; not suitable for regulated or mission-critical environments without legal review.
  • YouTube Terms of Service Compliance Required — Core features (downloading, ad blocking, dislike scraping) may violate YouTube's ToS; risky for organizations requiring strict platform compliance.
  • Need Official Google Gemini Support — Gemini integration and API credentials management are custom; no guarantee of official support or API quota prioritization from Google.
  • High-Scale Content Distribution — Project targets individual users and educational use; not designed for backend scaling, multi-user SaaS, or high-concurrency scenarios.

License & commercial use

MIT License permits commercial use, modification, and distribution with minimal restrictions (retain license and copyright notice). No patent indemnification or warranty provided.

MIT permits commercial use and redistribution. However, core feature viability depends on compliance with YouTube's Terms of Service and applicable copyright/DMCA regulations. Consult legal counsel before commercializing a YouTube downloader or ad-blocking tool; rights holders may issue takedown notices regardless of code license.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceActive
DocumentationAdequate
License clarityClear
Deployment complexityModerate
DEV.co fitPossible
Assessment confidenceMedium
Security considerations

JavaScript injection into webviews poses injection and XSS risks; require input sanitization for user prompts and Gemini payloads. Credential management for Gemini API keys must avoid hardcoding in APK or unencrypted storage. Network communication should use certificate pinning. No security audits or vulnerability disclosure process mentioned.

Alternatives to consider

NewPipe

Established open-source YouTube client with strong community, multi-source support, and proven stability on legacy Android. MIT-licensed with transparent security practices.

Vanced (archived) / Revanced

Purpose-built YouTube mod with ad-blocking, sponsorship skip, and return-youtube-dislikes. Revanced is actively maintained; more mature ecosystem than YTPro.

Official YouTube app + third-party AI summarizers

Decoupled approach: use YouTube's official client for compliance, integrate summarization via external APIs (ChatGPT, Claude) via secure middleware rather than webview injection.

Software development agency

Build on YTPro with DEV.co software developers

Devco can help you evaluate, extend, or harden YTPro for your use case—from Gemini API integration to security hardening and compliance review. Let's talk about your requirements.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

YTPro FAQ

Is YTPro legal to use or distribute?
MIT license permits distribution, but YouTube ToS prohibits downloading, ad-blocking, and scraping. No legal indemnification; consult counsel before commercial use or user-facing deployment.
How are Gemini API costs handled?
Not documented. Integrations likely require per-request billing; costs scale with summarization volume. Implement quotas and caching to control spend.
What happens if YouTube or external APIs (SponsorBlock, dislike API) change or go offline?
Features relying on those services will fail silently or degrade. No automatic fallback documented. Monitor dependencies and plan versioning strategy.
Can I use this in a commercial app or SaaS?
MIT permits it technically, but YouTube ToS violations and potential DMCA liability are your responsibility. Risk assessment and legal review are mandatory.

Work with a software development agency

From first prototype to production, DEV.co delivers software development services around tools like YTPro. Our software development agency staffs experienced software developers and web developers for custom software development, web development, integrations, and ongoing support across ai frameworks and beyond.

Ready to Build a Custom YouTube Experience?

Devco can help you evaluate, extend, or harden YTPro for your use case—from Gemini API integration to security hardening and compliance review. Let's talk about your requirements.