{"id":15825476,"url":"https://github.com/patrickjs/qwik-fake-server-component","last_synced_at":"2026-03-16T09:37:42.546Z","repository":{"id":222429034,"uuid":"757259814","full_name":"PatrickJS/qwik-fake-server-component","owner":"PatrickJS","description":"meme repo","archived":false,"fork":false,"pushed_at":"2024-09-23T22:16:56.000Z","size":2107,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T09:21:09.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/PatrickJS.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":"2024-02-14T05:50:17.000Z","updated_at":"2024-02-15T05:32:01.000Z","dependencies_parsed_at":"2024-10-26T14:03:46.400Z","dependency_job_id":"011b8f34-5d2c-40d5-918f-b741eb4c2776","html_url":"https://github.com/PatrickJS/qwik-fake-server-component","commit_stats":null,"previous_names":["patrickjs/qwik-starter-wyob6n","patrickjs/qwik-fake-server-component"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fqwik-fake-server-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fqwik-fake-server-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fqwik-fake-server-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PatrickJS%2Fqwik-fake-server-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PatrickJS","download_url":"https://codeload.github.com/PatrickJS/qwik-fake-server-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604612,"owners_count":20804100,"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":"2024-10-05T09:20:50.466Z","updated_at":"2026-03-16T09:37:37.526Z","avatar_url":"https://github.com/PatrickJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qwik Fake Server Component\n\n```typescript\n// meme repo btw\nexport default serverComponent$(async () =\u003e {\n  const filename = new URL(import.meta.url).pathname;\n  let file = await fs.readFile(filename, \"utf-8\");\n\n  return (\n    \u003cdiv id=\"home\"\u003e\n      \u003ch1\u003eWelcome to Qwik\u003c/h1\u003e\n      \u003cbutton\n        onClick$={async () =\u003e {\n          // client router get latest from server router\n          // location.reload();\n\n          const html = await fetch(location.href).then((res) =\u003e res.text());\n          const parser = new DOMParser();\n          const doc = parser.parseFromString(html, \"text/html\");\n          document.querySelector(\"#home\")!.innerHTML =\n            doc.querySelector(\"#home\")!.innerHTML;\n        }}\n      \u003e\n        update\n      \u003c/button\u003e\n      \u003cpre\u003e{Math.random()}\u003c/pre\u003e\n      \u003cpre\u003e{file}\u003c/pre\u003e\n    \u003c/div\u003e\n  );\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjs%2Fqwik-fake-server-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickjs%2Fqwik-fake-server-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickjs%2Fqwik-fake-server-component/lists"}