MCPcopy Index your code
hub / github.com/Spot-SponsorBlock/Spot-SponsorBlock-Extension

github.com/Spot-SponsorBlock/Spot-SponsorBlock-Extension @1.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.1.2 ↗ · + Follow
878 symbols 2,136 edges 105 files 58 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Logo

Logo by @munadikieh. Modified by @jiraph

Spot SponsorBlock

Download: Chrome/Chromium | Firefox | Android | Edge | Website

<a href="https://addons.mozilla.org/addon/spot-sponsorblock/?src=external-github"><img src="https://img.shields.io/amo/users/spot-sponsorblock?label=Firefox%20Users" alt="Badge"></img></a>
<a href="https://chromewebstore.google.com/detail/apoddhkbbnbfkhpjhpfdjachfifbedbk"><img src="https://img.shields.io/chrome-web-store/users/apoddhkbbnbfkhpjhpfdjachfifbedbk?label=Chrome%20Users" alt="Badge"></img></a>

Spot SponsorBlock is an open-source crowdsourced browser extension to skip sponsor segments in Spotify podcasts. 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 self promotions.

Translate: Crowdin

Important Links

See the Wiki for important links.

Server

The backend server is run by Ajay and the code is available here: https://github.com/ajayyy/SponsorBlockServer

To make sure that this project doesn't die, the database has been made publicly downloadable at https://sponsor.ajay.app/database (License).

API

You can read the API docs here.

Building

See CONTRIBUTING.md

Credit

Forked from the amazing SponsorBlock. A special thanks to Ajay for his help throughout our development!

Icons made by: * Gregor Cresnar from www.flaticon.com and are licensed by CC 3.0 BY * Freepik from www.flaticon.com and are licensed by CC 3.0 BY * Alexander Kahlkopf from iconmonstr.com and are licensed by iconmonstr License * Dazzle Ui from SVG Repo and are licensed by CC 4.0 BY

License

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

Extension points exported contracts — how you extend this code

ChangeEpisodeDataMessage (Interface)
(no doc)
src/document.ts
SBConfig (Interface)
(no doc)
src/config.ts
FetchResponse (Interface)
(no doc)
src/background-request-proxy.ts
Window (Interface)
(no doc)
src/globals.d.ts
BaseMessage (Interface)
(no doc)
src/messageTypes.ts
ContentContainer (Interface)
(no doc)
src/types.ts
ButtonListener (Interface)
(no doc)
src/components/component-types.ts
ChannelIDInfo (Interface)
(no doc)
src/utils/video.ts

Core symbols most depended-on inside this repo

remove
called by 53
src/js-components/previewBar.ts
getCurrentTime
called by 40
src/utils/video.ts
getVideo
called by 33
src/utils/video.ts
then
called by 33
src/utils/cache.ts
getVideoID
called by 32
src/utils/video.ts
createElement
called by 29
src/js-components/previewBar.ts
error
called by 28
src/utils/skipRule.ts
getVideoDuration
called by 27
src/utils/video.ts

Shape

Function 359
Method 303
Interface 124
Class 78
Enum 14

Languages

TypeScript100%

Modules by API surface

src/content.ts93 symbols
src/utils/skipRule.ts44 symbols
src/components/SkipNoticeComponent.tsx44 symbols
src/utils/video.ts39 symbols
src/components/SponsorTimeEditComponent.tsx32 symbols
src/js-components/previewBar.ts29 symbols
src/components/NoticeComponent.tsx27 symbols
src/messageTypes.ts24 symbols
src/js-components/skipButtonControlBar.ts23 symbols
src/config/config.ts21 symbols
src/popup/PopupComponent.tsx20 symbols
src/types.ts19 symbols

For agents

$ claude mcp add Spot-SponsorBlock-Extension \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact