Skip YouTube video sponsors (server side portion)
Find a file
Ajay Ramachandran 2f92efc44b
Merge pull request #53 from ajayyy/experimental
Added post method for view counting and vote endpoints
2019-12-29 00:23:25 -05:00
databases Added post for view counting and vote endpoints. 2019-12-28 23:55:19 -05:00
.gitignore Added config file. 2019-09-04 13:18:47 -04:00
config.json.example Added first time submission notifications for discord. 2019-12-28 00:29:14 -05:00
index.js Fixed formatting. 2019-12-29 00:22:39 -05:00
LICENSE Create LICENSE 2019-08-19 20:59:10 -04:00
package-lock.json Made it send a discord message when someone downvotes a sponsor. 2019-12-24 10:53:20 -05:00
package.json Made it send a discord message when someone downvotes a sponsor. 2019-12-24 10:53:20 -05:00
README.MD Moved API Docs 2019-12-23 21:39:28 -05:00

SponsorBlock Server

SponsorBlock is an extension that will skip over sponsored segments of YouTube videos. SponsorBlock is a crowdsourced browser extension that let's anyone submit the start and end time's of sponsored segments of YouTube videos. Once one person submits this information, everyone else with this extension will skip right over the sponsored segment.

This is the server backend for it

Server

This is a simple Sqlite database that will hold all the timing data.

To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database.db. So, you can download a backup or get archive.org to take a backup if you do desire.

Hopefully this project can be combined with projects like this and use this data to create a neural network to predict when sponsored segments happen. That project is sadly abandoned now, so I have decided to attempt to revive this idea.

Client

The client web browser extension is available here: https://github.com/ajayyy/SponsorBlock

Build At Home

This is a node.js server, so clone this repo and run npm install to install all dependencies.

Make sure to create the databases in the databases folder out of the database schemas.

Rename config.json.example to config.json and fill the parameters inside.

Run the server with npm start.

API Docs

Available here