{"id":25590826,"url":"https://github.com/saulotarsobc/electronjs-with-nextjs","last_synced_at":"2025-09-20T02:07:27.947Z","repository":{"id":190819710,"uuid":"683415364","full_name":"saulotarsobc/electronjs-with-nextjs","owner":"saulotarsobc","description":"ElectronJS application with NextJS and TypeScript.","archived":false,"fork":false,"pushed_at":"2025-07-19T19:55:03.000Z","size":8688,"stargazers_count":41,"open_issues_count":1,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T22:35:00.375Z","etag":null,"topics":["app","electron","electron-app","electronjs","linux","mac","multiplataform","next","nextjs","sequelize","sqlite","sqlite3","tailwindcss","typescript","windows"],"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/saulotarsobc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-26T13:59:14.000Z","updated_at":"2025-07-19T19:55:07.000Z","dependencies_parsed_at":"2023-08-26T15:45:34.975Z","dependency_job_id":"4956c92e-65a1-44d9-9161-cc267a02b88a","html_url":"https://github.com/saulotarsobc/electronjs-with-nextjs","commit_stats":null,"previous_names":["saulotarsobc/electron-next-ts","saulotarsobc/electronjs-with-nextjs"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/saulotarsobc/electronjs-with-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saulotarsobc%2Felectronjs-with-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saulotarsobc%2Felectronjs-with-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saulotarsobc%2Felectronjs-with-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saulotarsobc%2Felectronjs-with-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saulotarsobc","download_url":"https://codeload.github.com/saulotarsobc/electronjs-with-nextjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saulotarsobc%2Felectronjs-with-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276033070,"owners_count":25573474,"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-20T02:00:10.207Z","response_time":63,"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":["app","electron","electron-app","electronjs","linux","mac","multiplataform","next","nextjs","sequelize","sqlite","sqlite3","tailwindcss","typescript","windows"],"created_at":"2025-02-21T09:31:37.051Z","updated_at":"2025-09-20T02:07:27.936Z","avatar_url":"https://github.com/saulotarsobc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SC - Electron and Next\n\n\u003e A template to build an ElectronJS app with NextJS\n\n⚠️ See also [electron-with-vite](https://github.com/saulotarsobc/electron-with-vite)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"demo\" src=\"./demo/demo.png\"\u003e\n\u003c/div\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/github/v/release/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Contributors\" src=\"https://img.shields.io/github/contributors/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Last Commit\" src=\"https://img.shields.io/github/last-commit/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Pull Requests\" src=\"https://img.shields.io/github/issues-pr/saulotarsobc/electronjs-with-nextjs.svg\"\u003e\n  \u003cimg alt=\"Build Status\" src=\"https://img.shields.io/github/actions/workflow/status/saulotarsobc/electronjs-with-nextjs/.github/workflows/launch-app.yaml\"\u003e\n\u003c/div\u003e\n\n---\n\n\u003c!-- Badge Start --\u003e\n\u003cdiv align=\"center\"\u003e\n \u003cimg alt=\"static badge from nodejs\" src=\"https://img.shields.io/badge/NodeJS-v20.19.3-44883e\"\u003e\n \u003cimg alt=\"static badge from electronjs\" src=\"https://img.shields.io/badge/ElectronJS-v37.2.3-46816e\"\u003e\n \u003cimg alt=\"static badge from electron builder\" src=\"https://img.shields.io/badge/Electron%20Builder-v26.0.12-blue\"\u003e\n \u003cimg alt=\"static badge from typescript\" src=\"https://img.shields.io/badge/TypeScript-v5.8.3-blue\"\u003e\n \u003cimg alt=\"static badge from nextjs\" src=\"https://img.shields.io/badge/NextJS-v15.4.2-black\"\u003e\n \u003cimg alt=\"static badge from reactjs\" src=\"https://img.shields.io/badge/ReactJS-v19.1.0-61DAFB\"\u003e\n \u003cimg alt=\"static badge from sequelize\" src=\"https://img.shields.io/badge/Sequelize-v6.37.7-52B0E7\"\u003e\n\u003c/div\u003e\n\u003c!-- Badge End --\u003e\n\n---\n\n## Use\n\n```sh\ngit clone https://github.com/saulotarsobc/electron-next-ts.git;\ncd electron-next-ts;\nnpm install;\nnpm run dev;\n```\n\n## Help\n\n- [Electronjs - documentation](https://www.electronjs.org/pt/docs/latest/)\n- [Any Linux Target](https://www.electron.build/linux)\n\n## Scripts\n\n- `dev`: Run Electron with development build.\n- `build:backend`: Build backend with TypeScript.\n- `prebuild`: Remove build and dist directories.\n- `build`: Build frontend and backend.\n- `build:frontend`: Build frontend with Next.js.\n- `build:backend`: Build backend with TypeScript.\n- `postinstall`: Install dependencies for Electron.\n- `dist`: Build and make a distribution package with Electron Builder.\n\n## electron-builder Configutarion to this project\n\n```json\n...\n \"build\": {\n    \"appId\": \"br.com.electron.next\",\n    \"productName\": \"SC - Electron and Next\",\n    \"files\": [\n      \"dist\"\n    ],\n    \"directories\": {\n      \"output\": \"out\"\n    },\n    \"win\": {\n      \"target\": [\n        \"nsis\"\n      ],\n      \"artifactName\": \"${name}-${version}-windows-${arch}.${ext}\"\n    },\n    \"mac\": {\n      \"target\": \"dmg\",\n      \"signIgnore\": null,\n      \"artifactName\": \"${productName}-Setup-${version}.${ext}\"\n    },\n    \"linux\": {\n      \"target\": [\n        \"AppImage\",\n        \"deb\"\n      ],\n      \"artifactName\": \"${name}-${version}-linux-${arch}.${ext}\"\n    }\n  }\n...\n```\n\n## Git Commands\n\n### Release\n\n```bash\n#! bash\ngit tag \"v$1\"\ngit push origin --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaulotarsobc%2Felectronjs-with-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaulotarsobc%2Felectronjs-with-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaulotarsobc%2Felectronjs-with-nextjs/lists"}