{"id":14959305,"url":"https://github.com/aitthi/astro-surf","last_synced_at":"2026-02-13T12:41:02.197Z","repository":{"id":182967714,"uuid":"669406216","full_name":"Aitthi/astro-surf","owner":"Aitthi","description":"Astro Surf is a server side rendering library for Astro built with Axum","archived":false,"fork":false,"pushed_at":"2024-05-30T11:59:28.000Z","size":937,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T19:09:43.966Z","etag":null,"topics":["astro","napi-rs","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Aitthi.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":"2023-07-22T07:08:19.000Z","updated_at":"2024-05-30T11:59:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"fdc8bd33-52c3-46b4-9b20-77e0392bb715","html_url":"https://github.com/Aitthi/astro-surf","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"5fe175e30218e2fd43c5680b7d273c6fceb979d1"},"previous_names":["aitthi/astro-surf"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Aitthi/astro-surf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aitthi%2Fastro-surf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aitthi%2Fastro-surf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aitthi%2Fastro-surf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aitthi%2Fastro-surf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aitthi","download_url":"https://codeload.github.com/Aitthi/astro-surf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aitthi%2Fastro-surf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274728971,"owners_count":25338581,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["astro","napi-rs","rust"],"created_at":"2024-09-24T13:19:24.533Z","updated_at":"2026-02-13T12:41:02.112Z","avatar_url":"https://github.com/Aitthi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Astro Surf\n\n[![NPM version](https://img.shields.io/npm/v/astro-surf.svg?style=for-the-badge)](https://www.npmjs.com/package/astro-surf)\n\n[Astro](https://astro.build/) Surf is a server side rendering library for Astro built with [Axum](https://github.com/tokio-rs/axum)\n\n\n## Installation\n\n```bash\nnpm install astro-surf\n```\nor\n```bash\nyarn add astro-surf\n```\n\n\n## Usage\n\n```js\nimport AstroSurf from \"astro-surf\";\nimport { handler as astroApp } from \"./dist/server/entry.mjs\";\n\nasync function main() {\n  console.log('Starting app...');\n  process.env.NODE_ENV = 'production';\n  let app = AstroSurf.initialize(astroApp, {\n    client_path: `${process.cwd()}/dist/client`\n  });\n  await app.serve(3000)\n}\nmain();\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitthi%2Fastro-surf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faitthi%2Fastro-surf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faitthi%2Fastro-surf/lists"}