{"id":15062390,"url":"https://github.com/atomicojs/astro","last_synced_at":"2025-06-29T13:35:37.534Z","repository":{"id":40759907,"uuid":"489205547","full_name":"atomicojs/astro","owner":"atomicojs","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-10T02:19:08.000Z","size":741,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T20:33:55.396Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomicojs.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}},"created_at":"2022-05-06T03:42:39.000Z","updated_at":"2024-09-08T17:00:48.000Z","dependencies_parsed_at":"2023-12-09T15:03:01.705Z","dependency_job_id":"3bf3bb65-f0c1-42d0-ab04-e93a72dd0bfd","html_url":"https://github.com/atomicojs/astro","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.5714285714285714,"last_synced_commit":"59d650d7dc488d85fd5a7caa011470ac5704e735"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/atomicojs/astro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fastro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fastro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fastro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fastro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomicojs","download_url":"https://codeload.github.com/atomicojs/astro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomicojs%2Fastro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261305462,"owners_count":23138545,"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-09-24T23:35:18.162Z","updated_at":"2025-06-29T13:35:37.497Z","avatar_url":"https://github.com/atomicojs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @atomico/astro\n\nEarly support for using Atomico SSR + Astro Build.\n\n## Install\n\n```bash\nnpm i -D @atomico/astro\n```\n\n## Usage\n\n```js\nimport { defineConfig } from \"astro/config\";\nimport Atomico from \"@atomico/astro\";\n\nexport default defineConfig({\n  integrations: [Atomico()],\n});\n```\n\nYou must associate the flag to the astro scripts in package.json#script `--experimental-integrations`, example:\n\n```json\n{\n  \"scripts\": {\n    \"dev\": \"astro dev --experimental-integrations\",\n    \"start\": \"astro dev --experimental-integrations\",\n    \"build\": \"astro build --experimental-integrations\",\n    \"preview\": \"astro preview --experimental-integrations\"\n  }\n}\n```\n\n## Hydration\n\nAtomico applies an automatic hydration, if it is required to hydrate the component on the client, you must include the component script, example:\n\n```\n---\nimport \"./my-component.js\" // SSR\n---\n\u003cscript src=\"./my-component.js\"\u003e\u003c/script\u003e \u003c!--Hydration--\u003e\n\u003cmy-component\u003e\u003c/my-component\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicojs%2Fastro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomicojs%2Fastro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomicojs%2Fastro/lists"}