{"id":24565119,"url":"https://github.com/himujjal/sapper-ts","last_synced_at":"2025-08-15T14:21:41.940Z","repository":{"id":108908091,"uuid":"291482431","full_name":"Himujjal/sapper-ts","owner":"Himujjal","description":"An almost Vanilla TypeScript boilerplate for Sapper!","archived":false,"fork":false,"pushed_at":"2020-09-04T15:39:20.000Z","size":251,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T12:37:28.735Z","etag":null,"topics":["sapper","tinyhttp","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Himujjal.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":"2020-08-30T14:07:16.000Z","updated_at":"2020-09-07T19:21:14.000Z","dependencies_parsed_at":"2023-03-13T14:20:15.760Z","dependency_job_id":null,"html_url":"https://github.com/Himujjal/sapper-ts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Himujjal/sapper-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himujjal%2Fsapper-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himujjal%2Fsapper-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himujjal%2Fsapper-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himujjal%2Fsapper-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Himujjal","download_url":"https://codeload.github.com/Himujjal/sapper-ts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himujjal%2Fsapper-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270580216,"owners_count":24610176,"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-08-15T02:00:12.559Z","response_time":110,"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":["sapper","tinyhttp","typescript"],"created_at":"2025-01-23T11:34:28.004Z","updated_at":"2025-08-15T14:21:41.873Z","avatar_url":"https://github.com/Himujjal.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003eSapper.TS!\u003c/h1\u003e\n\n\u003cimg src=\"./static/cover.jpg\"/\u003e\n\n## ❓ What is this?\n\nThis is an extension to the [official Sapper Rollup template](https://github.com/sveltejs/sapper-template-rollup) with TypeScript. This boilerplate aims to be very basic without too many plugins! This boilerplate is a modified version of [Sapper-TS-GraphQL by Jacob Babich](https://github.com/babichjacob/sapper-typescript-graphql-template)\n\nIf you're looking for something with much, much more bundled in, check out [Sapper-TS-GraphQL-Tailwind-Actions by Jacob Babich](https://github.com/babichjacob/sapper-firebase-typescript-graphql-tailwindcss-actions-template).\n\n### ‍🔧 Install\n\n\u003e TIP: Use [PNPM](pnpm.js.org) instead of `npm` for faster installations. Install pnpm using `npm i -g pnpm`.\n\n```sh\ngit clone https://github.com/Himujjal/sapper-ts my-app\ncd my-app\nnpm i\n```\n\nFor Pro Users: 🙃😎😉\n\n```sh\npnpx degit Himujjal/sapper-ts my-app\ncd my-app\npnpm i\n```\n\n## 🛠 Usage\n\n### 🧪 Development\n\n```sh\nnpm run dev   # or `pnpm dev`\n```\n\n### 🔨 Building for Production\n\nIf you do not need to include heavy Babel transforms and polyfills to support old browsers on your site, then remove the `--legacy` flag in the `sapper:build` package script to lighten it up.\n\n```sh\nnpm run prod  # or `pnpm prod`\n```\n\n### 📦 Exporting a Static Site\n\nYour GraphQL server will not be exported with the rest of the site.\n\nIf you do not need to include heavy Babel transforms and polyfills to support old browsers on your site, then remove the `--legacy` flag in the `export` package script to lighten it up.\n\n```sh\nnpm run export    # or `pnpm export`\n```\n\n## ⚙ Configuration\n\n### ⚡ Web app\n\nMany of the fields in `static/manifest.json` (`short_name`, `name`, `description`, `categories`, `theme_color`, and `background_color`) are filled with demonstrative values that won't match your site. Similarly, you've got to take new screenshots to replace the included `static/screenshot-1.png` and `static/screenshot-2.png` files. If you want, you can add [app shortcut definitions for \"add to home screen\" on Android](https://web.dev/app-shortcuts/#define-app-shortcuts-in-the-web-app-manifest). Once you change `theme_color`, update the `meta name=\"theme-color\"` tag in `src/template.html` to match.\n\nThe [Apple touch icon](https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html), favicon, and `logo-` files (also all in the `static` directory) are created by placing the logo within a \"safe area\" centered circle that takes up 80% of the canvas's dimension. For instance, the constraining circle in `logo-512.png` is 512 × 0.80 = 409.6 ≈ 410 pixels wide and tall.\n\n### 🗺 Source maps\n\nThis project base comes with [source maps](https://blog.teamtreehouse.com/introduction-source-maps) enabled during development and disabled during production for the best compromise between performance and developer experience. You can change this behavior through the `sourcemap` variable in `rollup.config.js`.\n\n## Help \u0026 Support!\n\n[Create an issue](https://github.com/Himujjal/sapper-ts/issues/new).\n\n## Fix! There is something that needs improvement\n\n[Create an issue](https://github.com/Himujjal/sapper-ts/issues/new) or [pull request](https://github.com/Himujjal/sapper-ts/pulls) and I'll try to fix.\n\n## ROADMAP:\n\n- [ ] Compression library for tinyhttp\n- [ ] Helmet support (Security headers)\n\n## Related Projects:\n\n1. [Official Sapper Template (JS Only)](https://github.com/sveltejs/sapper-template-rollup)\n2. [Sapper-TS-GraphQL by Jacob Babich](https://github.com/babichjacob/sapper-typescript-graphql-template)\n3. [tinyhttp](https://github.com/talentlessguy/tinyhttp)\n\n## 📄 License\n\n[MIT](LICENSE)\n\n---\n\nThis Repo 100% is completely inspired by Jacob Babich's boilerplate!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimujjal%2Fsapper-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimujjal%2Fsapper-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimujjal%2Fsapper-ts/lists"}