{"id":26301985,"url":"https://github.com/seraprogrammer/goodway","last_synced_at":"2026-07-04T14:31:35.663Z","repository":{"id":278441201,"uuid":"935629421","full_name":"seraprogrammer/goodway","owner":"seraprogrammer","description":"Goodway - Lightweight Component Library","archived":false,"fork":false,"pushed_at":"2025-02-19T19:09:31.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-05T01:04:24.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://seraprogrammer.github.io/goodway/","language":"JavaScript","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/seraprogrammer.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-02-19T18:53:33.000Z","updated_at":"2025-09-23T15:18:05.000Z","dependencies_parsed_at":"2025-02-19T20:20:13.529Z","dependency_job_id":"8298eee1-4e31-43e2-9702-21d43aa2405b","html_url":"https://github.com/seraprogrammer/goodway","commit_stats":null,"previous_names":["seraprogrammer/goodway"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seraprogrammer/goodway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraprogrammer%2Fgoodway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraprogrammer%2Fgoodway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraprogrammer%2Fgoodway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraprogrammer%2Fgoodway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seraprogrammer","download_url":"https://codeload.github.com/seraprogrammer/goodway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seraprogrammer%2Fgoodway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35125718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":[],"created_at":"2025-03-15T07:17:49.004Z","updated_at":"2026-07-04T14:31:35.642Z","avatar_url":"https://github.com/seraprogrammer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Goodway - Lightweight Component Library\n\nGoodway is a minimal and efficient JavaScript component library designed to\nsimplify UI development. With a size of just 410 bytes, Goodway provides a\nstructured way to create reusable components with built-in support for props,\ntemplates, and modularity.\n\n## Features\n\n- 🪶 **Ultra-lightweight** - Only 410 bytes!\n- ⚡ **Simple API** - Easy-to-use component structure.\n- 📦 **Modular** - Components are self-contained and reusable.\n- 🏗 **Props System** - Pass dynamic data easily.\n- 🖼 **Template-based Rendering** - Define UI structure with placeholders.\n\n## Getting Started\n\n### Installation\n\nGoodway requires no installation! Simply include the Goodway core script and your component files in your HTML project.  You can use a CDN or host the files yourself.\n```bash\nimport createApp from \"//unpkg.com/goodway\";\n```\n### Creating a Component\n\nA Goodway component is created using `createApp()`, which defines the\ncomponent’s name, props, and template.\n\n#### Example: `hero.js`\n\n```js\nimport createApp from \"//unpkg.com/goodway\";\n\nexport default createApp(() =\u003e {\n  return {\n    name: \"hero-component\",\n    props: {\n      title: \"Designer, Front-end Developer \u0026 Mentor\",\n      description:\n        \"I design and code beautifully simple things, and I love what I do.\",\n      image:\n        \"https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/640px-Cat03.jpg\",\n    },\n    template: `\n      \u003csection class=\"hero\"\u003e\n        \u003cdiv class=\"hero-content\"\u003e\n          \u003ch1\u003e{title}\u003c/h1\u003e\n          \u003cp\u003e{description}\u003c/p\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"hero-avatar\"\u003e\n          \u003cimg src=\"{image}\" alt=\"Your Avatar\" /\u003e\n        \u003c/div\u003e\n      \u003c/section\u003e\n    `,\n  };\n});\n```\n\n### Using the Component\n\nTo use a Goodway component, add it to your HTML file and ensure it is properly\nimported.\n\n#### Example: `index.html`\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n  \u003chead\u003e\n    \u003cmeta charset=\"UTF-8\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" /\u003e\n    \u003ctitle\u003eGoodway Example\u003c/title\u003e\n    \u003clink rel=\"stylesheet\" href=\"./style.css\" /\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv class=\"container\"\u003e\n      \u003chero-component\n        title=\"Developer \u0026 Mentor\"\n        description=\"I love creating simple and elegant web solutions.\"\n        image=\"https://example.com/avatar.jpg\"\n      \u003e\u003c/hero-component\u003e\n    \u003c/div\u003e\n\n    \u003cscript type=\"module\" src=\"./components/hero.js\"\u003e\u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Why Use Goodway?\n\n- **Minimal Footprint** - It’s super lightweight and does not bloat your\n  project.\n- **Easy to Use** - Define, import, and use components seamlessly.\n- **Scalable** - Create a structured UI with reusable components.\n\n## License\n\nMIT License. Feel free to use and contribute!\n\nHappy coding! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseraprogrammer%2Fgoodway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseraprogrammer%2Fgoodway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseraprogrammer%2Fgoodway/lists"}