{"id":47620220,"url":"https://github.com/ccmjs/hello","last_synced_at":"2026-04-01T22:00:21.111Z","repository":{"id":337052147,"uuid":"1124249921","full_name":"ccmjs/hello","owner":"ccmjs","description":"Minimal ccmjs component example that renders a configurable greeting.","archived":false,"fork":false,"pushed_at":"2026-03-22T11:44:24.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-22T12:00:11.210Z","etag":null,"topics":["ccmjs","component","example","javascript","web-components"],"latest_commit_sha":null,"homepage":"https://ccmjs.github.io/hello/","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/ccmjs.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-28T16:45:29.000Z","updated_at":"2026-03-22T11:42:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ccmjs/hello","commit_stats":null,"previous_names":["ccmjs/hello"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ccmjs/hello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmjs%2Fhello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmjs%2Fhello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmjs%2Fhello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmjs%2Fhello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccmjs","download_url":"https://codeload.github.com/ccmjs/hello/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmjs%2Fhello/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"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":["ccmjs","component","example","javascript","web-components"],"created_at":"2026-04-01T22:00:14.112Z","updated_at":"2026-04-01T22:00:21.100Z","avatar_url":"https://github.com/ccmjs.png","language":"JavaScript","readme":"# ccmjs Hello Component\n\nA minimal example component for the **ccmjs framework**.\n\nThis component renders a simple greeting using a configurable name.\n\n## 🚀 Quick Start\n\nInclude ccmjs and start the component:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003cmeta charset=\"UTF-8\"\u003e\n\u003cbody\u003e\n\n\u003cscript src=\"./libs/framework/ccm.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\nccm.start(\"./ccm.hello.mjs\", {\n  name: \"Mika\"\n}, document.body);\n\u003c/script\u003e\n```\n\n## 💡 Example Output\n\n```\nHello Mika\n```\n\n## ⚙️ Configuration\n\nConfiguration is defined directly in the component source code.\n\nOpen `ccm.hello.mjs` to see all available configuration options and their descriptions.\n\nThis follows the ccmjs principle of **code transparency**:\nall configuration is documented where it is defined.\n\n## 📦 Usage with CDN (versioned)\n\n```html\n\u003cscript src=\"https://ccmjs.github.io/hello/libs/framework/ccm.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\nccm.start(\"https://cdn.jsdelivr.net/gh/ccmjs/hello@v1.0.1/ccm.hello-1.0.1.min.mjs\", { name: \"Mika\" }, document.body);\n\u003c/script\u003e\n```\n\n## 🧩 Component Structure\n\nA ccmjs component exports a `component` object:\n\n```js\nexport const component = {\n  name: \"hello\",\n  ccm: \"https://ccmjs.github.io/framework/ccm.js\",\n  config: {\n    name: \"World\"\n  },\n  Instance: function () {\n    this.start = async () =\u003e {\n      this.element.innerHTML = \"Hello \" + this.name;\n    };\n  }\n};\n```\n\n## 🔍 Code Transparency\n\nEach ccmjs component is a standalone file that can be inspected at runtime.\n\nThere is no build step, bundling, or hidden abstraction layer.\n\nYou can always:\n\n- read the original source code\n- understand how the component works\n- inspect it directly in the browser (via source maps)\n\n## 📚 Learn More\n\n- ccmjs Framework: https://github.com/ccmjs/framework\n- Documentation: https://github.com/ccmjs/framework/wiki\n\n## 📄 License\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccmjs%2Fhello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccmjs%2Fhello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccmjs%2Fhello/lists"}