{"id":34857094,"url":"https://github.com/thomsa/electron-ts-react-boilerplate","last_synced_at":"2026-04-06T08:31:55.836Z","repository":{"id":205784074,"uuid":"261283680","full_name":"thomsa/electron-ts-react-boilerplate","owner":"thomsa","description":"Electron TypeScript \u0026 React Boilerplate","archived":false,"fork":false,"pushed_at":"2020-10-06T15:38:18.000Z","size":34,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-27T04:56:52.513Z","etag":null,"topics":["boilerplate","create-react-app","electron","electron-builder","husky","javascript","js","node","nodejs","npm","react","starter","ts","typedi","typescript","webpack","yarn"],"latest_commit_sha":null,"homepage":"","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/thomsa.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}},"created_at":"2020-05-04T20:04:32.000Z","updated_at":"2020-05-07T11:42:27.000Z","dependencies_parsed_at":"2023-11-06T13:41:59.431Z","dependency_job_id":"407bad60-62ef-4b0a-a75a-8e353eba0727","html_url":"https://github.com/thomsa/electron-ts-react-boilerplate","commit_stats":null,"previous_names":["thomsa/electron-ts-react-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/thomsa/electron-ts-react-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomsa%2Felectron-ts-react-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomsa%2Felectron-ts-react-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomsa%2Felectron-ts-react-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomsa%2Felectron-ts-react-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomsa","download_url":"https://codeload.github.com/thomsa/electron-ts-react-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomsa%2Felectron-ts-react-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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","create-react-app","electron","electron-builder","husky","javascript","js","node","nodejs","npm","react","starter","ts","typedi","typescript","webpack","yarn"],"created_at":"2025-12-25T20:07:15.878Z","updated_at":"2026-04-06T08:31:55.831Z","avatar_url":"https://github.com/thomsa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Electron TypeScript \u0026 React Boilerplate\n\nAnother boilerplate for electron and react. This time [Electron](https://www.electronjs.org/) uses [TypeScript](https://www.typescriptlang.org/) with the latest available TS. The client app is created with [create-react-app](https://github.com/facebook/create-react-app) (CRA). \n\n\u003e What is cool about this boilerplate?\n\n**It's lightweight and you need only 2 npm commands work with it!**\n (as for now...)\n\n`npm|yarn start` runs the whole application in development mode, which means you get hot-reload both for the react client AND for the electron application! \nIf you change the client the CRA hot-reload fires, if the electron app, nodemon makes sure that you'll see your changes instantly!\n\n`npm|yarn electron-package-all` creates builds for all available platforms, after creating a production build of both the CRA and the Electron app.\n\nEasy as 1-2-3!\n\nThis boilerplate sets up the basis to develop and package your application quickly, it has no constraints on using certain libraries. If you want to add Redux, Flux, E2E frameworks, etc? Feel free to do so!\n\n\u003e What is included besides Electron, React and TS?\n\n - [Prettier](https://prettier.io/) with [Husky](https://github.com/typicode/husky)! All your code is instantly formatted on every commit!\n - [Dotenv](https://github.com/motdotla/dotenv) for production settings! Use the `electron/config.ts` file to wrap your configuration!\n - [Electron Builder](https://www.electron.build/)  to quickly build distributable packages!\n - [typedi](https://github.com/typestack/typedi)! Yes... Cause everyone needs some dependency injection sometimes.\n - [Webpack](https://webpack.js.org/)! Well, obviously. Webpack builds both Electron and CRA. \n\n\nWhat will you need to run the solution?\n\n - Node v13.x\n\n\u003e What else is coming?\n\n - Electron Autoupdate!\n - Wrapper for Window and Modal handling!\n - react-router!\n - Boilerplate for communicating between Electron and React!\n - Testing Framework for Electron.\n - Something else will come to my mind later for sure...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomsa%2Felectron-ts-react-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomsa%2Felectron-ts-react-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomsa%2Felectron-ts-react-boilerplate/lists"}