Code Monkey home page Code Monkey logo

pwutils's Introduction

PWUtils

Some of the utilities I made to facilitate me while using PhysicsWallah's website.


Documentation


Dark Mode

Since there is no dark mode released officially yet, here is the custom one I made, to be honest, it just works :)

Installation

  • Open DarkMode.js and copy all of it's contents.
  • Open PW's Website and login.
  • Press Ctrl + Shift + I to open Inspect Element Window.
  • Head over to the Console tab.
  • Paste the code you copied earlier and press enter.
  • Enjoy your Dark Mode >_< Note: You need to do this everytime you open the website, i.e "refresh" the page or open the website in another tab, so better save this somewhere from where you can access it quickly. Though, you won't need to repeat the steps until you don't refresh the page.

Usage

You will see two additional buttons on the left sidebar as shown below.

image

  • Change Theme - This button will allow you to change theme from light to dark and vice versa. [Shortcut Keybind: Shift + Alt + D]
  • Fix Images - This button will attempt to fix the inversion caused in the images as well. [Shortcut Keybind: Shift + Alt + F]

KeyConVP

Pausing/Seeking requires user to use mouse by clicking the buttons. This allows you to control the video player using keyboard.

Installation

  • Open PlayerControls.js and copy all of it's contents.
  • Open PW's Website and login.
  • Open the lecture/video you want to watch
  • Play the video and pause it once.
  • Press Ctrl + Shift + I to open Inspect Element Window.
  • Head over to the Console tab.
  • Paste the code you copied earlier and press enter.
  • Done :D

Note: You need to do this everytime you open the website, i.e "refresh" the page or open the website in another tab, so better save this somewhere from where you can access it quickly. Though, you won't need to repeat the steps until you don't refresh the page.

Usage

  • Spacebar - Play/Pause
  • Left Arrow - Seek Backward (10s)
  • Right Arrow - Seek Forward (10s)
  • Up Arrow - Increase Volume (By factor of 10)
  • Down Arrow - Decrease Volume (By factor of 10)

Note: Do not click on seek buttons (using mouse) after entering the code, else the spacebar keyboard control will not work properly (problem with the video player itself, and I can't do anything about it), though if you have clicked it, just click on play/pause button (using mouse) once and it will get fixed :)


PWRpc

Manually Operated Rich Presence Client for Discord

Installation & Usage

  • Install https://python.org/downloads/ on your system (tested against v3.8)
  • Install requirement by using pip install pypresence (though I've made a check for it, if you forget)
  • Open PWRpc.py and download it, or copy it's content and create a file named pwrpc.py and paste all of the copied content to it. (In short, replicate the file in your system)
  • From the directory where the file is present, open terminal and run python pwrpc.py
  • Follow the inputs as asked in the screen, and done :)
  • Open the terminal and press Ctrl + C or close the terminal itself to exit the program.

image

image

Note: Please follow the instructions exactly as asked else the program might crash due to invalid inputs since I haven't enabled checks/validations (since I technically made it for myself), if you face any problem, reach me on discord: </Rudransh Joshi>#2022 || If you are a developer and want to use your own client ID, check the python file itself, I've described in comments what to do exactly :)


Downloader

A generic video downloader for PW [Coming Soon] (Probably after my exams lol)


Contributing

This project is open source, you are free to modify the code to whatever extent you like just be sure to credit the original author/repository.

Licensed under the MIT License

Contributions are always welcome! Fork the repository, do your edits, fetch the upstream and generate a PR :)

Authors

Need to contact the developer(s)? Refer to the below contact(s).

pwutils's People

Contributors

firehead90544 avatar

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.