Giter Site home page Giter Site logo

acelikesghosts / ytm-rpc Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 726 KB

a poorly made youtube music rpc

License: MIT License

JavaScript 42.81% TypeScript 46.79% Shell 6.68% HTML 3.72%
discord-rich-presence youtube-music youtubemusic ytm ytm-presence

ytm-rpc's Introduction

๐Ÿ‘‹

i write instantly legacy and abandoned code

Github Stats Top Languages

ytm-rpc's People

Contributors

acelikesghosts avatar

Stargazers

 avatar

Watchers

 avatar

ytm-rpc's Issues

todo: stream line installation steps

Server Installation: 7 steps
Extension Installation: 4 steps
Client Mod: 5 steps

What we can do here is streamline the server installation and the client mod installation, most likely using a CLI.
The way I want to go for this will be something along the lines of the pseudo commands listed below:

git clone https://github.com/acelikesghosts/ytm-rpc.git
node ./scripts/streamline.js

Where streamline.js would provide a CLI to decide between the following:

  1. Server Installation setup (install deps, using client mod, port)
  2. Client mod (bd or replugged, automatically build and install it if chosen)
  3. inform they have to add the extension manually

bug: event listeners on `background` or `content` fire twice

attempting to resolve this on the refactor branch, alongside adding pausing of music being displayed;
have to fix the double sending (which is present in the master branch o.o) in order to add pausing.

double sending of the state causes the paused variable to flip flop because it sends the old state once and the new state once.

todo(extension): rewrite.

the src is painful to look at, no separation between the client script and the page script, etc etc

feat(server): ability to spoof being spotify

This would involve the following:

  1. Using a Spotify account token to fetch the song from Spotify in order to set the Artist URLs.
  2. Setting the Application Id to 0
  3. Setting the application name to "Spotify"
  4. Providing a listen along ID/Token (spotify:UUID)

and prolly more

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.