{"id":15594833,"url":"https://github.com/innei/shiro-remote-components","last_synced_at":"2026-01-25T00:30:55.161Z","repository":{"id":221706687,"uuid":"755163695","full_name":"Innei/shiro-remote-components","owner":"Innei","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-03T15:30:02.000Z","size":906,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"v2","last_synced_at":"2025-05-15T13:09:53.762Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Innei.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,"zenodo":null}},"created_at":"2024-02-09T14:58:52.000Z","updated_at":"2024-11-03T15:28:44.000Z","dependencies_parsed_at":"2024-02-09T16:08:04.804Z","dependency_job_id":"26a1fd09-2edb-45b6-aa15-e8b0d7a24a3d","html_url":"https://github.com/Innei/shiro-remote-components","commit_stats":null,"previous_names":["innei/shiro-remote-components"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/Innei/shiro-remote-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fshiro-remote-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fshiro-remote-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fshiro-remote-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fshiro-remote-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Innei","download_url":"https://codeload.github.com/Innei/shiro-remote-components/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Innei%2Fshiro-remote-components/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-03T00:41:50.216Z","updated_at":"2026-01-25T00:30:55.143Z","avatar_url":"https://github.com/Innei.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shiro Remote React Components\n\nThis repository is used to store my embedded React components for the [Shiro](https://github.com/Innei/Shiro) Markdown format.\n\nSimilar to how MDX can render a React component in Markdown, the following format can render a remote React component if in Shiro Flavored Markdown.\n\n````markdown\n```component\nimport=https://cdn.jsdelivr.net/npm/@innei/react-cdn-components@0.0.7/dist/components/Firework.js\nname=MDX.Firework\nheight=25\n```\n````\n\n## Excalidraw\n\nCopy `https://cdn.jsdelivr.net/gh/innei/shiro-remote-components@main/excalidraw/`\n\n## Props\n\n`import=\u003cremote-js-url\u003e` is similar to importing a js code\n`name=\u003caccess-of-component\u003e` Get the location of the component for this js scope.\n\nYou need to package the js in iife or umd format. They can both be retrieved directly from the window object.\n\nFor example, your js umd exists on the window `window.YourComponent` is a legal React component.\nYourComponent` is a legitimate React component:\n\n````markdown\n```component\nimport=your script location\nname=YourComponent\n```\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnei%2Fshiro-remote-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnei%2Fshiro-remote-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnei%2Fshiro-remote-components/lists"}