• Stars
    star
    10,082
  • Rank 3,458 (Top 0.07 %)
  • Language
    TypeScript
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Skip YouTube video sponsors (browser extension)

Logo
Logo by @munadikieh

SponsorBlock

Download: Chrome/Chromium | Firefox | Android | Edge | Safari for MacOS and iOS | Website | Stats

3rd-Party Ports: MPV | Kodi | Chromecast | iOS

Badge Badge Badge Badge Badge

SponsorBlock is an open-source crowdsourced browser extension to skip sponsor segments in YouTube videos. Users submit when a sponsor happens from the extension, and the extension automatically skips sponsors it knows about. It also supports skipping other categories, such as intros, outros and reminders to subscribe.

It also supports Invidio.us.

Translate: Crowdin

Important Links

See the Wiki for important links.

Server

The backend server code is available here: https://github.com/ajayyy/SponsorBlockServer

To make sure that this project doesn't die, I have made the database publicly downloadable at https://sponsor.ajay.app/database (License). If you are planning on using the database in another project, please read the API Docs page for more information.

The dataset and API are now being used in some ports as well as a neural network.

API

You can read the API docs here.

Building

You must have Node.js 16 and npm installed.

  1. Clone with submodules
git clone --recursive https://github.com/ajayyy/SponsorBlock

Or if you already cloned it, pull submodules with

git submodule update --init --recursive
  1. Copy the file config.json.example to config.json and adjust configuration as desired.

    • You will need to repeat this step in the future if you get build errors related to CompileConfig. This can happen for example when a new category is added.
  2. Run npm install in the repository to install dependencies.

  3. Run npm run build:dev (for Chrome) or npm run build:dev:firefox (for Firefox) to generate a development version of the extension with source maps.

    • You can also run npm run build (for Chrome) or npm run build:firefox (for Firefox) to generate a production build.
  4. The built extension is now in dist/. You can load this folder directly in Chrome as an unpacked extension, or convert it to a zip file to load it as a temporary extension in Firefox.

Developing with a clean profile and hot reloading

Run npm run dev (for Chrome) or npm run dev:firefox (for Firefox) to run the extension using a clean browser profile with hot reloading. This uses web-ext run.

Known chromium bug: Extension is not loaded properly on first start. Visit chrome://extensions/ and reload the extension.

For Firefox for Android, use npm run dev:firefox-android -- --adb-device <ip-address of the device>. See the Firefox documentation for more information.

Credit

The awesome Invidious API was previously used, and the server is now using NewLeaf as a to get video info from YouTube.

Originally forked from YTSponsorSkip, but very little code remains.

Icons made by:

License

This project is licensed under GNU LGPL v3 or any later version

More Repositories

1

DeArrow

Crowdsourcing better titles and thumbnails on YouTube
TypeScript
1,410
star
2

SponsorBlockServer

Skip YouTube video sponsors (server side portion)
TypeScript
831
star
3

SponsorBlockSafari

Safari web-extension glue code for SponsorBlock
Swift
47
star
4

VosterCoaster

Experimental VR Roller Coaster Builder And Theme Park Tycoon Game
C#
30
star
5

DeArrowThumbnailCache

Python
21
star
6

SponsorBlockSite

This is the homepage of SponsorBlock
JavaScript
20
star
7

SponsorBlockKubernetes

Kubernetes configuration files for SponsorBlock production server deployment
HCL
17
star
8

maze-utils

Utilities for my browser extensions (SponsorBlock and DeArrow)
TypeScript
10
star
9

AutoVideo

Auto reddit video maker
JavaScript
8
star
10

ExtensionTranslations

Translations for SponsorBlock and Clickbait
8
star
11

YouTube-Watch-History-Statistic-Viewer

View statistics based on your watch history similar to Spotify's 2017wrapped.com
JavaScript
8
star
12

CoopNavigatorImproved

(uOttawa) Fixes annoyances with the coop navigator website
TypeScript
7
star
13

Other_driver_Wii-Kinect

C++
5
star
14

ajayyy.github.io

My website. Also contains downloads to different things
HTML
5
star
15

2022AprilFools

Based on https://github.com/ajayyy/SponsorBlockSite
JavaScript
5
star
16

URLSubmiter

TypeScript
5
star
17

GetAllDiscordUsers

Quickly download the usernames and IDs for everyone in a server
JavaScript
4
star
18

