{"id":25808895,"url":"https://github.com/anthonygress/mongodb-compass-darkmode","last_synced_at":"2026-04-07T08:31:53.337Z","repository":{"id":160631075,"uuid":"395378994","full_name":"AnthonyGress/MongoDB-Compass-Darkmode","owner":"AnthonyGress","description":"No longer have your retinas burned by the light mode in MongoDB Compass tested on Mac OS, should work on any OS in theory.","archived":false,"fork":false,"pushed_at":"2021-12-20T21:06:37.000Z","size":164437,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T13:03:47.108Z","etag":null,"topics":["css","dark-mode","javascript","linux","macos","mongodb","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnthonyGress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-12T16:21:57.000Z","updated_at":"2021-12-20T21:09:33.000Z","dependencies_parsed_at":"2023-05-10T20:00:23.048Z","dependency_job_id":null,"html_url":"https://github.com/AnthonyGress/MongoDB-Compass-Darkmode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnthonyGress/MongoDB-Compass-Darkmode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyGress%2FMongoDB-Compass-Darkmode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyGress%2FMongoDB-Compass-Darkmode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyGress%2FMongoDB-Compass-Darkmode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyGress%2FMongoDB-Compass-Darkmode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnthonyGress","download_url":"https://codeload.github.com/AnthonyGress/MongoDB-Compass-Darkmode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyGress%2FMongoDB-Compass-Darkmode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31506562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","dark-mode","javascript","linux","macos","mongodb","windows"],"created_at":"2025-02-27T22:38:49.476Z","updated_at":"2026-04-07T08:31:53.312Z","avatar_url":"https://github.com/AnthonyGress.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB Compass + Dark Mode (Dark Reader)\n\nNo longer do you need have your retinas burned by the unchangable light mode in MongoDB Compass on Mac OS! ... Why don't they have a dark mode..Anyways!\n\n## Screenshot\n\n\u003cimg width=\"1392\" alt=\"MongoDB Compass Dark\" src=\"https://user-images.githubusercontent.com/70029654/129631360-a317b486-a400-4567-977d-e6aaea86bcee.png\"\u003e\n\n## Modifications\n\nThe `app.asar.zip` file is the original app file plus 2 additions.\n\n1. darkreader.js from the dark reader chrome addon\n2. the \u003cscript\u003e tag to link the javascript the html. No other modifications have been made.\n\n_This file is simply hosted here to make it easier to drag and drop dark mode_\n\nOriginal idea for Linux/Windows from [Reddit](https://www.reddit.com/r/mongodb/comments/mj1zr0/successfully_achieved_darkmode_for_mongodb_compass/)\n\nLinux Users: your directory would look something like `/usr/lib/mongodb-compass/resources` -\n[This guy's script might also work](https://github.com/Pragalbha-Patil/mongodb-compass-dark-mode)\n\nWindows Users: The `app.asar` file should work, just paste it into the correct MongoDB Compass directory for Windows maybe `C:\\Users\\{YourUsername}\\program files\\MongoDB Compass\\resources`\n\n## TLDR (Mac file path);\n\n1. Download file\n2. navigate to `/Applications/MongoDB Compass/Contents/Resources`\n3. rename _app.asar_ (to make backup)\n4. unzip `app.asar.zip`\n5. drag and drop `app.asar` file into `/Applications/MongoDB Compass/Contents/Resources`\n\n## Walkthrough (Mac file path):\n\n1. Download [MongoDB Compass](https://www.mongodb.com/try/download/compass) (tested on version 1.29.6 on MacOS 12.1 M1)\n2. Download the dark mode `asar.zip` from this repo (original asar + dark reader chrome addon)\n3. Once installed, go to the finder and click your `/Applications` folder\n4. Find MongoDB Compass in the list and right click `Show Package Contents`\n5. Click `/Contents`\n6. Click `/Resources`\n7. Rename the original `app.asar` in `/Resources` to `app_original.asar`\n8. Copy the `app.asar.zip` that you downloaded from this repo and paste it into the `/Resources` folder\n9. Make sure to **unzip** the `app.asar.zip` file here.\n10. Restart MongoDB Compass and it will be dark!\n\n## Usage\n\nDark mode has no settings or toggle, it is just on. **This is the way**.\n\n## Failed?\n\nIf you want to revert back, simply **delete** the file _app.asar_ and **rename** the original _app_original.asar_ back to _app.asar_.\n\nThen Restart MongoDB Compass\n\nYou can always delete the app and install it again\n\n## DIY\n\nThese are the commands i used to extract the file and repackage it with the modifications.\n\n1. `npx asar extract app.asar destination_folder`\n2. `npx asar pack destination_folder app.new.asar`\n\n**_Mac Script Coming Soon_**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonygress%2Fmongodb-compass-darkmode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonygress%2Fmongodb-compass-darkmode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonygress%2Fmongodb-compass-darkmode/lists"}