{"id":26930358,"url":"https://github.com/blobbybilb/why-component","last_synced_at":"2025-04-02T06:19:06.419Z","repository":{"id":138422480,"uuid":"559092545","full_name":"blobbybilb/why-component","owner":"blobbybilb","description":"The Why? Component.","archived":false,"fork":false,"pushed_at":"2024-02-14T20:30:53.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-30T02:14:43.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blobbybilb.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":"2022-10-29T03:17:57.000Z","updated_at":"2022-10-29T03:18:04.000Z","dependencies_parsed_at":"2023-12-25T21:30:17.894Z","dependency_job_id":"be3cd7db-75c6-4a04-a1d0-4fb55af04231","html_url":"https://github.com/blobbybilb/why-component","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blobbybilb%2Fwhy-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blobbybilb","download_url":"https://codeload.github.com/blobbybilb/why-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763877,"owners_count":20829800,"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":"2025-04-02T06:19:05.633Z","updated_at":"2025-04-02T06:19:06.409Z","avatar_url":"https://github.com/blobbybilb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Why?Component\n\n### no-compile HTML/JS library to make reuseable components\n\n**An only slightly non-serious project**\n\n## Why?\nI often want components, like in most frontend frameworks, in pure HTML/CSS/JS without the need to compile. This is the simplest way I could think of to implement this.\n\n\n## Features:\n\n- Reuseable external components done in a very basic way (with markdown support)\n- Looks like HTML (inspired by and complements AlpineJS)\n- components are just normal html/markdown files\n\n## How-to\n\nAdd this to HTML:\n\n```html\n\u003cscript defer src=\"/why.js\"\u003e\u003c/script\u003e\n```\n\nThis repo is an example, see `index.html`. To try it out, clone/download this repository and start a file server in the main folder.\n\n## known bugs\n\n- rendering markdown that has whitespace at the start of the line\n\n\n## Limitations\nYes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblobbybilb%2Fwhy-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblobbybilb%2Fwhy-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblobbybilb%2Fwhy-component/lists"}