DiskCache

TypeScript
4
star
19

2DRacing

Cool mario kart-esque 2D racer game
C#
4
star
20

AlarmioRemoteServer

Server to save when AlarmioRemote can dismiss
JavaScript
3
star
21

PrivacyUserCount

Privacy Friendly User Counter
TypeScript
3
star
22

DeArrowSafari

Safari web-extension glue code for DeArrow
Swift
3
star
23

DearrowSite

JavaScript
3
star
24

MicrosoftYourPhoneRestore

Restore cached messages form Microsoft Your Phone to your Android device
Python
3
star
25

SponsorBlockStatTracker

Small node program that records the stats every 20 seconds
JavaScript
3
star
26

SponsorBlockAndroid

SponsorBlock for the official YouTube app
Java
3
star
27

LakeEffectScoutingSummary

Summarizes scouting data into understandable words. Built with Electron + a server-side version.
JavaScript
3
star
28

AutoSyncer

Java
2
star
29

SponsorBlock-StatCounter

Small page that pulls from the API to make a counter
CSS
2
star
30

Escape-The-World

Game made in April 2017 for Ludum Dare 38
Java
2
star
31

SponsorBlockStatus

Status page for SponsorBlock
CSS
2
star
32

PowerUpCycleTime

Puts all cycle times from the scouting app into a nice cycle time spreadsheet
Java
2
star
33

DiscordNotifier

Notifies you when you get mentioned in a muted server. (You used to get these, but discord removed them in an update)
JavaScript
2
star
34

at-youtube-submitter

URL submitter for July 2021 Archive Team unlisted grab
JavaScript
2
star
35

BlueAllianceScraper

Scraper for statistics project
Python
2
star
36

k8s-thumbnail-cache

2
star
37

PowerDemonstration

Demonstrates power usage through the internet
HTML
2
star
38

SponsorBlockChannelScraper

Get channel and video data for all videos with SponsorBlock submissions
JavaScript
2
star
39

SteamworksPcClient

python code [OLD CODE] Moved to SteamworksScoutingApp
Python
2
star
40

TurnBasedAttacker

Final Project for Focus Program
C#
2
star
41

The-Colosseum

A game...
Java
1
star
42

StrongholdScoutingApp

Scouting App for Stronghold written with layouts
Java
1
star
43

scripts

Personal Userscrips
JavaScript
1
star
44

ScienceSpeechRecongnision

Java
1
star
45

CommandsForDiscord

[DEPRECATED] A bot for Google Assistant that allows you to send messages on Discord
JavaScript
1
star
46

vignette

THIS IS A FORK OF A DELETED REPOSITORY!! Browser extension that skips parts of YouTube videos to save your time.
TypeScript
1
star
47

RocketBaseStationParser

1
star
48

FocusProgramSite

HTML
1
star
49

seg3125-static-work

JavaScript
1
star
50

MagnetoDeLiquidus

Liquid Simulating Puzzle Game
Java
1
star
51

CunctansSquare

Puzzle game with a shrinking world
Java
1
star
52

ScoutingApp

Java
1
star
53

Planets

Multiplayer planet bouncing game. Split into nice libraries.
Java
1
star
54

NewSite

A new more minimalist site with CSS animations
JavaScript
1
star
55

2021AprilFools

Forked from https://github.com/ajayyy/SponsorBlockSite
JavaScript
1
star
56

PlanetBounce

This is a very semi-complete multiplayer planet bouncing game written with Lib-GDX. This project was restarted at: https://github.com/ajayyy/Planets
Java
1
star
57

AtLeastItsNotDeath

A platformer game with a twist made for Ludum Dare 43
Java
1
star
58

OHGJ124

One hour game jam space invaders game
Java
1
star
59

RoboticsEmailPull

JavaScript
1
star
60

LD39

LD39 game Achluophobia
Java
1
star
61

MathMan

Game for school
Java
1
star
62

LearningCpp

Learning some C++
C++
1
star
63

StaticBlog

Simple React + Gatsby markdown blog. Mostly made from React sample code.
JavaScript
1
star
64

LD40

My game for the Ludum Dare 40 competition
C#
1
star
65

PlanetBounce-Server

Server for PlanetBounce. This is a very semi-complete multiplayer planet bouncing game written with Lib-GDX. This project was restarted at: https://github.com/ajayyy/Planets
Java
1
star