{"id":19511651,"url":"https://github.com/thecodetherapy/boilerplate-ts","last_synced_at":"2026-02-14T20:35:11.529Z","repository":{"id":253333119,"uuid":"791817677","full_name":"TheCodeTherapy/boilerplate-ts","owner":"TheCodeTherapy","description":"A minimalistic TypeScript boilerplate for sandboxing quick lab experiments","archived":false,"fork":false,"pushed_at":"2025-03-11T16:11:33.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T19:49:01.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/TheCodeTherapy.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,"zenodo":null}},"created_at":"2024-04-25T12:35:21.000Z","updated_at":"2025-03-11T16:11:38.000Z","dependencies_parsed_at":"2024-12-27T15:23:30.012Z","dependency_job_id":"4534a128-ac70-4b71-9f50-ca5d251de5dc","html_url":"https://github.com/TheCodeTherapy/boilerplate-ts","commit_stats":null,"previous_names":["thecodetherapy/boilerplate-ts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheCodeTherapy/boilerplate-ts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTherapy%2Fboilerplate-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTherapy%2Fboilerplate-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTherapy%2Fboilerplate-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTherapy%2Fboilerplate-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheCodeTherapy","download_url":"https://codeload.github.com/TheCodeTherapy/boilerplate-ts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTherapy%2Fboilerplate-ts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29455358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10T23:22:06.629Z","updated_at":"2026-02-14T20:35:11.514Z","avatar_url":"https://github.com/TheCodeTherapy.png","language":"TypeScript","readme":"# boilerplate-ts\n\nThis is a minimal `TypeScript` boilerplate that uses `Vite` as its build system.\n\nThe motivation behind this was to obtain a clean slate to prototype quick lab experiments without the hassle of configuring a new project but with a specific particularity in mind.\n\nAs with any Vite project, files in the `public` directory will be copied to the `dist` directory when building the project. However, the aim of this boilerplate was to produce a build consisting of a single self-contained HTML file with all the project's assets inlined.\n\nThat is achieved by a few custom plugins on the `vite.config.ts` configuration, which inlines graphic assets like SVG files into the built JavaScript code. The same is done with other graphic assets' formats like PNG or JPG, however, converting them into a `base64` data string (which will have, as a side-effect, an average of 33% increase in size as a \"price paid\" to have it inlined into the single HTML file).\n\nThe main goal of this particular build method is not to have the tiniest possible build by brushing out all possible bits (like I'd do for demoscene purposes) but to create a small build capable of being executed locally on any machine (just by double-clicking the file and opening it with your favourite/default browser) despite having built-in graphical assets, without relying on any type of local web server while complying with browsers's security policies to load local assets.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodetherapy%2Fboilerplate-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodetherapy%2Fboilerplate-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodetherapy%2Fboilerplate-ts/lists"}