{"id":14978522,"url":"https://github.com/parking-master/electron-trubar","last_synced_at":"2026-02-03T21:31:22.847Z","repository":{"id":41522372,"uuid":"508030111","full_name":"Parking-Master/electron-trubar","owner":"Parking-Master","description":"Electron TruBar is a package for fully-customizable titlebars. Works on Linux, Windows \u0026 Mac on the lastest versions of Node.js and ElectronJS","archived":false,"fork":false,"pushed_at":"2025-01-13T12:47:02.000Z","size":2381,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-02T23:05:03.545Z","etag":null,"topics":["electron","electron-app","electronjs","javascript","package","title","titlebar","window"],"latest_commit_sha":null,"homepage":"https://trubar.uk.to","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Parking-Master.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-06-27T19:02:59.000Z","updated_at":"2025-01-13T12:47:06.000Z","dependencies_parsed_at":"2024-04-14T20:31:32.397Z","dependency_job_id":"2999d8e2-38e8-4f9a-9250-a6b342d1619f","html_url":"https://github.com/Parking-Master/electron-trubar","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"ee26b1219d51c520ee6d50e51099870664a3a7e6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Parking-Master/electron-trubar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parking-Master%2Felectron-trubar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parking-Master%2Felectron-trubar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parking-Master%2Felectron-trubar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parking-Master%2Felectron-trubar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Parking-Master","download_url":"https://codeload.github.com/Parking-Master/electron-trubar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Parking-Master%2Felectron-trubar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265451488,"owners_count":23767770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["electron","electron-app","electronjs","javascript","package","title","titlebar","window"],"created_at":"2024-09-24T13:57:50.694Z","updated_at":"2026-02-03T21:31:22.817Z","avatar_url":"https://github.com/Parking-Master.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron TruBar (electron-trubar)\nThe fastest and easiest way to customize any electron app window through the main process.\n\n## Installing it\n```\nnpm install electron-trubar --save\n```\n## What it includes\n`backgroundColor` - String | Color/Hex\n\u003cbr\u003e\n`textColor` - String | Color/Hex\n\u003cbr\u003e\n`seamColor` - String | Color/Hex\n\u003cbr\u003e\n`seam` - Boolean | Seamless/Seam\n\u003cbr\u003e\n`title` - String | Title/Text\n\u003cbr\u003e\n`height` - Number | Integer/Float\n\u003cbr\u003e\n`trafficLightX` - Number | Integer/Float\n\u003cbr\u003e\n`trafficLightY` - Number | Integer/Float\n\n## Definitions\n`backgroundColor` - Controls the background color of the titlebar.\n\u003cbr\u003e\n`textColor` - Controls the foreground color of the titlebar.\n\u003cbr\u003e\n`seamColor` - Controls the seam color of the titlebar.\n\u003cbr\u003e\n`seam` - Controls whether the seam is shown on the titlebar.\n\u003cbr\u003e\n`title` - Controls the title for of the titlebar.\n\u003cbr\u003e\n`height` - Controls the height of the titlebar.\n\u003cbr\u003e\n`trafficLightX` - Controls the X Axis position of the traffic lights.\n\u003cbr\u003e\n`trafficLightY` - Controls the Y Axis position of the traffic lights.\n\n## Example\n```\nnpm install electron-trubar --save\n```\n\n##### main.js\n```\nconst { app, BrowserWindow } = require(\"electron\");\nconst TruBar = require(\"electron-trubar\");\n\napp.on(\"ready\", function() {\n  const mainWindow = new BrowserWindow({ ... });\n  TruBar(mainWindow, {\n    backgroundColor: \"#333\",\n    textColor: \"#fff\",\n    seam: true,\n    seamColor: \"#eee\",\n    height: 20,\n    trafficLightX: 6.5,\n    trafficLightY: 6.5,\n    title: \"My app\"\n  });\n});\n```\n\n### Output\n\n\u003cbr\u003e\n\n#### White\n![Example Titlebar (White)](https://raw.githubusercontent.com/Parking-Master/Parking-Master/main/img/white-bar.png)\n\n#### Red\n![Example Titlebar (Red)](https://raw.githubusercontent.com/Parking-Master/Parking-Master/main/img/red-bar.png)\n\n#### Black\n![Example Titlebar (Black)](https://raw.githubusercontent.com/Parking-Master/Parking-Master/main/img/black-bar.png)\n\n## License\n__MIT__","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparking-master%2Felectron-trubar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparking-master%2Felectron-trubar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparking-master%2Felectron-trubar/lists"}