{"id":28385771,"url":"https://github.com/beyonk-group/now-sapper-demo","last_synced_at":"2025-06-26T12:31:29.562Z","repository":{"id":40929073,"uuid":"211526530","full_name":"beyonk-group/now-sapper-demo","owner":"beyonk-group","description":"Now v2 (Serverless) Sapper Application","archived":false,"fork":false,"pushed_at":"2023-01-04T11:37:45.000Z","size":249,"stargazers_count":23,"open_issues_count":10,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T13:46:40.472Z","etag":null,"topics":["demo","now","now-sh","sapper","sapperjs","serverless","svelte","sveltejs","v2"],"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/beyonk-group.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}},"created_at":"2019-09-28T16:06:49.000Z","updated_at":"2023-12-21T14:33:05.000Z","dependencies_parsed_at":"2023-02-02T10:46:22.943Z","dependency_job_id":null,"html_url":"https://github.com/beyonk-group/now-sapper-demo","commit_stats":null,"previous_names":["beyonk-group/now-sapper-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beyonk-group/now-sapper-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fnow-sapper-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fnow-sapper-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fnow-sapper-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fnow-sapper-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyonk-group","download_url":"https://codeload.github.com/beyonk-group/now-sapper-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyonk-group%2Fnow-sapper-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262067881,"owners_count":23253689,"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":["demo","now","now-sh","sapper","sapperjs","serverless","svelte","sveltejs","v2"],"created_at":"2025-05-30T11:43:57.257Z","updated_at":"2025-06-26T12:31:29.552Z","avatar_url":"https://github.com/beyonk-group.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://beyonk.com\"\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/218949/144224348-1b3a20d5-d68e-4a7a-b6ac-6946f19f4a86.png\" width=\"198\" /\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n\u003c/a\u003e\n\n# Serverless Sapper for Now v2 - demo\n\nby [@antony](https://github.com/antony)\n\nThis is a demonstration of a Dynamic (i.e. not Static / Exported) [Sapper Template](https://github.com/sveltejs/sapper-template) to Now v2, using the [Now Sapper](https://github.com/thgh/now-sapper) builder.\n\nStatic assets from your application are served from the now CDN.\n\n## Usage\n\nCheck out this project from git:\n\n```bash\nnpx degit beyonk-adventures/now-sapper-demo now-sapper-demo\ncd now-sapper-demo\nnpm i\n```\n\nand deploy it to now:\n\n```bash\nnpx now\n```\n\n## Testing changes\n\nYou can deploy using a git repository as the builder. Have a look at `now.test.json`.\n\n```bash\nnpm run deploy:test\n```\n\n## Local Usage (Now Dev)\n\nAt the current time, Zeit's `now dev` emulator lags significantly behind the real service, and as such, the `now-sapper` module will not work locally. You will encounter the following error:\n\n```bash\n\u003e Now CLI 16.2.0 dev (beta) — https://zeit.co/feedback/dev\n\u003e Creating initial build\n\u003e Error! Unknown file type: undefined\n```\n\n## Caveats\n\nThough serverless, your Sapper application will still run all routes from a single endpoint `/*`. It does not (yet) support route splitting / differential bundling. I have tried this with a hefty Sapper application, and have not found this to be an issue, though it would be optimal to add this feature.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyonk-group%2Fnow-sapper-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyonk-group%2Fnow-sapper-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyonk-group%2Fnow-sapper-demo/lists"}