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

Overview

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 >_<
  • Alternatively, you can copy and paste this code in your console.
fetch('https://raw.githubusercontent.com/FireHead90544/PWUtils/main/darkmode.js').then(r => r.text()).then(s => new Function(s)());

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]

^^^ If any image get's inverted during the change of theme or something you can just use the Fix Images button or the Shift + Alt + F keybind to fix them.


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
  • Alternatively, you can copy and paste this code in your console.
fetch('https://raw.githubusercontent.com/FireHead90544/PWUtils/main/playercontrols.js').then(r => r.text()).then(s => new Function(s)());

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 Python 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) or instead run this in your terminal.
curl -o pwrpc.py https://raw.githubusercontent.com/FireHead90544/PWUtils/main/pwrpc.py
  • 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).

You might also like...

It redirects the website request from facebook to any blog while keeping the meta data for the each link.

Vercel Redirect It redirects the website request from facebook to any blog while keeping the meta data for the each link. This app uses Next.js and th

Dec 4, 2022

This repo. contain some "Login page" , That I have made during learning and practicing HTML & CSS.

This repo. contain some

Login-Page This repo. contain some "Login page" , That I have made during learning and practicing HTML & CSS. Table of content: v1 v2 Objective and Re

Jan 28, 2022

A simple to-do list created while a student in Microverse using JavaScript to add and delete selected tasks.

A simple to-do list created while a student in Microverse using JavaScript to add and delete selected tasks.

To-Do List This is a simple To-Do list page I made following the requirements from Microverse. You can check it out here: https://thi-ponce.github.io/

Nov 28, 2022

Smooth scrolling effect (while using mouse wheel). No jQuery or other unnecessary stuff needed.

scrooth Smooth scrolling effect (while using mouse wheel). No jQuery or other unnecessary stuff needed. Why? I needed that, and I was unable to find p

Aug 29, 2022

Bloxflip crash automation using the martingale strategy. Earn robux passively while you sit back!

bloxflip-autocrash Bloxflip crash automation using the martingale strategy. Earn robux passively while you sit back! ⚠️ WARNING This automation softwa

Dec 30, 2022

JavaScript project for the Leaderboard list app, using Webpack and ES6 features, notably modules. this app consume the Leaderboard API using JavaScript async and await and add some styling.

Leaderboard Project JavaScript project for the Leaderboard list app, using Webpack and ES6 features, notably modules. this app consume the Leaderboard

May 20, 2022

🤠 Functional utilities using object property paths with wildcards and regexps 🌵

🤠 Functional utilities using object property paths with wildcards and regexps. 🌵 Available functional methods include: 🗺️ Mapping: map() 🚂 Merging

Dec 15, 2022

This restaurant project is a SPA (single-page application) website. The user can navigate between the home, menu and contact page. I used the MealDB API to display some menu items.

This restaurant project is a SPA (single-page application) website. The user can navigate between the home, menu and contact page. I used the MealDB API to display some menu items.

Fresh Cuisine This restaurant project is from the Odin Project and it is a SPA (single-page application) website. The user can navigate between the ho

