{"id":13830559,"url":"https://github.com/eouia/MMM-OClock","last_synced_at":"2025-07-09T12:30:24.851Z","repository":{"id":132832878,"uuid":"144816534","full_name":"eouia/MMM-OClock","owner":"eouia","description":"MagicMirror module - O clock inspired by PolarClock Screensaver","archived":true,"fork":false,"pushed_at":"2020-01-04T19:03:32.000Z","size":234,"stargazers_count":15,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-20T12:09:48.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eouia.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}},"created_at":"2018-08-15T06:49:54.000Z","updated_at":"2023-04-14T10:36:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"218d8023-cbe4-4de6-b976-d1dee143fcfb","html_url":"https://github.com/eouia/MMM-OClock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eouia/MMM-OClock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eouia%2FMMM-OClock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eouia%2FMMM-OClock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eouia%2FMMM-OClock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eouia%2FMMM-OClock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eouia","download_url":"https://codeload.github.com/eouia/MMM-OClock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eouia%2FMMM-OClock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264458040,"owners_count":23611471,"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":[],"created_at":"2024-08-04T10:01:02.093Z","updated_at":"2025-07-09T12:30:24.572Z","avatar_url":"https://github.com/eouia.png","language":"JavaScript","funding_links":[],"categories":["Clock"],"sub_categories":[],"readme":"# MMM-OClock\nMagicMirror module - O-clock inspired by PolarClock Screensaver\n\n## Screenshot\n![screenshot](https://github.com/eouia/MMM-OClock/blob/master/screenshot.png?raw=true)\n\n## Install\n```shell\ncd ~/MagicMirror/modules\ngit clone https://github.com/eouia/MMM-OClock.git\n```\n\n## config.js\n```javascript\n{\n  module: \"MMM-OClock\",\n  position: \"top_center\",\n  config: {}\n},\n```\n\n## detailed \u0026 defaults\n```javascript\n{\n  module: \"MMM-OClock\",\n  position: \"top_center\",\n  config: {\n    locale: \"\", //default is system locale, or use like this. \"de-DE\"\n    canvasWidth:1000,\n    canvasHeight:1000,\n    centerColor: \"#FFFFFF\",\n    centerR: 50,\n    centerTextFormat: \"YYYY\",\n    centerFont: \"bold 20px Roboto\",\n    centerTextColor:\"#000000\",\n    hands: [\"month\", \"date\", \"day\", \"hour\", \"minute\", \"second\"],\n    //available values; \"year\", \"month\", \"date\", \"week\", \"day\", \"hour\", \"minute\", \"second\"\n    handType: \"round\", //\"default\", \"round\"\n    handWidth: [40, 40, 40, 40, 40, 40],\n    handTextFormat: [\"MMM\", \"Do\", \"ddd\", \"h\", \"m\", \"s\"],\n    handFont: \"bold 16px Roboto\",\n    useNail: true,\n    nailSize: 40,\n    nailBgColor: \"#000000\",\n    nailTextColor: \"#FFFFFF\", //CSS color or \"inherit\"\n    space: 3,\n    colorType: \"hsv\", //availables: \"static\", \"radiation\", \"transform\", \"hsv\"\n    colorTypeStatic: [\"red\", \"orange\", \"yellow\", \"green\", \"blue\", \"purple\"],\n    colorTypeRadiation: [\"#333333\", \"red\"],\n    colorTypeTransform: [\"blue\", \"red\"],\n    colorTypeHSV: 0.25, //hsv circle start color : 0~1\n\n    handConversionMap: { // I think you don't need to modify this.\n      \"year\": \"YYYY\",\n      \"month\": \"M\",\n      \"date\": \"D\",\n      \"week\": \"w\", // Local week of year. If you want to use ISO week of year, use \"W\" instead \"w\"\n      \"day\": \"e\", // Local day of week. If you want to use ISO day of week, use \"E\" instead \"e\"\n      \"hour\": \"h\", // 12H system. If you want to 24H system, use \"H\" instead \"h\"\n      \"minute\": \"m\",\n      \"second\": \"s\"\n    },\n\n    ////// Available as of v2.x:\n    secondsUpdateInterval: 1,  // how often to redraw the seconds hand (integer \u003e= 1 sec)\n\n    // To show an age bar enter your birthYear AND enter \"age\" in the hands array.\n    birthYear: false,  // e.g. 1901\n    birthMonth: 0,    // e.g. 1-12 (optional, recommended)\n    lifeExpectancy: 85, // default: 85\n    linearLife: false,  // set to true to plot life linearly not logarithmically\n                        // Inspiration: http://www.bertrandplanes.com/pages/LifeClock3.php\n    ageBarColor: [],  // false for no gradient, empty array for default, or\n                      // [start, stop] colors, e.g. ['#000', 'white']\n\n    scale: 1, // convenience to scale bar dimensions (font size \u0026 nailSize should be\n              // adjusted manually).  E.g. 0.5 is half-size, 2 is double sized.\n\n    canvasStyle: \"\", // Any CSS styles, e.g. \"opacity: .7; ...\"\n\n  }\n},\n```\n\n## Change log\n\n- v2.0  Update only seconds hand every second.  Added age bar.\n- v1.x  Initial version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feouia%2FMMM-OClock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feouia%2FMMM-OClock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feouia%2FMMM-OClock/lists"}