{"id":26091492,"url":"https://github.com/sagar-koirala/m5stack_clock","last_synced_at":"2026-06-19T01:31:38.199Z","repository":{"id":281324306,"uuid":"944932474","full_name":"sagar-koirala/M5stack_Clock","owner":"sagar-koirala","description":"A minimalist digital clock for M5Stack Core2 featuring NTP synchronization and a LVGL based UI design.","archived":false,"fork":false,"pushed_at":"2025-03-08T09:17:14.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T10:23:24.656Z","etag":null,"topics":["digitalclock","lvgl","lvgl-esp32","m5stack","m5stack-core2","platformio"],"latest_commit_sha":null,"homepage":"","language":"C","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/sagar-koirala.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":"2025-03-08T09:07:32.000Z","updated_at":"2025-03-08T09:17:17.000Z","dependencies_parsed_at":"2025-03-08T10:23:31.890Z","dependency_job_id":"a0ca23bd-0937-4b7a-8949-b7f591d00c98","html_url":"https://github.com/sagar-koirala/M5stack_Clock","commit_stats":null,"previous_names":["sagar-koirala/m5stack_clock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sagar-koirala/M5stack_Clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagar-koirala%2FM5stack_Clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagar-koirala%2FM5stack_Clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagar-koirala%2FM5stack_Clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagar-koirala%2FM5stack_Clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sagar-koirala","download_url":"https://codeload.github.com/sagar-koirala/M5stack_Clock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sagar-koirala%2FM5stack_Clock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269976794,"owners_count":24506467,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["digitalclock","lvgl","lvgl-esp32","m5stack","m5stack-core2","platformio"],"created_at":"2025-03-09T10:21:19.516Z","updated_at":"2026-06-19T01:31:37.702Z","avatar_url":"https://github.com/sagar-koirala.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# M5Stack NTP Clock\n\n![M5Stack Clock Display](M5stack_clock.jpg)\n\nA minimalist digital clock for M5Stack Core2 featuring NTP synchronization and a clean, elegant display. Shows time, date, and day of week with precision and style.\n\n## Key Features\n\n- Minimalist UI with 12-hour time format and seconds display\n- One-touch time synchronization via WiFi (hold center button for 5s)\n- Battery-efficient design (WiFi only active during sync)\n- RTC-backed timekeeping for accuracy when offline\n\n## Hardware\n\n- [M5Stack Core2](https://shop.m5stack.com/products/m5stack-core2-esp32-iot-development-kit)\n\n## Quick Setup\n\n1. **Clone \u0026 Configure:**\n   ```\n   git clone https://github.com/yourusername/M5stack_Clock.git\n   cp src/secrets.h.template src/secrets.h\n   ```\n\n2. **Edit WiFi credentials** in `src/secrets.h`\n\n3. **Build \u0026 Upload** using PlatformIO\n\n## Usage\n\n- **View time:** The clock displays automatically on power-up\n- **Sync time:** Hold middle button (B) for 5 seconds\n- **Time zone:** Currently set to GMT+7 (Bangkok)\n  - To change: Modify `gmtOffset_sec` in `main.cpp`\n\n## Fonts Used\n\n- [**BlackHanSans-Regular**](https://fonts.google.com/specimen/Black+Han+Sans)\n\n\n## Tech Stack\n\nBuilt with M5Core2 library, LVGL 8.3.6, and ESP32 Arduino framework.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagar-koirala%2Fm5stack_clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagar-koirala%2Fm5stack_clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagar-koirala%2Fm5stack_clock/lists"}