Git Product home page Git Product logo

leptos-null / leptosmusic Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 0.0 5.13 MB

Research project: Use InnerTube REST API to write a YouTube Music iOS client

License: Other

Objective-C 14.80% C 0.07% Metal 0.01% Python 1.89% Makefile 7.77% Ruby 0.03% Shell 5.16% C++ 69.08% CMake 0.45% M4 0.39% Java 0.09% PHP 0.02% Vim Script 0.02% Emacs Lisp 0.04% Go 0.04% Objective-C++ 0.01% Swift 0.09% Dockerfile 0.01% JavaScript 0.05%
ios youtube youtube-api innertube client youtube-client

leptosmusic's Introduction

LeptosMusic

LMusic is an iOS client for YouTube Music. It uses Google's InnerTube backend service, posing as YouTube Music. Currently, the protobuf messages are not included with this project. More information on this research is outlined in my Writing an iOS YouTube Music client artcle.

The only information I could find about InnerTube was this article by FastCompany.

The main YouTube app uses InnerTube, as do other YouTube clients (e.g. YouTube Kids). Every protobuf message requires a field usually under the key path "context.client.clientName", which is an enum, to reflect the client.

This project was written for research purposes. InnerTube was a previously undocumented service.

Additional Components

DisPlayers-Audio-Visualizers is used for an audio visualization view at the top of the app.

protobuf was downloaded at the 3.5.1 Release Tag to best match the reverse engineered client.

LMPrivateGoogleAccessToken

This macro needs to be defined in LMPrivateGoogleAccessToken.h as directed in LMAccessTokenManager.m.

To find the value, open Keychain Access.app on macOS. Enter "com.apple.account.Google.oath-refresh-token" in the search bar. You may have multiple Google Accounts. Select each cell, and a preview will be provided at the top of the app. Right click the cell of the account you'd like to use. Select "Copy Password to Clipboard".

Note: This is a workaround for a non-priority feature: logging into a Google Account in the app.

leptosmusic's People

Contributors

leptos-null avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

leptosmusic's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.