@asrani-aman/xyne-dark-cli
v1.0.1
Published
Forces Xyne Spaces into Dark Mode
Readme
Xyne Spaces Dark Mode CLI 🌑
A lightweight CLI tool for developers to force Dark Mode on the Xyne Spaces Electron app.
🚀 Installation
npm install -g @asrani-aman/xyne-dark-cli🛠 Usage
Launch the tool: Open your terminal and run:
xynedarkWhat happens next:
- The script launches Xyne Spaces with the remote debugging port (
8315) enabled. - It waits 5 seconds for the app to initialize.
- It connects via Chrome DevTools Protocol (CDP) and injects a CSS override to invert the UI colors while preserving images/video.
- The script launches Xyne Spaces with the remote debugging port (
⚙️ Prerequisites
- macOS (Tested on M1/M2/Intel)
- Xyne Spaces App installed in
/Applications - Node.js installed
🐛 Troubleshooting
"Connection Refused":
If the app doesn't turn dark, ensure no other instances of Xyne Spaces are running. The script tries to pkill old instances, but you might need to Quit (Cmd+Q) manually first.
Internal Tool for Juspay Team
