About CleanPipe

YouTube should not feel like a funnel.

CleanPipe is a free, open-source YouTube client for Android. It is a YouTube-only fork of NewPipe, rebuilt screen by screen with a modern Compose interface and a Media3 playback engine.

  • Version 0.1.0 beta
  • Android 10+
  • GPLv3
  • Based on NewPipe

What CleanPipe is

CleanPipe is a YouTube client for Android that does not require a Google account. It fetches public video data, plays streams, and keeps your subscriptions, history, and playlists on your device.

The app started as a fork of NewPipe, the long-running libre streaming client. CleanPipe keeps the parts of that foundation that still make sense and replaces the screens, player, and extraction path with new code.

At a glance

PlatformAndroid 10 (API 29) and newer
Current version0.1.0, beta
PriceFree, with no ads and no paid tiers
LicenseGNU GPL v3 or later
Built withKotlin, Jetpack Compose, Media3, OkHttp, Room
AccountOptional. Only useful for age-restricted playback and bot checks
Sourcegithub.com/Cellulose-Type-C/CleanPipe

Why another YouTube client

The official YouTube app is built to keep you inside an advertising and recommendation system. A client like CleanPipe starts from a different premise: you already know what you want to watch, and the app should get out of the way.

That means no ads, no account wall, no tracking, and no forced feed. It also means a player that behaves like a player: the controls are where you expect them, the video can shrink into a mini player without restarting, and the next video does not autoplay unless you asked for it.

CleanPipe is not trying to clone every corporate feature. It focuses on the core loop: search, open, watch, subscribe, save, and come back later.

Principles

Write new code, not patches

The old NewPipe screens are being replaced one by one with new modules. When a screen is rebuilt, the old Java and XML code for it is deleted instead of kept alive behind a flag.

Privacy is the default

There is no analytics SDK, no ad network, and no account requirement. Optional sign-in exists only for playback cases that genuinely need it.

One player, one source of truth

The full video page and mini player share a playback engine and a single transition layer. The app should never have two players disagreeing about what is playing.

An honest beta

CleanPipe does not pretend to be finished. The website and the app both say what works, what is still moving, and what is not supported yet.

How the app is built

The app is modular. Each major screen lives in its own Gradle module and talks to the app shell through a host interface, so new code does not depend on the legacy app classes.

ModuleResponsibility
:appThe Android shell: main activity, navigation, Compose settings, WorkManager/SAF downloads, and Room database.
:desktopAppThe companion Desktop JVM application backed by Compose Multiplatform and VLCJ playback.
:videopageThe video page, mini player, Media3 / VLC playback engines, popup, Play Mode handoff, comments, Return YouTube Dislike, and queue handling.
:upnextShared Up Next and queue management UI.
:searchSearch suggestions, recent searches, compact results, and filters.
:homeThe Home tab and the subscription feed.
:subscriptionsThe subscription feed, channel strip, channel list, groups, and import/export.
:libraryHistory, Watch Later, local playlists, downloads, settings, and about links.
:channelChannel pages, tabs, and channel details.
:uiThe shared design system: theme, icons, video cards, rows, shelves, menus, and dialogs.
sharedKotlin Multiplatform shared code and resources.

The video page

The centrepiece of the rewrite is a single Compose layer that transitions between a full video page and a floating mini player. One expansion value drives the animation, and the video surface is scaled with a graphics layer instead of being recreated every frame.

Playback runs on Media3. The player supports quality switching, speed control, subtitles, resume, autoplay next, and a queue for “Play all” and “Shuffle”. The page also shows comments as collapsible threads and keeps the video playing while you browse the description or the next videos.

Navigation

The footer has four tabs: Home, Explore, Subscriptions, and Library. Search sits at the top, and the sidebar that older NewPipe versions used has been removed. Settings, Downloads, and About live at the bottom of the Library tab.

The extractor

YouTube does not offer a public API for the kind of playback CleanPipe needs, so the app uses an extraction layer derived from NewPipe Extractor. CleanPipe's fork is developed alongside the app and is focused only on YouTube.

  • Fallback client chain. Several YouTube clients are tried in order, each with its own user agent and request shape.
  • QuickJS challenge solving. Player challenges are solved with QuickJS, without shipping a full browser engine.
  • Optional accounts. Signing in helps with age-restricted videos and bot checks, with YouTube Studio as a fallback path.
  • Remote configuration. Parameters YouTube changes often can be updated without shipping a new app version.
  • Performance work. Precompiled regular expressions, connection warm-up, network-change awareness, and thread-safe caches.
  • Explore and channel data. The extractor exposes list and channel data used by the new UI.

The app and the extractor are separate concerns: the UI never talks to YouTube directly, and the extraction layer does not know about Compose.

Where the rewrite stands

CleanPipe 0.1.0 is a beta. The legacy Java, XML, RxJava, ExoPlayer 2, and ACRA layers have been completely replaced with Kotlin, Jetpack Compose, Coroutines/Flow, WorkManager, and Media3.

New and working

  • 100% Kotlin & Jetpack Compose across every screen, dialog, and Settings page
  • Unified Media3 engine for Watch, Mini Player, Play Mode, Popup, PiP, and notifications
  • Loop, Ambient mode, Stable volume, Sleep timer, captions, and Return YouTube Dislike counts
  • WorkManager + SAF downloads, Room database, and ZIP backup/restore
  • Companion Desktop JVM app (:desktopApp) with VLC playback

Still in progress

  • Ongoing extractor resilience for YouTube Safari/HLS and Studio playback recovery
  • Desktop feature parity and packaging
  • Explore & channel page polish
  • Cold-start and feed-sync performance tuning
  • Expanded multiplatform unit and UI tests

The GitHub page has the build instructions and contribution notes. The help centre covers installation and troubleshooting.

Privacy

CleanPipe does not include advertising, analytics, or telemetry. Requests for video data go from your device to YouTube. Your history, subscriptions, playlists, and settings are stored locally on your device.

Signing in to YouTube is optional. If you use it, the authentication happens with YouTube, and the resulting session is kept on your device. You can sign out at any time.

This website is a static site. It uses no analytics or advertising scripts. The only data it sends is a help message that you choose to submit through the contact form. Read the full privacy notes.

Credits

CleanPipe would not exist without the work of the NewPipe contributors and the NewPipe Extractor maintainers. Their code, documentation, and choices about free software are the foundation of this fork.

The app also relies on open-source libraries including Kotlin, Jetpack Compose, AndroidX, Media3, OkHttp, Room, Kotlin Coroutines, and AntMonkey QuickJS. Thank you to the people who maintain them.

CleanPipe is an independent fork. It is not endorsed by the NewPipe project, and it is not affiliated with YouTube or Google.

License

CleanPipe is copyleft libre software. You can use, study, share, and improve it under the terms of the GNU General Public License, version 3 or later.

If you distribute a modified version, it must remain under the GPL and you must make the corresponding source available. The full text is in the LICENSE file in the repository.

YouTube is a trademark of Google LLC. CleanPipe is not affiliated with YouTube or Google.