{"id":25893354,"url":"https://github.com/zakarialaoui10/ziko-wrapper","last_synced_at":"2025-04-09T20:33:03.057Z","repository":{"id":228667665,"uuid":"774611669","full_name":"zakarialaoui10/ziko-wrapper","owner":"zakarialaoui10","description":"render zikojs elements within other frameworks","archived":false,"fork":false,"pushed_at":"2025-02-20T17:41:24.000Z","size":544,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:02:05.471Z","etag":null,"topics":["astro","hyperapp","lit","nextjs","nuxt","preact","react","react-native","solid","svelte","vanjs","vue","zikojs"],"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/zakarialaoui10.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}},"created_at":"2024-03-19T21:19:21.000Z","updated_at":"2025-02-28T16:06:39.000Z","dependencies_parsed_at":"2024-09-05T19:38:26.377Z","dependency_job_id":null,"html_url":"https://github.com/zakarialaoui10/ziko-wrapper","commit_stats":null,"previous_names":["zakarialaoui10/react-ziko","zakarialaoui10/ziko-integration","zakarialaoui10/ziko-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fziko-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fziko-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fziko-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakarialaoui10%2Fziko-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zakarialaoui10","download_url":"https://codeload.github.com/zakarialaoui10/ziko-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247549222,"owners_count":20956874,"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":["astro","hyperapp","lit","nextjs","nuxt","preact","react","react-native","solid","svelte","vanjs","vue","zikojs"],"created_at":"2025-03-02T21:33:03.184Z","updated_at":"2025-04-09T20:33:03.033Z","avatar_url":"https://github.com/zakarialaoui10.png","language":"JavaScript","funding_links":[],"categories":["Developers"],"sub_categories":["Zakaria Elalaoui"],"readme":"\u003e [!NOTE]  \n\u003e This project is part of the [ZikoJS](https://github.com/zakarialaoui10/ziko.js) ecosystem.\n\n# Ziko-wrapper \nZiko-Wrapper is a tool that facilitates the rendering of ZikoJS elements within other frameworks and the embedding of framework-specific components into ZikoJS, enabling seamless integration and interoperability between different ecosystems.\n\n\u003c!-- # Table Of Content\n\n- [Integrate Zikojs inside Other Environment](#integrate-zikojs-inside-other-environment)\n  - [Jsx Based]\n  - [Vue]\n  - [Svelte] --\u003e\n\n\n## Current Support Table for Ziko-Wrapper\n\n|Framework/Library|Integrate ZikoJS|Get Integrated in ZikoJS|Remark|\n|-|-|-|-|\n|React|✅ Supported|✅ Supported|\n|Svelte|✅ Supported|✅ Supported|\n|Solid|✅ Supported|✅ Supported|\n|Vue|✅ Supported|✅ Supported|\n|Preact|✅ Supported|✅ Supported|\n|Astro|✅ Supported|❌ Not Supported|[Astro](#astro)\n|Next|✅ Supported|❌ Not Supported|\n|Remix|✅ Supported|❌ Not Supported|\n|SvelteKit|✅ Supported|❌ Not Supported|\n|React Native|✅ Supported|❌ Not Supported|\n\n\n## Integrate Zikojs inside Other Environment\n\n### UI Decalaration\n```js\n// HelloFromZiko.js\nimport {h1} from \"ziko\"\nexport default HelloFromZiko=({color})=\u003e{\n    return h1(`Hello World, this is a Zikojs component.`).style({\n        color\n    })\n}\n```\n\n### Use \n#### JSX Based\n\n```jsx\nimport ZikoWrapper from \"ziko-wrapper/react\"\n// import ZikoWrapper from \"ziko-wrapper/solid\"\n// import ZikoWrapper from \"ziko-wrapper/preact\"\nimport HelloFromZiko from \"./HelloFromZiko.js\"\nexport default function App(){\n    return (\n        \u003cZikoWrapper\u003e\n           \u003cHelloFromZiko \n              color=\"blue\"  \n            /\u003e\n        \u003c/ZikoWrapper\u003e\n    )\n }\n```\n\n#### Vue\n```xml\n\u003cscript\u003e\nimport ZikoWrapper from \"ziko-wrapper/vue\"\nimport HelloFromZiko from \"./HelloFromZiko.js\"\n\u003c/script\u003e\n\u003ctemplate\u003e\n    \u003cZikoWrapper\u003e\n           \u003cHelloFromZiko \n              color=\"green\"  \n            /\u003e\n    \u003c/ZikoWrapper\u003e\n\u003c/template\u003e\n``` \n#### Svelte \n```jsx\n---\nimport ZikoWrapper from \"ziko-wrapper/svelte\";\nimport HelloFromZiko from \"./HelloFromZiko.js\"\n---\n\u003cZikoWrapper ui={HelloFromZiko({color:\"orange\"})}/\u003e\n```\n#### Astro \n- Customize the astro.config.mjs file\n```js\nimport { defineConfig } from 'astro/config';\nimport ziko from \"ziko-wrapper/astro\"\nexport default defineConfig({\n    integrations : [\n        ziko()\n    ]\n})\n```\n- Define The component \n```js\n// HelloFromZikoJs.js\nimport {p} from \"ziko\"\nexport default HelloFromZikoJs=({color})=\u003ep(\"Hello From Zikojs\").style({color})\n```\n- Render The component\n```jsx\n---\n import HelloFromZiko from \"./HelloFromZiko.js\"\n---\n\u003cHelloFromZiko \n  color=\"orange\"\n  client:only \n/\u003e\n```\n## Integrate Other Framewrok components inside Zikojs  \n\n### React \n### Solid \n### Svelte \n### Vue \n### Preact \n\n# Supports\n\n# Licence","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarialaoui10%2Fziko-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakarialaoui10%2Fziko-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakarialaoui10%2Fziko-wrapper/lists"}