Video Speed Controller is an open source project licensed under the MIT license with many contributors. Contributions are welcome, and greatly appreciated.
If you would like to help, getting started is easy.
-
You must have a github account and be logged in
-
Fork the repo by clicking the "Fork" link on the top-right corner of the page
-
Once the fork is ready, clone to your local PC
$ git clone https://github.com/<USERNAME>/videospeed.git Cloning into 'videospeed'... remote: Enumerating objects: 10, done. remote: Counting objects: 100% (10/10), done. remote: Compressing objects: 100% (9/9), done. remote: Total 877 (delta 3), reused 2 (delta 1), pack-reused 867 Receiving objects: 100% (877/877), 317.65 KiB | 2.17 MiB/s, done. Resolving deltas: 100% (543/543), done.
-
Create a branch for your changes
$ cd videospeed videospeed$ git checkout -b bugfix/1-fix-double-click M .github/workflows/chrome-store-upload.yaml M README.md M options.js Switched to a new branch 'bugfix/1-fix-double-click' videospeed$
-
Open the code in your favorite code editor, make your changes
echo "Awesome changes" > somefile.js git add .
Important: Your commit must be formatted using prettier. If it is not it may be autoformatted for you or your pull request may be rejected.
-
Next, open Chrome/Brave/Chromium and enable developer mode via
Settings > Extensions > Manage Extensions
and toggleDeveloper mode
in the top-right corner. -
Click
Load unpacked
and browse to the folder you cloned videospeed to. -
Try out your changes, make sure they work as expected
-
Commit and push your changes to github
git commit -m "Awesome description of some awesome changes." git push
-
Open your branch up on the github website then click
New pull request
and write up a description of your changes.
Installing pre-commit is easy to do (click the link
for instructions on your platform). This repo comes with pre-commit already
configured. Doing this will ensure that your project is properly formatted and
runs some very basic tests. Once you have pre-commit installed on your system,
simply enter pre-commit install
in your terminal in the folder to have these
checks run automatically each time you commit.
Even better, after issueing the install command you can now manually run
pre-commit checks before committing via pre-commit run --all-files
You should always be working with the latest version of the tool to make pull
requests easy. If you want to do this easily, just add a second remote to your
local git repo like this
git remote add upstream https://github.com/igrigorik/videospeed.git
Now any time you like to pull the latest version in to your local branch you can
simply issue the command git pull upstream master