Coder Social home page Coder Social logo

bluabk / sanepp Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 3.88 MB

Sane Subscriptions Feed (C++ rewrite)

License: GNU Affero General Public License v3.0

C++ 96.90% CMake 3.10%
youtube qt5 qt5-gui qt5-applications cross-platform cpp cplusplus youtube-api youtube-api-v3 cplusplus-14

sanepp's Introduction

Sane++

A Sane Subscriptions Feed C++ rewrite.

Build Status GitHub GitHub issues Discord GitHub repo size GitHub code size in bytes

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

  1. mkdir build && cd build
  2. cmake ../src/ && cmake --build .
  3. cd .. (avoids relative paths in later instructions)

Prerequisite YouTube OAuth2 authentication

  1. Go through method A or B and then perform the following further steps:
  2. Run the CLI OAuth authentication command: build/bin/sane++_cli auth-oauth2.
  3. Open the link it produced in a web browser and go through the authentication process.

Method A) Using the public YouTube API credentials

  1. Copy config.json.sample to config.json

Method B) Using custom YouTube API credentials

  1. Copy config.json.sample to config.json
  2. Change client_id, client_secret and api_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.

sanepp's People

Contributors

bluabk avatar

Watchers

 avatar  avatar  avatar  avatar

sanepp's Issues

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.