Sane++
A Sane Subscriptions Feed C++ rewrite.
What is this?
Simply put the core function is to create a more reliable subscriptions feed than YouTube's.
Sane++ grabs the "uploaded videos" playlist for all channels you're subscribed to and generates a feed based on that, bypasing the infamous algorithm.
How to compile
mkdir build && cd build
cmake ../src/ && cmake --build .
cd ..
(avoids relative paths in later instructions)
Prerequisite YouTube OAuth2 authentication
- Go through method A or B and then perform the following further steps:
- Run the CLI OAuth authentication command:
build/bin/sane++_cli auth-oauth2
. - Open the link it produced in a web browser and go through the authentication process.
Method A) Using the public YouTube API credentials
- Copy
config.json.sample
toconfig.json
Method B) Using custom YouTube API credentials
- Copy
config.json.sample
toconfig.json
- Change
client_id
,client_secret
andapi_key
according to the ones Google API provided you.
Running it
Command line interface
build/bin/sane++_cli
Supports commands as params from the command line (e.g. build/bin/sane++_cli auth-oauth2
).
If no parameter is given, it will run in interactive mode.
GUI
Not yet implemented.
FAQ
Why rewrite the software?
Aside from the obvious performance enhancements and reduced complexity I decided to rewrite it in C++ because I kept running into nonsense issues with libQt segfaulting due to PyQt, and since it's C++ wrapped objects in python... GLHF debugging...
This and other gripes eventually led to this rewrite.