{"id":19450953,"url":"https://github.com/rixo/sapper-template-rollup-svench","last_synced_at":"2026-05-29T16:31:03.013Z","repository":{"id":147724009,"uuid":"307327849","full_name":"rixo/sapper-template-rollup-svench","owner":"rixo","description":"Example of adding Svench to Sapper -- very WIP","archived":false,"fork":false,"pushed_at":"2020-10-26T10:12:51.000Z","size":581,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T09:28:59.471Z","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/rixo.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":"2020-10-26T09:55:24.000Z","updated_at":"2020-11-06T02:48:59.000Z","dependencies_parsed_at":"2023-04-03T14:48:01.815Z","dependency_job_id":null,"html_url":"https://github.com/rixo/sapper-template-rollup-svench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rixo/sapper-template-rollup-svench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsapper-template-rollup-svench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsapper-template-rollup-svench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsapper-template-rollup-svench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsapper-template-rollup-svench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rixo","download_url":"https://codeload.github.com/rixo/sapper-template-rollup-svench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixo%2Fsapper-template-rollup-svench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33662205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":[],"created_at":"2024-11-10T16:39:41.759Z","updated_at":"2026-05-29T16:31:02.993Z","avatar_url":"https://github.com/rixo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sapper with Svench template\n\n**WIP WIP WIP**\n\n## Install\n\n```bash\nnpx degit \"rixo/sapper-template-rollup-svench\" my-app\ncd my-app\nyarn # or npm install\n```\n\nActually, you'll probably want to add Svench to an existing Sapper project. Refer to [this commit](https://github.com/rixo/sapper-template-rollup-svench/commit/7b17e472627218c2b66dc5eb98404e810ad16cf4) to see the changes I had to make to add Svench to a raw Sapper template.\n\n## Usage\n\nLaunch Svench:\n\n```bash\nyarn svench\n```\n\nLaunch Svench with Rollup (instead of Nollup by default):\n\n```bash\nyarn svench:rollup\n```\n\nIn both cases, open your browser on http://localhost:4242.\n\nNote: Nollup is also listening on http://localhost:8080 but this is **not** something you can use directly -- Svench's own server will proxy to this one as needed.\n\n## Notes\n\n### `.svench` files in `routes` dir\n\nThis is a question of taste, but I would personally be inclined to add `.svench` files for my pages, and colocate them in the `routes` directory. Unfortunately, if you do that, Sapper will see those `.svench` files as server routes, and it will crash everything. For now, the workaround is to prefix `.svench` files with an underscore so that Sapper ignore them. I'm looking to see if there's a clean way to have Sapper ignore `.svench` files entirely.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixo%2Fsapper-template-rollup-svench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frixo%2Fsapper-template-rollup-svench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixo%2Fsapper-template-rollup-svench/lists"}