{"id":23900844,"url":"https://github.com/born05/sveltekit-proxy","last_synced_at":"2025-09-13T01:13:33.829Z","repository":{"id":196183160,"uuid":"694668205","full_name":"born05/sveltekit-proxy","owner":"born05","description":"A simple way to proxy paths from SvelteKit to a different server.","archived":false,"fork":false,"pushed_at":"2024-08-14T07:58:54.000Z","size":49,"stargazers_count":9,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-08T14:14:17.017Z","etag":null,"topics":["nodejs","proxy","svelte","sveltekit"],"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/born05.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":"2023-09-21T13:06:13.000Z","updated_at":"2025-01-15T18:41:21.000Z","dependencies_parsed_at":"2024-01-05T11:32:24.301Z","dependency_job_id":"c38dce82-2566-4cdd-80a6-f56273fa55ea","html_url":"https://github.com/born05/sveltekit-proxy","commit_stats":{"total_commits":30,"total_committers":3,"mean_commits":10.0,"dds":"0.19999999999999996","last_synced_commit":"131bf6a79056672913d66b58357a291b4d060610"},"previous_names":["born05/sveltekit-proxy"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/born05/sveltekit-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fsveltekit-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fsveltekit-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fsveltekit-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fsveltekit-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/born05","download_url":"https://codeload.github.com/born05/sveltekit-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/born05%2Fsveltekit-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274904015,"owners_count":25371243,"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-12T02:00:09.324Z","response_time":60,"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":["nodejs","proxy","svelte","sveltekit"],"created_at":"2025-01-04T20:39:47.147Z","updated_at":"2025-09-13T01:13:33.808Z","avatar_url":"https://github.com/born05.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SvelteKit Proxy\n\nA simple way to proxy paths from SvelteKit to a different server.\n\nInstall:\n\n```\nnpm i -D @born05/sveltekit-proxy\n```\n\nExample usage:\n\n```ts\nimport { sequence } from '@sveltejs/kit/hooks';\nimport type { Handle } from '@sveltejs/kit';\nimport { proxyHandle } from '@born05/sveltekit-proxy';\n\nconst svelteHandle: Handle = async ({ event, resolve }) =\u003e {\n  const response = await resolve(event);\n\n  return response;\n};\n\nexport const handle = sequence(\n  proxyHandle({\n    '^/robots.txt': 'http://different-server.example.com',\n    '^/(nl|en)/sitemap.(xml|xsl)': 'http://different-server.example.com',\n    '^/(nl|en)/sitemaps-.*': 'http://different-server.example.com',\n  }),\n  svelteHandle,\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn05%2Fsveltekit-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborn05%2Fsveltekit-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborn05%2Fsveltekit-proxy/lists"}