EveningSafari is a locally-run, free Safari Web Extension that turns any website into a dark mode. It works seamlessly and locally without any App Store installation, directly using Safari's built-in extension permissions.
It provides two dark mode features:
- Filter (Default): A highly performant mode that quickly applies CSS inversion magic while carefully un-inverting images and videos to look natural.
- Dynamic: A structural dark mode that actively parses the website's stylesheet and restyles background colors, borders, and text intelligently on the fly.
EveningSafari doesn't need external dependencies.
extension/– Contains all the HTML, JavaScript, and CSS web assets, including the Manifest V3.EveningSafari.xcodeproj– The macOS Xcode project wrapper required by Safari to run Web Extensions locally.
Since EveningSafari won't be submitted to the Mac App Store, you can build and run it locally on your MacBook forever for free. Follow these steps:
- You must have Xcode installed from the Mac App Store (or Apple Developer portal) to build the wrapper once.
To allow local extensions:
- Open Safari.
- Go to Safari > Settings... > Advanced.
- Check Show features for web developers (Or "Show Develop menu in menu bar" on older versions).
- Go to Develop > Allow Unsigned Extensions and click it to enable (you'll need to enter your Mac password). (Note: You'll have to check this "Allow Unsigned Extensions" option each time you completely quit and restart Safari).
- Open the
EveningSafari.xcodeprojfile in Xcode. - In the top-left corner of the Xcode window, ensure the target is set to EveningSafari and your Mac is selected.
- Click the Play button
▶️ (Product > Run), or pressCmd + R. - This will compile the minimal wrapper app and launch a window saying the extension is ready. You can close this window but keep the background app running or installed.
- Open Safari > Settings... > Extensions.
- Find EveningSafari in the left sidebar and check the box to turn it on.
- Safari may ask for website permissions. You should click "Always Allow on Every Website" so EveningSafari can automatically inject the dark mode script across your browsing sessions.
- You'll now see the EveningSafari crescent moon icon 🌙 in your Safari toolbar!
- Click the EveningSafari toolbar icon to open the popup.
- You can toggle dark mode On/Off for the current site or Globally.
- Use the mode selector to switch between Filter (faster) and Dynamic (smarter).
- Adjust the Brightness, Contrast, and Sepia sliders to fit your visual preference — changes apply instantly!
#VibedPRsWelcome