Youtube Background Music App
This is my personal side project for improve my React and React Native skill,
also I'm a music lover, so I made this app for myself to listen Youtube music video more convenient and also ad free !!
some code is pretty ugly I know, so feel free to give some advices to me :D
go to Google Cloud Platform to create your project with YouTube Data API v3
then create OAuth 2.0 credential
with type iOS
create .env
file under project folder
, then put your client id
like below
IOS_CLIENT_ID=your client id
yarn install
cd ios & pod install
You can now run the app with
npx react-native run-ios
- Google Sign In
- Youtube Backgorund Music
- Dark Mode
- Automatically change app icon by theme (light & dark)
- Import playlist from youtube by Youtube API and Playlist URL
- Save your favorite video anytime (favorites list)
- sort favorites list to any position you want, not only reverse it
- performance improve, especially
Flatlist
- Maybe fully abandon to use Youtube Data API because it's useless..., need to find a way to get playlist data
- App in background (video stop) for long time, can not be able to restart video from the control center.
if you found any issue please let me know, thanks
Youtube URL extraction algorithms are inspired by youtube-dl Project
KTube is available under the MIT license. See the LICENSE file for more information.