{"id":28392687,"url":"https://github.com/gorillabyte/electron-typescript-starter-kit","last_synced_at":"2026-03-14T18:02:41.336Z","repository":{"id":39495951,"uuid":"122482862","full_name":"gorillabyte/electron-typescript-starter-kit","owner":"gorillabyte","description":"A starter kit for Electron, TypeScript and Webpack","archived":false,"fork":false,"pushed_at":"2023-10-27T12:12:34.000Z","size":1135,"stargazers_count":3,"open_issues_count":8,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T07:41:21.189Z","etag":null,"topics":["boilerplate","electron","electronjs","starter-kit","starterkit","tslint","typescript","webpack"],"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/gorillabyte.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,"zenodo":null}},"created_at":"2018-02-22T13:34:37.000Z","updated_at":"2023-10-31T06:56:23.000Z","dependencies_parsed_at":"2025-06-26T07:41:51.719Z","dependency_job_id":null,"html_url":"https://github.com/gorillabyte/electron-typescript-starter-kit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gorillabyte/electron-typescript-starter-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorillabyte%2Felectron-typescript-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorillabyte%2Felectron-typescript-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorillabyte%2Felectron-typescript-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorillabyte%2Felectron-typescript-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gorillabyte","download_url":"https://codeload.github.com/gorillabyte/electron-typescript-starter-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gorillabyte%2Felectron-typescript-starter-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062966,"owners_count":25398888,"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-14T02:00:10.474Z","response_time":75,"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":["boilerplate","electron","electronjs","starter-kit","starterkit","tslint","typescript","webpack"],"created_at":"2025-05-31T14:46:48.059Z","updated_at":"2026-03-14T18:02:36.300Z","avatar_url":"https://github.com/gorillabyte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron Typescript Starter Kit\n\nThis starter kit should save you the setup work to wire up [Webpack](https://webpack.js.org/), TypeScript and [Electron](https://electronjs.org/).\nBy the end, you'll have:\n\n* A project base Electron and TypeScript\n* with a build system with [Webpack](https://webpack.js.org/)\n* SCSS integration [SCSS](https://sass-lang.com//)\n\n\n# Setup a new project\n\nWe assume that you're already using [Node.js](https://nodejs.org/) with [npm](https://www.npmjs.com/).\nWe'll create a new project called `my-app`:\n\n```shell\ngit clone https://github.com/gorillabyte/electron-typescript-starter-kit my-app\ncd my-app\nnpm install\n```\n\nYou can also use [yarn](https://yarnpkg.com/lang/en/):\n\n```shell\ngit clone https://github.com/gorillabyte/electron-typescript-starter-kit my-app\ncd my-app\nyarn\n```\n\nAt this point, your project layout should look like the following:\n\n```text\nmy-app/\n├─ .gitignore\n├─ .npmrc\n├─ .prettierrc\n├─ node_modules/\n├─ src/\n│  └─ ...\n├─ templates/\n│  └─ ...\n├─ package.json\n├─ tsconfig.json\n├─ tslint.json\n└─ webpack.config.js\n```\n\nOf note:\n\n* `tsconfig.json` contains TypeScript-specific options for the project.\n* `package.json` contains our dependencies, as well as some shortcuts for commands we'd like to run during development and deploying our app.\n* `src` contains our TypeScript and CSS code. `main.ts` is the entry-point for the Electron app and `renderer.ts` is the application running in the Electron window, they are mandatory.\n* `templates` contains our SCSS code and the HTML template for the app. The `index.html` will be copied during the build step to the build folder.\n* `webpack.config.js` contains the Webpack configuration.\n\n# Running the project in development\n\nRunning the project is as simple as running\n\n```sh\nnpm run dev\n```\n\nThis runs the `dev` script specified in our `package.json`, and will spawn off a server which reloads and serves the page in the Electron app as we save our files.\nNormally the server runs at `http://localhost:9000`.\n\nThis tightens the iteration loop by allowing us to quickly preview changes during development.\n\n# Running the project in an electron window\n\nTo run your project within the electron environment simply run\n\n```sh\nnpm run start\n```\n\n# License\nThis project is licensed under the MIT license, Copyright (c) 2020 Gorillabyte. For more information see LICENSE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorillabyte%2Felectron-typescript-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgorillabyte%2Felectron-typescript-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgorillabyte%2Felectron-typescript-starter-kit/lists"}