MCPcopy Index your code
hub / github.com/ankit/stylebot

github.com/ankit/stylebot @v3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.1 ↗ · + Follow
286 symbols 719 edges 110 files 6 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Stylebot

CI Kofi Chrome Webstore Version Chrome Users Webstore Rating Follow on Twitter License

Stylebot is a browser extension that lets you change the appearance of the web instantly. Available on Firefox and Chrome.

  • Easy to use: Pick and style elements using UI actions
  • Simple & Quick: Changes are saved instantly
  • Code editor - Write your own CSS
  • Readability Mode - Make articles on any site readable by hiding non-essential page elements like sidebars, footers and ads.
  • Grayscale Mode - Turn on grayscale to reduce strain from websites

How to contribute

Donate

Buy me a coffee via Ko-fi

Translate

Add support for a locale via the following steps

  • See supported locales
  • If src/_locales/[locale].config already exists, please help improve translations
  • If not, copy src/_locales/en.config to src/_locales/[locale].config
  • Update strings in src/_locales/[locale].config to match the locale

Add new features or fix bugs

If you would like to add a new feature to Stylebot or fix a bug, submit an issue in GitHub (if there is no existing one), discuss it, and wait for approval.

Development

Firefox

  • Run yarn watch:firefox to build locally
  • Run yarn start:firefox to launch Firefox with development build

Chrome/Edge

  • Run yarn watch to build locally
  • Open chrome://extensions page.
  • Disable the official Stylebot version.
  • Enable the Developer mode.
  • Click Load unpacked extension button
  • Navigate to the project's dist/ folder

Release

  • Add entry to CHANGELOG
  • Update version in package.json and src/extension/manifest.json
  • Chrome and Edge: Run yarn build and manually create zip for distribution from dist/
  • Firefox: Run yarn build:firefox and manually create zip for distribution from firefox-dist/

Patches

Patches to dependencies are located under /patches and are automatically applied on running yarn using patch-package.

License

Stylebot is MIT licensed.

Extension points exported contracts — how you extend this code

Window (Interface)
(no doc)
src/readability/cache.ts
Window (Interface)
(no doc)
src/dark-mode/index.ts
Window (Interface)
(no doc)
src/monaco-editor/iframe/MonacoEditorIframe.ts

Core symbols most depended-on inside this repo

remove
called by 17
src/highlighter/Overlay.ts
get
called by 16
src/background/styles.ts
addDeclaration
called by 11
src/css/declaration.ts
set
called by 11
src/background/styles.ts
getCurrentTimestamp
called by 10
src/utils/index.ts
getCssWithExpandedImports
called by 9
src/css/import.ts
setAllStyles
called by 8
src/options/utils.ts
persistStorage
called by 6
src/background/styles.ts

Shape

Function 223
Method 43
Class 17
Interface 3

Languages

TypeScript100%

Modules by API surface

src/background/messages.ts20 symbols
src/highlighter/Overlay.ts19 symbols
src/options/store/index.ts16 symbols
src/background/styles.ts16 symbols
src/editor/store/mutations.ts15 symbols
src/editor/store/actions.ts14 symbols
src/monaco-editor/iframe/MonacoEditorIframe.ts12 symbols
src/editor/utils/chrome.ts12 symbols
src/dark-mode/index.ts12 symbols
src/options/utils.ts9 symbols
src/sync/google-drive/sync-file.ts8 symbols
src/background/utils.ts7 symbols

For agents

$ claude mcp add stylebot \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact