{"id":16274980,"url":"https://github.com/sv443/react-three-electron-template","last_synced_at":"2025-03-20T01:30:37.327Z","repository":{"id":97407887,"uuid":"596542281","full_name":"Sv443/React-Three-Electron-Template","owner":"Sv443","description":"Template for a React, MUI, Three.js, Electron, TypeScript and Vite project","archived":false,"fork":false,"pushed_at":"2024-05-05T00:30:48.000Z","size":216,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-05T12:24:57.921Z","etag":null,"topics":["electron","mui","react","template-project","threejs","typescript","vite"],"latest_commit_sha":null,"homepage":"","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/Sv443.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}},"created_at":"2023-02-02T12:17:08.000Z","updated_at":"2024-05-05T00:30:52.000Z","dependencies_parsed_at":"2023-03-04T05:45:35.502Z","dependency_job_id":null,"html_url":"https://github.com/Sv443/React-Three-Electron-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sv443%2FReact-Three-Electron-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sv443%2FReact-Three-Electron-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sv443%2FReact-Three-Electron-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sv443%2FReact-Three-Electron-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sv443","download_url":"https://codeload.github.com/Sv443/React-Three-Electron-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865990,"owners_count":16555917,"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","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":["electron","mui","react","template-project","threejs","typescript","vite"],"created_at":"2024-10-10T18:31:17.519Z","updated_at":"2024-10-10T18:31:57.699Z","avatar_url":"https://github.com/Sv443.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React, MUI, Three.js, Electron, TypeScript \u0026 Vite Template\n\n\u003cbr\u003e\n\n## Setup:\n1. [Click here to create a repository based on this template](https://github.com/Sv443/React-Three-Electron-Template/generate)\n2. Clone your repository with git\n3. Run the command `npm i` to install dependencies\n\n\u003cbr\u003e\n\n## Commands:\n| Command | Description |\n| --- | --- |\n| `npm run dev` | Starts the vite dev server and the electron app |\n| `npm run lint` | Lint the code with ESLint |\n| `npm run build` | Compiles the TS code and builds the electron executable |\n| `npm run build-win` | Build for Windows only |\n| `npm run build-mac` | Build for MacOS only |\n| `npm run build-linux` | Build for Linux only |\n\n\u003cbr\u003e\n\n## Files \u0026 Folders:\n| Path | Description |\n| --- | --- |\n| `src/App.tsx` | Main component of the app |\n| `src/objects/` | Folder that contains all Three.js \"object components\" (meshes etc.) |\n| `src/components/` | Folder for all other misc. React components |\n| `src/theme.ts` | Theme configuration |\n| `src/global.css` | CSS that is applied globally |\n| `electron/` | Electron-specific code like creating windows and handling IPC |\n\n\u003cbr\u003e\n\n## Additional info \u0026 guides \u0026 interesting packages\n\n### Main stuff\n- https://mui.com/material-ui/getting-started/overview/\n- https://github.com/pmndrs/react-three-fiber\n- https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene\n\n### Helpful stuff\n- https://discoverthreejs.com/tips-and-tricks/\n\n### Other cool stuff\n- https://github.com/pmndrs/gltfjsx\n- https://github.com/pmndrs/drei\n- https://github.com/pmndrs/react-three-flex\n- https://github.com/pmndrs/use-cannon\n- https://github.com/pmndrs/react-spring\n- https://github.com/pmndrs/leva\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv443%2Freact-three-electron-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv443%2Freact-three-electron-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv443%2Freact-three-electron-template/lists"}