{"id":22702999,"url":"https://github.com/frdteknikelektro/mmm-simplelogo","last_synced_at":"2025-04-13T08:02:17.228Z","repository":{"id":95774339,"uuid":"77308543","full_name":"frdteknikelektro/MMM-SimpleLogo","owner":"frdteknikelektro","description":"MagicMirror Modules Simple Logo","archived":false,"fork":false,"pushed_at":"2024-03-26T14:26:26.000Z","size":23,"stargazers_count":39,"open_issues_count":1,"forks_count":22,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2024-11-20T12:09:44.818Z","etag":null,"topics":["image","logo","magic-mirror-modules","magicmirror","simple"],"latest_commit_sha":null,"homepage":null,"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/frdteknikelektro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"faridinawan","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-12-25T03:18:33.000Z","updated_at":"2024-07-10T13:26:07.000Z","dependencies_parsed_at":"2024-08-04T10:13:19.579Z","dependency_job_id":null,"html_url":"https://github.com/frdteknikelektro/MMM-SimpleLogo","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdteknikelektro%2FMMM-SimpleLogo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdteknikelektro%2FMMM-SimpleLogo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdteknikelektro%2FMMM-SimpleLogo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frdteknikelektro%2FMMM-SimpleLogo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frdteknikelektro","download_url":"https://codeload.github.com/frdteknikelektro/MMM-SimpleLogo/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229019356,"owners_count":18007169,"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":["image","logo","magic-mirror-modules","magicmirror","simple"],"created_at":"2024-12-10T07:16:37.620Z","updated_at":"2024-12-10T07:16:38.342Z","avatar_url":"https://github.com/frdteknikelektro.png","language":"JavaScript","funding_links":["https://patreon.com/faridinawan"],"categories":[],"sub_categories":[],"readme":"# Module: MMM-SimpleLogo\n\nThe `MMM-SimpleLogo` module is third party modules of the MagicMirror. This module simply displays logo.\n\n## Using the module\n\nTo use this module, add it to the modules array in the `config/config.js` file:\n\n```javascript\nmodules: [\n    {\n        module: 'MMM-SimpleLogo',\n        position: 'top_left',    // This can be any of the regions.\n        config: {\n            // The config property is optional.\n            // See 'Configuration options' for more information.\n        }\n    }\n]\n```\n\n## Configuration options\n\nThe following properties can be configured:\n\n\u003ctable width=\"100%\"\u003e\n\t\u003c!-- why, markdown... --\u003e\n\t\u003cthead\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003cth\u003eOption\u003c/th\u003e\n\t\t\t\u003cth width=\"100%\"\u003eDescription\u003c/th\u003e\n\t\t\u003c/tr\u003e\n\t\u003cthead\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003efileUrl\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eFile url.\u003cbr\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e Logo link form internet or path to your local files relative to MagicMirror directory\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ci\u003e'modules/MMM-SimpleLogo/public/logo.png'\u003c/i\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003ewidth\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eSet width of your logo, height is auto.\u003cbr\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003e'300px'\u003c/code\u003e or \u003ccode\u003e'50%'\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e'200px'\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003eposition\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eHorizontal position on current container\u003cbr\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003eleft\u003c/code\u003e, \u003ccode\u003ecenter\u003c/code\u003e, or \u003ccode\u003eright\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eleft\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003erefreshInterval\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eRefresh/refetch image file between interval. Only use this if your image url return different image after some interval of time, even the \u003ccode\u003efileUrl\u003c/code\u003e is not changed. See this case #2, awesome project by @ElYoM \u003cbr\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e \u003ccode\u003e1000\u003c/code\u003e, \u003ccode\u003e2000\u003c/code\u003e, or \u003ccode\u003e10000\u003c/code\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003e0\u003c/code\u003e (disabled)\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003ccode\u003etext\u003c/code\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003eText above the image.\u003cbr\u003e\n\t\t\t\t\u003cbr\u003e\u003cb\u003ePossible values:\u003c/b\u003e Any text\n\t\t\t\t\u003cbr\u003e\u003cb\u003eDefault value:\u003c/b\u003e \u003ccode\u003eSimple Logo\u003c/code\u003e\n\t\t\t\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Notification Events\nThe MMM-SimpleLogo module supports the notification event `SIMPLE_LOGO_UPDATE` which allows the configuration to be dynamically modified.  As an example, the MMM-OnScreenMenu module might be used to dynamic adjust the `fileURL` parameter as follows:\n\n    {\n        module: \"MMM-OnScreenMenu\",\n        position: \"top_left\",\n        config: {\n            menuItems: {\n                notify1: {\n                    title: \"Show Cat\",\n                    notification: \"SIMPLE_LOGO_UPDATE\",\n                    payload: {\n                        fileUrl: \"cat.jpg\",\n                        width: \"750px\"\n                    }\n                },\n                notify2: {\n                    title: \"Show Dog\",\n                    notification: \"SIMPLE_LOGO_UPDATE\",\n                    payload: {\n                        fileUrl: \"dog.jpg\",\n                        width: \"1050px\"\n                    }\n                }\n            }\n        }\n    }\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrdteknikelektro%2Fmmm-simplelogo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrdteknikelektro%2Fmmm-simplelogo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrdteknikelektro%2Fmmm-simplelogo/lists"}