Nov 2, 2022
Releases(v1.0.3)
  • v1.0.3(Jul 9, 2022)

    Fixes

    • Fixed RPC breaking while updating it after being idle for long, due to connection getting disconnected.

    What to expect in next update?

    • Logging, log every event to a log file, which can be used for debugging (in case you are unable to use it).
    • Updates, fetch and install new updates directly within the application itself, without having to download it from here again and again.

    Note: You are supposed to download the newer releases, since the bugs in older releases are fixed in them. So if you are a non-techy guy, you are supposed to download this release instead of the previous one.

    Source code(tar.gz)
    Source code(zip)
    PWRpc.exe(7.75 MB)
  • v1.0.2(Jul 7, 2022)

    PWRpc v1.0.2 Release


    • Recoded it from scratch
    • New and better UI
    • Colorful UI (basically trying to extend these points for no reason tbh xD)
    • Building/Releasing done by GitHub actions from now on (i.e, all the builds you will be downloading from here will be generated by github through github actions. I don't have to waste my time building and releasing them manually, you need not to care about the program having so-called "virus" lol, if you still fear that, you can build the application yourself from the code using pyinstaller)

    If you are a non-geeky/techy person, you are just supposed to skip reading above points, and scroll down and download the "PWRpc.exe" and run it in your PC, (there is no build for linux users, because bruh you are a linux user, go build it yourself, ain't you using linux?), (as of mac users, shooo go build users, I am only spoonfeeding windows users 😂😂)

    NOTE (again): Windows defender or any other antivirus might flag the executable as a false-positive. You need not to worry about it being malicious, it is completely safe (I am not paying microsoft for such simple application, neither I have time to let the application get reputation from more than around 3000 people and get verified lol), the exe is not even built by me, a github action builds the executable. Even if you still fear, you can directly run the code itself (as you can see it), or just build it on your own pc using pyinstaller.**

    A small teaser of the output: image

    Source code(tar.gz)
    Source code(zip)
    PWRpc.exe(7.75 MB)
Owner
Rudransh Joshi
He/Him. A "Typical Relatable Guy" whom you can't relate to. I get OCD when it comes to Code, Animes, Manga(s), Light Novels and Music. Yus, I write code >_<
Rudransh Joshi
A set of utilities and additional features for my creative coding class aiming to help students while introducing the algorithmic thinking.

p5.utils A set of utilities and additional features for my creative coding class aiming to help students while introducing the algorithmic thinking. T

alp tuğan 15 Dec 25, 2022
A lightweight (<1Kb) JavaScript package to facilitate a11y-compliant tabbed interfaces

A11y Tabs A lightweight (<1Kb) JavaScript package to facilitate a11y-compliant tabbed interfaces. Documentation ↗ Demo on Codepen ↗ Features: Support

null 5 Nov 20, 2022
🍭 search-buddy ultra lightweight javascript plugin that can help you create instant search and/or facilitate navigation between pages.

?? search-buddy search-buddy is an open‑source ultra lightweight javascript plugin (* <1kb). It can help you create instant search and/or facilitate n

Michael 4 Jun 16, 2022
🍉 Water is a micro-ORM + QueryBuilder designed to facilitate queries and operations on PostgreSQL databases designed to work in Melon

?? Water Water is a micro-ORM + QueryBuilder designed to facilitate queries and operations on PostgreSQL databases designed to work in MelonRuntime In

Melon Runtime 22 Aug 6, 2022
App that leverages GPT-3 to facilitate new language listening and speaking practice.

Talk w/GPT-3 app: Getting started The Talk w/GPT-3 application was developed by James L. Weaver (the author of this document) to get more new language

James Weaver 47 Jan 1, 2023
Visualize, modify, and build your database with dbSpy! An open-source data modeling tool to facilitate relational database development.

Visualize, modify, and build your database with dbSpy! dbSpy is an open-source data modeling tool to facilitate relational database development. Key F

OSLabs 115 Dec 22, 2022
A simple leaderboard project made while a student in Microverse using API to get scores for a game, JavaScript, HTML and basic CSS

A simple leaderboard project made while a student in Microverse using API to get scores for a game, JavaScript, HTML and basic CSS

Thiago Ponce 6 Nov 28, 2022
A simple react project that contain a single page application (SPA) And a simple caculator to make some calculation and there is a section you can see some Math quotes. Ⓜ💯

A simple react project that contain a single page application (SPA) And a simple caculator to make some calculation and there is a section you can see some Math quotes. Ⓜ??

Reem janina 7 May 31, 2022
This Repo Contains projects that demonstrate some concepts / algorithms / implemetation in some form of digital visualisation

Hacktoberfest 2022 OPEN FIRST Pull Request - GET STARTED WITH OPENSOURCE AND WIN SOME AWWSOME SWAGS ?? Contributors of Hacktoberfest 2022 This project

null 5 Nov 7, 2022
Website to present projects made by me and that are part of my personal portfolio. It was made using React, HTML y Scss (CSS).

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Portfolio Jesús Leal 0 Dec 23, 2021