An algorithm that can learn from the YouTube Shorts that you watch to automatically scroll and like/dislike videos for you.
Note: all code files were generated using Manus AI.
This is a side project that became useful enough I thought I'd share it with everyone.
I am NOT making any money off of this project.
This was only tested on Windows 11; it may not work with all systems.
- Install Python from https://www.python.org.
- When installing Python make sure to click "Add Python to PATH".
- Download the
.zip
file and unzip it. - Go to your browser's extensions page.
- Enable Developer mode.
- Select "Open unpacked" and select the downloaded and unzipped folder and make sure it's active/on.
- Open the unzipped folder and double-click
start_app.py
— this will download any dependencies that haven't already been installed and will run the app. - Open https://www.youtube.com and navigate to the Shorts tab.
- You should see, in the bottom-left, a mood dropdown and other information; on the middle-right you can click "Trust" to make sure it doesn't dislike videos from the creator of the video you're currently watching.
- Make sure every time you use it you start the backend part by starting
start_app.py
.
Alt+T: Toggle control panel
Alt+S: Force scroll to next video
Alt+C: Force channel detection
It may take a bit before you start to see the algorithm scrolling and liking/disliking videos for you. I recommend about 3–5 hours of scrolling before you start to see good results.
You can always override its decisions such as scrolling, liking, and disliking, and it will learn from that.
This tool interacts with YouTube automatically.
Contributions are welcome! Feel free to submit a pull request or open a discussion to suggest features or improvements.
Note: Do not reload the extension after using it because it may fail once it has created the _pycache_
directory. If you accidentally reload it, you can move shorts_ai_data.json
and the _pycache_
folder to another folder, reload the extension, then place them back in.
I do hope to somehow bring this to mobile, but it may be hard to do - I'm not sure how I'd attempt it and it won't be for a while.
This project is licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).
What this means:
- Attribution required — credit the author (link to this repo) when you use it.
- Non-commercial — you may not use this work for commercial purposes.
- No derivatives — you may not distribute modified versions of this work.
- You may download and use the project for personal, educational, or research purposes.
See LICENSE.md
for the full legal text: https://creativecommons.org/licenses/by-nc-nd/4.0/
If you want permission for commercial use or to redistribute/modify, contact the repo owner.
To ensure this AI-generated project isn't used commercially, it's licensed under CC BY-NC-ND 4.0.
All code generated by Manus AI