{"id":29267193,"url":"https://github.com/ashworth3/batteryclock","last_synced_at":"2026-05-16T12:31:26.592Z","repository":{"id":280256895,"uuid":"941410323","full_name":"ashworth3/BatteryClock","owner":"ashworth3","description":"Touch bar widget app for Apple MacBook Pro that displays real-time battery status, including percentage, remaining battery time calculation, and a dynamic battery icon with charging indicator.","archived":false,"fork":false,"pushed_at":"2025-06-30T04:00:52.000Z","size":732,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T04:37:06.425Z","etag":null,"topics":["macos","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/ashworth3.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":null,"dco":null,"cla":null}},"created_at":"2025-03-02T08:11:52.000Z","updated_at":"2025-06-30T04:00:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"706e5edb-fb56-4a47-9f16-64f74adbeab4","html_url":"https://github.com/ashworth3/BatteryClock","commit_stats":null,"previous_names":["ashworth3/batteryclock"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ashworth3/BatteryClock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashworth3%2FBatteryClock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashworth3%2FBatteryClock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashworth3%2FBatteryClock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashworth3%2FBatteryClock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashworth3","download_url":"https://codeload.github.com/ashworth3/BatteryClock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashworth3%2FBatteryClock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33102742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"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":["macos","swift"],"created_at":"2025-07-04T17:40:29.282Z","updated_at":"2026-05-16T12:31:26.587Z","avatar_url":"https://github.com/ashworth3.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BatteryClock Utility for macOS\n\nA sleek, minimal Touch Bar widget for [Pock](https://pock.app) that displays current battery percentage and time remaining estimate whether charging or discharging right on your MacBook Pro Touch Bar.\n\n## Features\n\n- 🔋 **Live Battery Info** – Always shows the current percentage and charging status.\n- ⏱ **Time Estimates** – See how long until empty or fully charged.\n- ⚙️ **Smart Refresh** – Minimal CPU usage with intelligent updates.\n- 🎨 **macOS-Style Icons** – Clean, native-feeling battery indicators with dynamic charge visuals.\n\n---\n\n## Installation\n\n### Option 1: Build from Source (Recommended)\n\n```bash\n# Clone the repository\ngit clone https://github.com/ashworth3/BatteryClock.git\ncd BatteryClock\n\n# Run the install script\n./install.sh\n\n# Open the built widget:\nopen .build/release/BatteryClock.pock\n```\n\n### Option 2: Download Prebuilt Widget\n\n\u003e 💾 Download the latest precompiled `.pock` widget directly from releases:  \n\u003e 👉 [BatteryClock.pock.zip](https://github.com/user-attachments/files/20972364/BatteryClock.pock.zip)\n\n1. Download the ZIP file and unzip it.\n2. Double-click `BatteryClock.pock` to add as a widget.\n\n### Requirements\n- macOS 11.0 or later\n- [Pock](https://pock.app) installed\n- Apple MacBook Pro with Touch Bar\n\n## 📸 Preview\n\n### BatteryClock on Touch Bar – Discharging\n![Discharging Preview](preview1.jpg)\n\n### BatteryClock on Touch Bar – Charging\n![Charging Preview](preview2.jpg)\n\n## 💡 What This Does\nBatteryClock provides a seamless and distraction-free way to track your MacBook’s battery life directly from the Touch Bar, keeping battery info at your fingertips without interrupting your workflow.\n\n---\n\n\u003cp align=\"center\"\u003e\n  Created by \u003ca href=\"https://github.com/ashworth3\"\u003e@ashworth3\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashworth3%2Fbatteryclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashworth3%2Fbatteryclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashworth3%2Fbatteryclock/lists"}