{"id":44710627,"url":"https://github.com/halos-org/halos-cockpit-config","last_synced_at":"2026-05-13T11:01:22.233Z","repository":{"id":325665567,"uuid":"1101406259","full_name":"halos-org/halos-cockpit-config","owner":"halos-org","description":"Custom HaLOS branding for Cockpit web interface","archived":false,"fork":false,"pushed_at":"2026-04-30T11:10:33.000Z","size":117,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-30T12:14:29.251Z","etag":null,"topics":["apt-package","halos"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/halos-org.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-11-21T16:18:29.000Z","updated_at":"2026-04-30T11:09:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/halos-org/halos-cockpit-config","commit_stats":null,"previous_names":["hatlabs/cockpit-branding-halos","hatlabs/halos-cockpit-config","halos-org/halos-cockpit-config"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/halos-org/halos-cockpit-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halos-org%2Fhalos-cockpit-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halos-org%2Fhalos-cockpit-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halos-org%2Fhalos-cockpit-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halos-org%2Fhalos-cockpit-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halos-org","download_url":"https://codeload.github.com/halos-org/halos-cockpit-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halos-org%2Fhalos-cockpit-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32979305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: 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":["apt-package","halos"],"created_at":"2026-02-15T12:17:09.120Z","updated_at":"2026-05-13T11:01:22.228Z","avatar_url":"https://github.com/halos-org.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HaLOS Cockpit Branding\n\nCustom branding for Cockpit web interface with Hat Labs logo and HaLOS branding.\n\n## Overview\n\nThis package provides custom Cockpit branding that replaces the default Debian logo with the Hat Labs logo and displays \"HaLOS\" as the brand name on the login screen.\n\n## Structure\n\n```\netc/cockpit/branding/\n├── branding.css         # Custom CSS for logo and brand text\n├── logo.svg             # Hat Labs logo (SVG, primary)\n├── logo.png             # Hat Labs logo (PNG fallback, 100x100)\n├── apple-touch-icon.png # iOS home screen icon (180x180)\n└── favicon.ico          # Browser favicon (32x32)\n```\n\n## How It Works\n\nCockpit uses `/etc/cockpit/branding/` as an override directory that takes precedence over distribution-specific branding. When present, these files are served on the login screen without authentication.\n\nThe branding includes:\n- **Badge (#badge)**: Hat Labs logo in upper-right corner of login screen (100x100px)\n- **Brand text (#brand)**: \"HaLOS\" displayed above login fields\n- **Accent color**: Custom blue-gray color (#576679) matching Hat Labs branding\n\n## Installation\n\n### Manual Installation\n\n```bash\nsudo mkdir -p /etc/cockpit/branding\nsudo cp etc/cockpit/branding/* /etc/cockpit/branding/\nsudo systemctl restart cockpit\n```\n\n### For HaLOS Image\n\nThis directory should be included in the HaLOS image build process. The files will be copied to `/etc/cockpit/branding/` during image creation.\n\nFor pi-gen integration, add to your stage configuration:\n\n```bash\n# In stage-halos/01-cockpit-branding/00-run.sh\ninstall -d \"${ROOTFS_DIR}/etc/cockpit/branding\"\ninstall -m 644 files/branding.css \"${ROOTFS_DIR}/etc/cockpit/branding/\"\ninstall -m 644 files/logo.* \"${ROOTFS_DIR}/etc/cockpit/branding/\"\ninstall -m 644 files/apple-touch-icon.png \"${ROOTFS_DIR}/etc/cockpit/branding/\"\ninstall -m 644 files/favicon.ico \"${ROOTFS_DIR}/etc/cockpit/branding/\"\n```\n\n## Testing\n\nAfter installation, access Cockpit at https://your-device:9090\n\nYou should see:\n1. Hat Labs logo in the upper-right corner\n2. \"HaLOS\" brand text above the login fields\n3. Hat Labs favicon in browser tab\n\nIf branding doesn't appear, check:\n- Files are readable: `ls -l /etc/cockpit/branding/`\n- Cockpit is running: `systemctl status cockpit`\n- Browser cache is cleared (Ctrl+Shift+R)\n\n## Customization\n\nTo modify the branding:\n\n1. **Logo**: Replace `logo.svg` and regenerate PNG files:\n   ```bash\n   rsvg-convert -w 100 -h 100 logo.svg -o logo.png\n   rsvg-convert -w 180 -h 180 logo.svg -o apple-touch-icon.png\n   rsvg-convert -w 32 -h 32 logo.svg | convert - favicon.ico\n   ```\n\n2. **Brand text**: Edit `branding.css` and change the `content:` value in `#brand::before`\n\n3. **Accent color**: Edit `branding.css` and change `--ct-color-host-accent` value\n\n## References\n\n- [Cockpit Branding Documentation](../cockpit/doc/branding.md)\n- [PatternFly Colors](https://www.patternfly.org/design-foundations/colors/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalos-org%2Fhalos-cockpit-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalos-org%2Fhalos-cockpit-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalos-org%2Fhalos-cockpit-config/lists"}