No description
  • JavaScript 45.3%
  • HTML 23.5%
  • CSS 13.6%
  • Python 11.9%
  • Makefile 5.7%
Find a file
Felipe M. 8d93f3b3cf
All checks were successful
CI / build (push) Successful in 11s
CI / lint (push) Successful in 14s
ci: migrate from Woodpecker CI to Forgejo Actions (#1)
Replace Woodpecker CI with GitHub/Forgejo Actions workflows matching
the patterns used in mattermost-marketplace-ng. Add CI workflow with
lint and build jobs, and release workflow with artifact upload.
Also update .gitignore with web-ext-artifacts and AI tool entries.

Reviewed-on: #1
Co-authored-by: Felipe M. <me@fmartingr.com>
Co-committed-by: Felipe M. <me@fmartingr.com>
2026-04-08 11:06:20 +02:00
.github/workflows ci: migrate from Woodpecker CI to Forgejo Actions (#1) 2026-04-08 11:06:20 +02:00
icons Initial commit 2025-11-22 08:53:53 +01:00
.gitignore ci: migrate from Woodpecker CI to Forgejo Actions (#1) 2026-04-08 11:06:20 +02:00
content.js Initial commit 2025-11-22 08:53:53 +01:00
generate_icons.py Initial commit 2025-11-22 08:53:53 +01:00
Makefile ci: migrate from Woodpecker CI to Forgejo Actions (#1) 2026-04-08 11:06:20 +02:00
manifest.json ci: migrate from Woodpecker CI to Forgejo Actions (#1) 2026-04-08 11:06:20 +02:00
popup.html Initial commit 2025-11-22 08:53:53 +01:00
popup.js Initial commit 2025-11-22 08:53:53 +01:00
README.md Initial commit 2025-11-22 08:53:53 +01:00
styles.css ci: migrate from Woodpecker CI to Forgejo Actions (#1) 2026-04-08 11:06:20 +02:00

Smart Dark Mode Extension

A lightweight web extension that applies a smart dark mode to websites while preserving media content.

Features

  • Smart Inversion: Uses intelligent CSS filters (invert(1) hue-rotate(180deg)) to darken pages without breaking colors.
  • Media Preservation: Automatically protects images, videos, and elements with background images from inversion.
  • Per-Site Persistence: Remembers your preferences for each domain.
  • System Sync: Optional setting to only activate when your OS is in dark mode.
  • Smart Detection: Detects if a site is already dark and provides a visual hint.

Installation

  1. Clone or download this repository.
  2. Open your browser's extensions page (e.g., chrome://extensions).
  3. Enable Developer mode.
  4. Click Load unpacked and select this directory.

Development

This project includes a Makefile for common tasks:

  • make build: Packages the extension into extension.zip.
  • make lint: Lints the extension using web-ext.
  • make clean: Removes build artifacts.