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.
About CleanPipe
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.
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.
| Platform | Android 10 (API 29) and newer |
|---|---|
| Current version | 0.1.0, beta |
| Price | Free, with no ads and no paid tiers |
| License | GNU GPL v3 or later |
| Built with | Kotlin, Jetpack Compose, Media3, OkHttp, Room |
| Account | Optional. Only useful for age-restricted playback and bot checks |
| Source | github.com/Cellulose-Type-C/CleanPipe |
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.
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.
There is no analytics SDK, no ad network, and no account requirement. Optional sign-in exists only for playback cases that genuinely need it.
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.
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.
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.
| Module | Responsibility |
|---|---|
:app | The Android shell: main activity, navigation, Compose settings, WorkManager/SAF downloads, and Room database. |
:desktopApp | The companion Desktop JVM application backed by Compose Multiplatform and VLCJ playback. |
:videopage | The video page, mini player, Media3 / VLC playback engines, popup, Play Mode handoff, comments, Return YouTube Dislike, and queue handling. |
:upnext | Shared Up Next and queue management UI. |
:search | Search suggestions, recent searches, compact results, and filters. |
:home | The Home tab and the subscription feed. |
:subscriptions | The subscription feed, channel strip, channel list, groups, and import/export. |
:library | History, Watch Later, local playlists, downloads, settings, and about links. |
:channel | Channel pages, tabs, and channel details. |
:ui | The shared design system: theme, icons, video cards, rows, shelves, menus, and dialogs. |
shared | Kotlin Multiplatform shared code and resources. |
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.
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.
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.
The app and the extractor are separate concerns: the UI never talks to YouTube directly, and the extraction layer does not know about Compose.
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.
:desktopApp) with VLC playbackThe GitHub page has the build instructions and contribution notes. The help centre covers installation and troubleshooting.
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.
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.
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.